From af32b4dea68d727f4f7fe3d594282931e973f430 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 15 五月 2024 16:48:42 +0800 Subject: [PATCH] 视频资源 --- src/books/childHealth/view/content/components/chapter009.vue | 43 ++++++++++++++++++++++++++++++------------- 1 files changed, 30 insertions(+), 13 deletions(-) diff --git a/src/books/childHealth/view/content/components/chapter009.vue b/src/books/childHealth/view/content/components/chapter009.vue index e605064..d90cefd 100644 --- a/src/books/childHealth/view/content/components/chapter009.vue +++ b/src/books/childHealth/view/content/components/chapter009.vue @@ -219,7 +219,7 @@ </div> <div class="right" style="width: 60%"> <video - src="http://182.92.203.7:3007/books/resource/1/video/chapterNine/涓撻涔濓細鍔ㄥ姏瀹氬瀷鍙婂叾褰㈡垚.mp4" + :src="pathOne" poster="../../../assets/images/chapterTwo/people-video-img.png" webkit-playsinline="true" x-webkit-airplay="true" @@ -486,7 +486,7 @@ </div> <div class="right" style="width: 65%"> <video - src="http://182.92.203.7:3007/books/resource/1/video/chapterNine/涓撻涔濓細涓冩娲楁墜娉�.mp4" + :src="pathTwo" poster="../../../assets/images/chapterTwo/people-video-img.png" webkit-playsinline="true" x-webkit-airplay="true" @@ -533,7 +533,7 @@ <p class="blockh6-c center"> <!-- <img class="img-g" alt="" src="image/0256-2.jpg" /><br /> --> <!-- <span class="img">涓撻涔� 瀛︿範涓婚涓�</span> --> - <examinations :cardList="questionData[9][243]" /> + <examinations :cardList="questionData[243]" /> </p> </div> </div> @@ -778,7 +778,7 @@ </div> <div class="right" style="width: 60%"> <video - src="http://182.92.203.7:3007/books/resource/1/video/chapterNine/涓撻涔濓細鏅ㄩ棿妫�鏌�.mp4" + :src="pathThree" poster="../../../assets/images/chapterOne/people-video-img.jpg" webkit-playsinline="true" x-webkit-airplay="true" @@ -830,7 +830,7 @@ </div> <div class="right" style="width: 60%"> <video - src="http://182.92.203.7:3007/books/resource/1/video/chapterNine/涓撻涔濓細棰勯槻鎺ョ.mp4" + :src="pathFour" poster="../../../assets/images/chapterOne/people-video-img.jpg" webkit-playsinline="true" x-webkit-airplay="true" @@ -1016,7 +1016,7 @@ </div> <div class="right" style="width: 60%"> <video - src="http://182.92.203.7:3007/books/resource/1/video/chapterNine/涓撻涔濓細浼犳煋鐥呭熀纭�鐭ヨ瘑鈥斺�旈殧绂�.mp4" + :src="pathFive" poster="../../../assets/images/chapterTwo/people-video-img.png" webkit-playsinline="true" x-webkit-airplay="true" @@ -1065,7 +1065,7 @@ </div> <div class="right" style="width: 60%"> <video - src="http://182.92.203.7:3007/books/resource/1/video/chapterNine/涓撻涔濓細浼犳煋鐥呭熀纭�鐭ヨ瘑鈥斺�旀秷姣�.mp4" + :src="pathSix" poster="../../../assets/images/chapterTwo/people-video-img.png" webkit-playsinline="true" x-webkit-airplay="true" @@ -1185,7 +1185,7 @@ </div> <div class="right" style="width: 60%"> <video - src="http://182.92.203.7:3007/books/resource/1/video/chapterNine/涓撻涔濓細鐜鍗敓鍒跺害涓庡崼鐢熶繚鍋ョ櫥璁般�佺粺璁″埗搴�.mp4" + :src="pathSeven" poster="../../../assets/images/chapterTwo/people-video-img.png" webkit-playsinline="true" x-webkit-airplay="true" @@ -1265,7 +1265,7 @@ <p class="blockh6-c"> <!-- <img class="img-g" alt="" src="image/0267-1.jpg" /><br /> --> <!-- <span class="img">涓撻涔� 瀛︿範涓婚浜�</span> --> - <examinations :cardList="questionData[9][255]" /> + <examinations :cardList="questionData[255]" /> </p> <h6 class="Conclusion-title4">涓撻灏忕粨</h6> <p class="blockh6"> @@ -1389,9 +1389,9 @@ <p class="blockh6-c"> 瀛︿範瀹屾湰涓撻锛屼綘鐨勫涔犳晥鏋滃浣曞憿锛熷挶浠竴璧锋潵鎵爜娴嬩竴娴嬪惂锛�<br /> <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級1</span><br /> - <examinations :cardList="questionData[9][2561]" /> + <examinations :cardList="questionData[2561]" /> <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級2</span> - <examinations :cardList="questionData[9][2562]" /> + <examinations :cardList="questionData[2562]" /> </p> <h6 class="Conclusion-title4">鈥㈠涔犲弽鎬濃��</h6> <p class="blockh6 m0-t0 fl fl-di fl-cn"> @@ -1420,6 +1420,9 @@ import evenHeader from "../../components/pageHeader/evenHeader.vue"; import oddHeader from "../../components/pageHeader/oddHeader.vue"; import examinations from "@/components/examinations/index.vue"; +import getQuestionData from '@/assets/methods/examination' +import testData from '../../../assets/examinationList' +import getResourcePath from '@/assets/methods/resources' export default { name: "chapterNine", components: { evenHeader, oddHeader,examinations }, @@ -1435,11 +1438,25 @@ learnTableThree: true, learnTableFour: true, learnTableFive: true, - questionData:{} + questionData:{}, + pathOne: "", + pathTwo: "", + pathThree: "", + pathFour: "", + pathFive:"", + pathSix: "", + pathSeven: "", }; }, mounted() { - this.$data.questionData = this.$store.state.questionData + this.$data.questionData = getQuestionData(testData[9]) + this.$data.pathOne = getResourcePath("730ab5395d1b5b5c87d7422cc6540f35"); + this.$data.pathTwo = getResourcePath("e3c6884dc80cf947e3a38c5595d474ad"); + this.$data.pathThree = getResourcePath("bdaec679118721e0623d62ac3031288e"); + this.$data.pathFour = getResourcePath("c61f14623b01adaa326d18f2a19b822b"); + this.$data.pathFive = getResourcePath("c469389f516c81f13e4d0440bd9ec87e"); + this.$data.pathSix = getResourcePath("f8d747892eb8af7ed16bcb71967d414f"); + this.$data.pathSeven = getResourcePath("960e9aa17b48e900b08cde6e44b774f3"); }, methods: { changeResources(type) { -- Gitblit v1.9.1