| | |
| | | // embedded |
| | | // english |
| | | // artAndDance |
| | | this.config.resourceCtx + "artAndDance" |
| | | this.config.resourceCtx + "childHealth" |
| | | ); |
| | | // 测试试读30页 |
| | | // this.activeBook.tryPageCount = 10; |
| | |
| | | const getResourcePath = (md5) => { |
| | | import fileApi from '@/assets/js/middleGround/api/file' |
| | | export const getResourcePath = (md5,appRefCode = "jingshieke") => { |
| | | fileApi.getAliVod({ |
| | | md5,appRefCode |
| | | }).then(res => { |
| | | console.log('path',res); |
| | | if(res.data) { |
| | | return res.data |
| | | } else { |
| | | return process.env.VUE_APP_API_URL + '/file/api/ApiDownload?md5=' + md5 |
| | | } |
| | | }) |
| | | |
| | | export default getResourcePath |
| | | } |
| | | const MT = { |
| | | getResourcePath |
| | | } |
| | | |
| | | export default MT |
| | |
| | | <div class="page-box" page="8" style="min-height: auto;"> |
| | | <div v-if="showPageList.indexOf(8) > -1"> |
| | | <img class="img-0" alt="" src="../../assets/images/dy2.jpg" /> |
| | | <img src="../../assets/images/03-2.gif" alt="" style="width: 55%;" class="cover-gif"> |
| | | </div> |
| | | </div> |
| | | <div class="page-box" page="9"> |
| | |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | .cover-gif { |
| | | position: absolute; |
| | | top: 33%; |
| | | left: 23%; |
| | | |
| | | } |
| | | </style> |
| | |
| | | </template> |
| | | <script> |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | import getResourcePath from "@/assets/methods/resources"; |
| | | import {getResourcePath} from "@/assets/methods/resources"; |
| | | export default { |
| | | name: "chapter-one", |
| | | components: { examinations }, |