From 43e78dd1d8aeb9720ac0b058284820383a7ebe39 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 15 五月 2024 11:51:24 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/childHealth/view/content/components/chapter001.vue | 104 ++++++++++++++++++++++----------------------------- 1 files changed, 45 insertions(+), 59 deletions(-) diff --git a/src/books/childHealth/view/content/components/chapter001.vue b/src/books/childHealth/view/content/components/chapter001.vue index 74ef54c..519bd5e 100644 --- a/src/books/childHealth/view/content/components/chapter001.vue +++ b/src/books/childHealth/view/content/components/chapter001.vue @@ -131,12 +131,9 @@ <span class="ds-bl" >1.浜轰綋杩愬姩绯荤粺鐢卞摢涓変釜閮ㄥ垎缁勬垚锛熷悇閮ㄥ垎鐨勫姛鑳藉紡浠�涔堬紵</span > - <el-input - type="textarea" - :rows="3" - placeholder="璇疯緭鍏ュ唴瀹�" - v-model="textarea"> - </el-input> + <input type="text" class="lineInput w100" /> + <input type="text" class="lineInput w100" /> + <input type="text" class="lineInput w100" /> <span class="ds-bl mt-10" >2.瀛﹀墠鍎跨鐨勯锛堥锛夋湁浠�涔堢壒鐐癸紵鏃ュ父鐢熸椿涓簲璇ュ浣曚繚鍋ワ紵</span > @@ -239,8 +236,8 @@ <examinations v-if="testOne" ref="examinationOne" - :productLinkPath="productLinkPath" - ></examinations> + :cardList="questionData[1][2]" + /> </p> <h2 class="module_block" id="b001" style="margin: 0"> <div class="custom1">瀛︿範涓婚涓�</div> @@ -511,7 +508,8 @@ 浜戞祴璇� </h6> <p class="blockh6-c"> - <span class="img">涓撻涓� 瀛︿範涓婚涓�</span> + <examinations :cardList="questionData[1][6]" /> + <!-- <span class="img">涓撻涓� 瀛︿範涓婚涓�</span> --> </p> <h4 id="d008">锛堜簲锛夋敞鎰忎繚鎶ゅソ鍏宠妭鍜岄煣甯�</h4> <p class="lh2"> @@ -723,7 +721,7 @@ </div> <div class="right" style="width: 60%"> <video - :src="config.resourceCtx + '/video/chapterOne/breathing-video.mp4'" + :src="pathOne" poster="../../../assets/images/chapterOne/people-video-img.jpg" webkit-playsinline="true" x-webkit-airplay="true" @@ -837,8 +835,8 @@ 浜戞祴璇� </h6> <p class="blockh6-c"> - <!-- <img class="img-g" alt="" src="image/0022-1.jpg" /><br /> --> - <span class="img">涓撻涓� 瀛︿範涓婚浜�</span> + <examinations :cardList="questionData[1][9]" /> + <!-- <span class="img">涓撻涓� 瀛︿範涓婚浜�</span> --> </p> <h4 id="d015">锛堜簲锛変繚鎶ゅ0甯�</h4> <p class="lh2">閫夋嫨閫傚悎瀛﹀墠鍎跨闊冲煙鐗圭偣鐨勬瓕鏇叉垨鏈楄鏉愭枡锛屾瘡娆″敱姝屾垨鏈楄鐨勬椂闂翠笉瀹滆繃闀匡紙鏈�澶�5鍒嗛挓锛夛紝鏇翠笉鑳介珮澹板枈鍙紝浠ラ槻澹板甫鍏呰銆佽偪鑳�銆佸彉鍘氾紝閫犳垚澹伴煶鍢跺搼銆傜粌涔犲彂澹扮殑</p> @@ -1029,7 +1027,7 @@ </div> <div class="right" style="width: 65%"> <video - :src="config.resourceCtx + '/video/chapterOne/blood-video.mp4'" + :src="pathThree" poster="../../../assets/images/chapterOne/people-video-img.jpg" webkit-playsinline="true" x-webkit-airplay="true" @@ -1179,8 +1177,8 @@ 浜戞祴璇� </h6> <p class="blockh6-c"> - <!-- <img class="img-g" alt="" src="image/0032-1.jpg" /><br /> --> - <span class="img">涓撻涓� 瀛︿範涓婚鍥�</span> + <examinations :cardList="questionData[1][14]" /> + <!-- <span class="img">涓撻涓� 瀛︿範涓婚涓�</span> --> </p> <h2 class="module_block" id="b004"> <div class="custom1">瀛︿範涓婚鍥�</div> @@ -1361,7 +1359,7 @@ </div> <div class="right" style="width: 65%"> <video - :src=" config.resourceCtx + '/video/chapterOne/teeth.mp4'" + :src="pathFour" poster="../../../assets/images/chapterOne/people-video-img.jpg" webkit-playsinline="true" x-webkit-airplay="true" @@ -1519,7 +1517,8 @@ 浜戞祴璇� </h6> <p class="blockh6-c"> - <span class="img">涓撻涓� 瀛︿範涓婚鍥�</span> + <examinations :cardList="questionData[1][19]" /> + <!-- <span class="img">涓撻涓� 瀛︿範涓婚鍥�</span> --> </p> <p class="custom_tag"><b>鈥㈣祫鏂欓摼鎺モ��</b></p> <div class="fieldset"> @@ -1954,7 +1953,8 @@ </h6> <p class="blockh6-c"> <!-- <img class="img-g" alt="" src="image/0036-3.jpg" /><br /> --> - <span class="img">涓撻涓� 瀛︿範涓婚浜斻�佸涔犱富棰樺叚</span> + <!-- <span class="img">涓撻涓� 瀛︿範涓婚浜斻�佸涔犱富棰樺叚</span> --> + <examinations :cardList="questionData[1][24]" /> </p> <p class="custom_tag"><b>鈥㈣祫鏂欓摼鎺モ��</b></p> <div class="fieldset"> @@ -2094,8 +2094,8 @@ </p> </div> - <div class="fl"> - <div class="left" style="width: 35%"> + <div class="fl fl-around"> + <div class="left" style="width: 38%"> <p> 浜轰綋鍚勬満鑳戒箣鎵�浠ヨ兘鏍规嵁涓嶅悓鐨勫唴澶栫幆澧冧骇鐢熺壒瀹氱殑鍙樺寲锛岀淮鎸佸唴澶栫幆澧冪殑鍔ㄦ�佸钩琛★紝涓庡唴鍒嗘硨绯荤粺鏈夌潃瀵嗕笉鍙垎鐨勫叧绯汇�� </p> @@ -2103,7 +2103,7 @@ 鍐呭垎娉岀郴缁燂紙瑙佸浘1-13锛夌敱鍐呭垎娉岃吅鍜屽唴鍒嗘硨缁勭粐缁勬垚锛屽浜轰綋鐨勭敓鍛芥椿鍔ㄨ捣鐫�閲� </p> </div> - <div class="right" style="width: 65%"> + <div class="right" style="width: 60%"> <video :src=" config.resourceCtx + ' /video/chapterOne/endocrine.mp4'" poster="../../../assets/images/chapterOne/people-video-img.jpg" @@ -2200,7 +2200,8 @@ 浜戞祴璇� </h6> <p class="blockh6-c"> - <span class="img">涓撻涓� 瀛︿範涓婚涓�</span> + <!-- <span class="img">涓撻涓� 瀛︿範涓婚涓�</span> --> + <examinations :cardList="questionData[1][26]" /> </p> <h2 class="module_block" id="b008"> <div class="custom1">瀛︿範涓婚鍏�</div> @@ -2539,7 +2540,8 @@ 浜戞祴璇� </h6> <p class="blockh6-c"> - <span class="img">涓撻涓� 瀛︿範涓婚鍏�</span> + <!-- <span class="img">涓撻涓� 瀛︿範涓婚鍏�</span> --> + <examinations :cardList="questionData[1][31]" /> </p> <h4 id="d065">锛堝叚锛夊畨鎺掍赴瀵岀殑娲诲姩鍙婇�傚綋鐨勪綋鑲查敾鐐�</h4> <p> @@ -2734,8 +2736,9 @@ </p> </div> <div class="right" style="width: 60%"> + <!-- config.resourceCtx + '/video/chapterOne/涓撻涓�锛氬鍓嶅効绔ョ溂鐫涚殑鐢熺悊鐗圭偣涓庝繚鍋�.mp4' --> <video - :src=" config.resourceCtx + '/video/chapterOne/涓撻涓�锛氬鍓嶅効绔ョ溂鐫涚殑鐢熺悊鐗圭偣涓庝繚鍋�.mp4'" + :src="pathTwo" poster="../../../assets/images/chapterOne/people-video-img.jpg" webkit-playsinline="true" x-webkit-airplay="true" @@ -3135,7 +3138,8 @@ </h6> <p class="blockh6-c"> <!-- <img class="img-g" alt="" src="image/0053-1.jpg" /><br /> --> - <span class="img">涓撻涓� 瀛︿範涓婚涔�</span> + <!-- <span class="img">涓撻涓� 瀛︿範涓婚涔�</span> --> + <examinations :cardList="questionData[1][40]" /> </p> <h6 class="Conclusion-title4">涓撻灏忕粨</h6> <p class="blockh6"> @@ -3299,10 +3303,10 @@ </h6> <p class="blockh6-c"> 瀛︿範瀹屾湰涓撻锛屼綘鐨勫涔犳晥鏋滃浣曞憿锛熷挶浠竴璧锋潵鎵爜娴嬩竴娴嬪惂锛�<br /> - <!-- <img class="img-g" alt="" src="image/0054-1.jpg" /><br /> --> <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級1</span><br /> - <!-- <img class="img-g" alt="" src="image/0054-2.jpg" /><br /> --> + <examinations :cardList="questionData[1][421]" /> <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級2</span> + <examinations :cardList="questionData[1][422]" /> </p> <h6 class="Conclusion-title4">鈥㈠涔犲弽鎬濃��</h6> <p class="blockh6 fl fl-di fl-cn" style="text-indent: 0"> @@ -3335,6 +3339,7 @@ import examinations from "@/components/examinations/index.vue"; import evenHeaderVue from '../../components/pageHeader/evenHeader.vue'; import oddHeaderVue from '../../components/pageHeader/oddHeader.vue'; +import getResourcePath from '@/assets/methods/resources' export default { name: "chapter-one", components: { examinations,evenHeaderVue,oddHeaderVue }, @@ -3363,36 +3368,6 @@ require("../../../assets/images/chapterOne/posture-01.png"), require("../../../assets/images/chapterOne/posture-02.png"), require("../../../assets/images/chapterOne/posture-03.png"), - ], - questionList: [ - { - analysisCon: "璇﹁鏁欐潗P3銆�", - answer: "A", - difficulty: 0, - id: 47459, - isCollect: false, - isComplete: false, - isRight: null, - isUnfold: "", - isUserAnswer: false, - number: 1, - option: [ - { index: "6595", txt: "寰烽瞾鍏�", value: "A", img: "" }, - { index: "6660", txt: "娉板嫆", value: "B", img: "" }, - { index: "803B", txt: "娉曠害灏�", value: "C", img: "" }, - { index: "9887", txt: "瑗胯挋", value: "D", img: "" }, - ], - optionStyle: "Txt", - questionType: "singleChoice", - score: 2, - stem: { - stemTxt: - "1. 棣栨鎻愬嚭鈥滅鐞嗗鈥濇蹇碉紝璁や负鈥滅鐞嗘槸涓�闂ㄧ瀛︹�濅笖鈥滅鐞嗘槸涓�绉嶅疄璺碘�濈殑鏄紙 锛夈��", - }, - stemStyle: "Txt", - type: "鍗曢�夐", - userAnswer: "", - }, ], resourceState: "", type: "option", @@ -3437,10 +3412,21 @@ learnTableSix:true, learnTableSeven:true, learnTableEight:true, - learnTableNine:true + learnTableNine:true, + questionData:{}, + pathOne:'', + pathTWo:'', + pathThree:'', + pathFour:'', }; }, - mounted() {}, + mounted() { + this.$data.questionData = this.$store.state.questionData + this.$data.pathOne = getResourcePath('f6f6588a75086576b87bed2fb9ca1ec1') + this.$data.pathTwo = getResourcePath('e5993b62684fe55d13190cfe52bf00ed') + this.$data.pathThree = getResourcePath('6b6d42213aa85aa5ff7724aaf96ffee6') + this.$data.pathFour = getResourcePath('17fb1555f98c8fceabce5ff75077af58') + }, methods: { changeResources(type) { if (type == "learnTbaleOne") { -- Gitblit v1.9.1