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/chapter006.vue | 44 +++++++++++++++++++++++++------------------- 1 files changed, 25 insertions(+), 19 deletions(-) diff --git a/src/books/childHealth/view/content/components/chapter006.vue b/src/books/childHealth/view/content/components/chapter006.vue index df7fa80..11d2a1a 100644 --- a/src/books/childHealth/view/content/components/chapter006.vue +++ b/src/books/childHealth/view/content/components/chapter006.vue @@ -1,6 +1,6 @@ <template> <div class="chapter" num="6"> - <div class="page-box"> + <div class="page-box" page="135"> <div class="padding-96"> <p class="center" id="a012"> <img @@ -393,7 +393,7 @@ <p class="blockh6-c"> <!-- <img class="img-a" alt="" src="image/0155-1.jpg" /><br /> --> <!-- <span class="img">涓撻鍏� 瀛︿範涓婚涓�</span> --> - <examinations :cardList="questionData[6][142]" /> + <examinations :cardList="questionData[142]" /> </p> <p class="custom_tag"><b>鈥㈡墿灞曞欢浼糕��</b></p> <div class="fieldset"> @@ -614,7 +614,7 @@ </div> <div class="right" style="width: 60%"> <video - :src="config.resourceCtx + '/video/chapterSix/涓撻鍏細鏂扮敓鍎跨壒鐐逛笌淇濆仴.mp4'" + :src="pathOne" poster="../../../assets/images/chapterTwo/people-video-img.png" webkit-playsinline="true" x-webkit-airplay="true" @@ -866,7 +866,7 @@ </div> <div class="right" style="width: 60%"> <video - :src="config.resourceCtx + '/video/chapterSix/涓撻鍏細閲嶈鏂扮敓鍎跨柧鐥呯瓫鏌�.mp4'" + :src="pathTwo" poster="../../../assets/images/chapterOne/people-video-img.jpg" webkit-playsinline="true" x-webkit-airplay="true" @@ -939,7 +939,7 @@ </div> <div class="right" style="width: 60%"> <video - :src="config.resourceCtx + '/video/chapterSix/涓撻鍏細鏃╀骇鍎跨殑鐗圭偣涓庝繚鍋�.mp4'" + :src="pathThree" poster="../../../assets/images/chapterTwo/people-video-img.png" webkit-playsinline="true" x-webkit-airplay="true" @@ -1007,7 +1007,7 @@ <p class="blockh6-c"> <!-- <img class="img-g" alt="" src="image/0165-1.jpg" /><br /> --> <!-- <span class="img">涓撻鍏� 瀛︿範涓婚浜�</span> --> - <examinations :cardList="questionData[6][152]" /> + <examinations :cardList="questionData[152]" /> </p> <h2 class="module_block" id="b024"> <div class="custom1">瀛︿範涓婚涓�</div> @@ -1266,7 +1266,7 @@ <p class="blockh6-c"> <!-- <img class="img-a" alt="" src="image/0168-1.jpg" /><br /> --> <!-- <span class="img">涓撻鍏� 瀛︿範涓婚涓�</span> --> - <examinations :cardList="questionData[6][156]" /> + <examinations :cardList="questionData[156]" /> </p> <p class="custom_tag"><b>鈥㈡墿灞曞欢浼糕��</b></p> <div class="fieldset"> @@ -1533,7 +1533,7 @@ <p class="blockh6-c"> <!-- <img class="img-g" alt="" src="image/0172-1.jpg" /><br /> --> <!-- <span class="img">涓撻鍏� 瀛︿範涓婚鍥�</span> --> - <examinations :cardList="questionData[6][159]" /> + <examinations :cardList="questionData[159]" /> </p> <div class="annotation-border"></div> <p class="note"> @@ -1716,7 +1716,7 @@ </div> <div class="right" style="width: 60%"> <video - :src="config.resourceCtx + '/video/chapterSix/涓撻鍏細骞煎効鏈熺殑鐗圭偣涓庝繚鍋�.mp4'" + :src="pathFour" poster="../../../assets/images/chapterTwo/people-video-img.png" webkit-playsinline="true" x-webkit-airplay="true" @@ -1883,7 +1883,7 @@ <p class="blockh6-c"> <!-- <img class="img-g" alt="" src="image/0177-1.jpg" /><br /> --> <!-- <span class="img">涓撻鍏� 瀛︿範涓婚浜�</span> --> - <examinations :cardList="questionData[6][164]" /> + <examinations :cardList="questionData[164]" /> </p> <h6 class="Conclusion-title4">涓撻灏忕粨</h6> <p class="blockh6"> @@ -2064,9 +2064,9 @@ <p class="blockh6-c"> 瀛︿範瀹屾湰涓撻锛屼綘鐨勫涔犳晥鏋滃浣曞憿锛熷挶浠竴璧锋潵鎵爜娴嬩竴娴嬪惂锛�<br /> <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級1</span><br /> - <examinations :cardList="questionData[6][1661]" /> + <examinations :cardList="questionData[1661]" /> <span class="img">>杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級2</span> - <examinations :cardList="questionData[6][1662]" /> + <examinations :cardList="questionData[1662]" /> </p> <h6 class="Conclusion-title4">鈥㈠涔犲弽鎬濃��</h6> <p class="blockh6 m0-t0 fl fl-di fl-cn"> @@ -2088,11 +2088,6 @@ </p> </div> </div> - - <hr /> - - - </div> </template> @@ -2100,6 +2095,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 { components: { evenHeader, oddHeader,examinations }, name: "chapterSix", @@ -2120,11 +2118,19 @@ learnTableThree: true, learnTableFour: true, learnTableFive: true, - questionData:{} + questionData:{}, + pathOne:'', + pathTwo:'', + pathThree:'', + pathFour:'', }; }, mounted() { - this.$data.questionData = this.$store.state.questionData + this.$data.questionData = getQuestionData(testData[6]) + this.$data.pathOne = getResourcePath('816cf9d161803aea47ea583ba5d4f0ac') + this.$data.pathTwo = getResourcePath('15d4b47f10359b7ad77d87e2327db429') + this.$data.pathThree = getResourcePath('66c19c1c7a772fc88080b607f70eebaf') + this.$data.pathFour = getResourcePath('a548917a24721ef2b37e1053ac843af4') }, methods: { changeResources(type) { -- Gitblit v1.9.1