| | |
| | | this.gotoPage(2, 18); |
| | | }, 500); |
| | | |
| | | // const pageDom = (this.container ? this.container : document) |
| | | // .querySelector("#app") |
| | | // .querySelectorAll(".page-box"); |
| | | // 检索 |
| | | // console.log(this.searchTextByPage("保护内脏器官"), "searchTextByPage"); |
| | | // 检索跳转 |
| | | // this.searchItemLocation({ |
| | | // catalog: 2, |
| | | // page: 10, |
| | | // txt: " 运动系统是由骨、骨连结和骨骼肌三部分组成的。全身的骨通过骨连结组成人体骨骼(见图1-1)。骨骼是人体的支架,具有保护内脏器官、供肌肉附着和作为肌肉运动的杠杆等作用。在神经系统的支配下,肌肉收缩牵动所附着的骨绕着关节转动,使身体产生各种动作。所以,运动系统具有运动、支持和保护等功能,幼年时期的骨骼还具有造血功能。 ", |
| | | // txtIndex: 57 |
| | | // }); |
| | | // }, 500); |
| | | |
| | | }, |
| | | methods: { |
| | | // 请求资源Json |
| | |
| | | } |
| | | MG.store.getProductDetail(query) |
| | | .then(res => { |
| | | console.log(res.datas.cmsDatas[0].datas, "获取bookQuestionList成功"); |
| | | let bookQuestionList = []; |
| | | if (res.datas.cmsDatas[0].datas.length > 0) { |
| | | res.datas.cmsDatas[0].datas.forEach(item => { |
| | | if (item.datas.Type === "questionBankItem") { |
| | | bookQuestionList.push(item); |
| | | } |
| | | if (item.id == 21987) { |
| | | console.log(item, "21987"); |
| | | } |
| | | }); |
| | | } |
| | | console.log(bookQuestionList, "bookQuestionList"); |
| | | this.bookQuestionsList = bookQuestionList; |
| | | }) |
| | | .catch(error => { |
| | |
| | | |
| | | resourceListFun(id, key) { |
| | | let data = this.resourceList.find(item => item.key == id) |
| | | return key ? data[key] : data |
| | | console.log(data,"data"); |
| | | }, |
| | | |
| | | |
| | | // 滚动监听 |
| | | scrollFun(event) { |
| | | this.handleVideoPicture(); |