| | |
| | | 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 |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import getResourcePath from "@/assets/methods/resources"; |
| | | import Swiper from "swiper/bundle"; |
| | | import "swiper/swiper-bundle.css"; |
| | | import {getResourcePath} from "@/assets/methods/resources"; |
| | | export default { |
| | | name: "chapter-one", |
| | | props: { |
| | |
| | | <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> |
| | |
| | | |
| | | <script> |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | import getResourcePath from "@/assets/methods/resources"; |
| | | import {getResourcePath} from "@/assets/methods/resources"; |
| | | export default { |
| | | components: { examinations }, |
| | | props:{ |
| | |
| | | </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 }, |
| | |
| | | |
| | | <script> |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | import getResourcePath from "@/assets/methods/resources"; |
| | | import {getResourcePath} from "@/assets/methods/resources"; |
| | | export default { |
| | | name: "chapterTwo", |
| | | components: { examinations }, |
| | |
| | | |
| | | <script> |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | import getResourcePath from "@/assets/methods/resources"; |
| | | import {getResourcePath} from "@/assets/methods/resources"; |
| | | export default { |
| | | name: "chapterThree", |
| | | components: { examinations }, |
| | |
| | | |
| | | <script> |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | import getResourcePath from "@/assets/methods/resources"; |
| | | import {getResourcePath} from "@/assets/methods/resources"; |
| | | export default { |
| | | name: "chapterFive", |
| | | components: { examinations }, |
| | |
| | | |
| | | <script> |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | import getResourcePath from "@/assets/methods/resources"; |
| | | import {getResourcePath} from "@/assets/methods/resources"; |
| | | export default { |
| | | components: { examinations }, |
| | | name: "chapterSix", |
| | |
| | | |
| | | <script> |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | import getResourcePath from "@/assets/methods/resources"; |
| | | import {getResourcePath} from "@/assets/methods/resources"; |
| | | export default { |
| | | name: "chapterSeven", |
| | | components: { examinations }, |
| | |
| | | |
| | | <script> |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | import getResourcePath from "@/assets/methods/resources"; |
| | | import {getResourcePath} from "@/assets/methods/resources"; |
| | | export default { |
| | | name: "chapterEight", |
| | | components: { examinations }, |
| | |
| | | |
| | | <script> |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | import getResourcePath from "@/assets/methods/resources"; |
| | | import {getResourcePath} from "@/assets/methods/resources"; |
| | | export default { |
| | | name: "chapterNine", |
| | | components: { examinations }, |
| | |
| | | |
| | | <script> |
| | | import examinations from "@/components/examinations/index.vue"; |
| | | import getResourcePath from "@/assets/methods/resources"; |
| | | import {getResourcePath} from "@/assets/methods/resources"; |
| | | export default { |
| | | name: "chapterTen", |
| | | components: { examinations }, |