| | |
| | | // embedded |
| | | // english |
| | | // artAndDance |
| | | this.config.resourceCtx + "sportsAndHealth" |
| | | this.config.resourceCtx + "childHealth" |
| | | ); |
| | | // 测试试读30页 |
| | | // this.activeBook.tryPageCount = 10; |
| | |
| | | questionDataMap: {}, |
| | | renderSignMap: {}, |
| | | highlightData: null, |
| | | isSearch:false |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | }, |
| | | // 保存按钮 |
| | | saveAnswer() { |
| | | const element = document.getElementsByClassName("examination")[0]; |
| | | const element = (this.container ? this.container : document |
| | | ).querySelector(".examination"); |
| | | if (element) { |
| | | const pageNum = this.getParentWithClass( |
| | | element, |
| | | "page-box" |
| | | ).getAttribute("page"); |
| | | console.log(this.config.activeBook.name, pageNum); |
| | | const oldAnswerData = localStorage.getItem( |
| | | this.config.activeBook.name + "oldAnswerData" |
| | | ); |