| | |
| | | process.env.VUE_APP_RESOURCE_CTX + |
| | | (process.env.VUE_APP_ENV == "product" |
| | | ? process.env.VUE_APP_BOOK_ID |
| | | : "english") |
| | | : "mathBook") |
| | | ); |
| | | // 测试试读30页 |
| | | // this.activeBook.tryPageCount = 10; |
| | |
| | | <div class="fl fl-around openImgBox"> |
| | | <div class="left" style="width: 40%"> |
| | | <p class="center"> |
| | | <img src="../../../assets/images/chapterEight/0238-3.jpg" class="w100"> |
| | | <img src="../../../assets/images/chapterEight/0238-3.jpg" style="height: 178px;"> |
| | | </p> |
| | | <p class="img">图8-6 单手胸外按压</p> |
| | | </div> |
| | | <div class="right" style="width: 40%"> |
| | | <div class="banshi openImgBox" style="height:214px"> |
| | | <div class="banshi openImgBox" style="height:188px"> |
| | | <div class="swiper-container swiper-img"> |
| | | <div class="swiper-wrapper"> |
| | | <div class="swiper-slide"> |
| | |
| | | |
| | | // 测试页面跳转 |
| | | // setTimeout(() => { |
| | | // this.gotoPage(8,175); |
| | | // this.gotoPage(8,233); |
| | | // setTimeout(() => { |
| | | // this.renderSign("Highlight", { |
| | | // id: "2ACA9359", |
| | |
| | | if (!res.data.data) return []; |
| | | for (let index = 0; index < res.data.data.length; index++) { |
| | | const item = res.data.data[index]; |
| | | // 数学公式加类名去修改样式 |
| | | if(item.type && item.type == 'material') { |
| | | if(!item.infoList.length) return false |
| | | item.infoList.forEach(citem => { |
| | | if(citem.answer) citem.answer.replace(/\<math/gi, '<math class="examination-math"') |
| | | }) |
| | | } else { |
| | | if(item.answer) item.answer.replace(/\<math/gi, '<math class="examination-math"') |
| | | } |
| | | console.log('题目',item); |
| | | item.isCollect = this.collectId.indexOf(item.id) > -1 ? true :false |
| | | console.log(item.id ,this.collectId.indexOf(item.id)); |
| | | if (this.questionId[num][page].indexOf(item.id) > -1) { |
| | | if (item.type && item.type == "material") { |
| | | cardList.push(item); |
| | |
| | | </template> |
| | | <div class="referBox"> |
| | | <span>参考答案:</span> |
| | | <p |
| | | v-html="arrayToString(value.answer)" |
| | | <span |
| | | v-html="value.answer" |
| | | class="ti-2" |
| | | :class="[ |
| | | 'subjectiveBox', |
| | | value.isUnfold ? 'showText' : 'hideText', |
| | | ]" |
| | | ></p> |
| | | ></span> |
| | | </div> |
| | | <!-- 解析 --> |
| | | <div class="referBox" v-if="value.analysisCon"> |
| | |
| | | .referBox { |
| | | display: flex; |
| | | margin-bottom: 10px; |
| | | /deep/ math { |
| | | display: flex; |
| | | } |
| | | span { |
| | | width: 80px; |
| | | color: #999; |