From 36b2be2f2d02a0f66c78e56e2567b388e0418e8f Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 15 五月 2024 18:53:01 +0800 Subject: [PATCH] 1 --- src/books/childHealth/view/content/components/chapter006.vue | 52 ++++++++++++++++++++++++++++++++++------------------ 1 files changed, 34 insertions(+), 18 deletions(-) diff --git a/src/books/childHealth/view/content/components/chapter006.vue b/src/books/childHealth/view/content/components/chapter006.vue index 3f37a2f..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 @@ -392,7 +392,8 @@ </h6> <p class="blockh6-c"> <!-- <img class="img-a" alt="" src="image/0155-1.jpg" /><br /> --> - <span class="img">涓撻鍏� 瀛︿範涓婚涓�</span> + <!-- <span class="img">涓撻鍏� 瀛︿範涓婚涓�</span> --> + <examinations :cardList="questionData[142]" /> </p> <p class="custom_tag"><b>鈥㈡墿灞曞欢浼糕��</b></p> <div class="fieldset"> @@ -613,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" @@ -865,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" @@ -938,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" @@ -1005,7 +1006,8 @@ </h6> <p class="blockh6-c"> <!-- <img class="img-g" alt="" src="image/0165-1.jpg" /><br /> --> - <span class="img">涓撻鍏� 瀛︿範涓婚浜�</span> + <!-- <span class="img">涓撻鍏� 瀛︿範涓婚浜�</span> --> + <examinations :cardList="questionData[152]" /> </p> <h2 class="module_block" id="b024"> <div class="custom1">瀛︿範涓婚涓�</div> @@ -1263,7 +1265,8 @@ </h6> <p class="blockh6-c"> <!-- <img class="img-a" alt="" src="image/0168-1.jpg" /><br /> --> - <span class="img">涓撻鍏� 瀛︿範涓婚涓�</span> + <!-- <span class="img">涓撻鍏� 瀛︿範涓婚涓�</span> --> + <examinations :cardList="questionData[156]" /> </p> <p class="custom_tag"><b>鈥㈡墿灞曞欢浼糕��</b></p> <div class="fieldset"> @@ -1529,7 +1532,8 @@ </h6> <p class="blockh6-c"> <!-- <img class="img-g" alt="" src="image/0172-1.jpg" /><br /> --> - <span class="img">涓撻鍏� 瀛︿範涓婚鍥�</span> + <!-- <span class="img">涓撻鍏� 瀛︿範涓婚鍥�</span> --> + <examinations :cardList="questionData[159]" /> </p> <div class="annotation-border"></div> <p class="note"> @@ -1712,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" @@ -1878,7 +1882,8 @@ </h6> <p class="blockh6-c"> <!-- <img class="img-g" alt="" src="image/0177-1.jpg" /><br /> --> - <span class="img">涓撻鍏� 瀛︿範涓婚浜�</span> + <!-- <span class="img">涓撻鍏� 瀛︿範涓婚浜�</span> --> + <examinations :cardList="questionData[164]" /> </p> <h6 class="Conclusion-title4">涓撻灏忕粨</h6> <p class="blockh6"> @@ -2058,10 +2063,10 @@ </h6> <p class="blockh6-c"> 瀛︿範瀹屾湰涓撻锛屼綘鐨勫涔犳晥鏋滃浣曞憿锛熷挶浠竴璧锋潵鎵爜娴嬩竴娴嬪惂锛�<br /> - <!-- <img class="img-g" alt="" src="image/" /><br /> --> <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級1</span><br /> - <!-- <img class="img-g" alt="" src="image/0179-2.jpg" /><br /> --> + <examinations :cardList="questionData[1661]" /> <span class="img">>杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級2</span> + <examinations :cardList="questionData[1662]" /> </p> <h6 class="Conclusion-title4">鈥㈠涔犲弽鎬濃��</h6> <p class="blockh6 m0-t0 fl fl-di fl-cn"> @@ -2083,19 +2088,18 @@ </p> </div> </div> - - <hr /> - - - </div> </template> <script> 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 }, + components: { evenHeader, oddHeader,examinations }, name: "chapterSix", data() { return { @@ -2114,8 +2118,20 @@ learnTableThree: true, learnTableFour: true, learnTableFive: true, + questionData:{}, + pathOne:'', + pathTwo:'', + pathThree:'', + pathFour:'', }; }, + mounted() { + 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) { if (type == "learnTableOne") { -- Gitblit v1.9.1