From d3d71f644755f2396ce21b5027f0177a80ed89c9 Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期三, 15 五月 2024 16:51:29 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout

---
 src/books/childHealth/view/content/components/chapter008.vue |   57 ++++++++++++++++++++++++++++++++++++++++-----------------
 1 files changed, 40 insertions(+), 17 deletions(-)

diff --git a/src/books/childHealth/view/content/components/chapter008.vue b/src/books/childHealth/view/content/components/chapter008.vue
index ef42bd8..700b748 100644
--- a/src/books/childHealth/view/content/components/chapter008.vue
+++ b/src/books/childHealth/view/content/components/chapter008.vue
@@ -220,7 +220,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              src="http://182.92.203.7:3007/books/resource/1/video/chapterEight/涓撻鍏細浣撴俯娴嬮噺.mp4"
+              :src="pathOne"
               poster="../../../assets/images/chapterOne/people-video-img.jpg"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -264,7 +264,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              src="http://182.92.203.7:3007/books/resource/1/video/chapterEight/涓撻鍏細鐗╃悊闄嶆俯.mp4"
+              :src="pathTwo"
               poster="../../../assets/images/chapterOne/people-video-img.jpg"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -342,7 +342,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              src="http://182.92.203.7:3007/books/resource/1/video/chapterEight/涓撻鍏細瀛﹀墠鍎跨甯哥敤鐨勬姢鐞嗕笌鎬ユ晳鎶�鏈�斺�斿効绔ョ瀛︾敤鑽寚鍗�.mp4"
+              :src="pathThree"
               poster="../../../assets/images/chapterTwo/people-video-img.png"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -447,7 +447,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              src="http://182.92.203.7:3007/books/resource/1/video/chapterEight/涓撻鍏細姝㈤蓟琛�.mp4"
+              :src="pathFour"
               poster="../../../assets/images/chapterOne/people-video-img.jpg"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -493,7 +493,7 @@
         <p class="blockh6-c">
           <!-- <img class="img-g" alt="" src="image/0228-2.jpg" /><br /> -->
           <!-- <span class="img">涓撻鍏� 瀛︿範涓婚涓�</span> -->
-          <examinations :cardList="questionData[8][215]" />
+          <examinations :cardList="questionData[215]" />
         </p>
       </div>
     </div>
@@ -741,7 +741,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              src="http://182.92.203.7:3007/books/resource/1/video/chapterEight/涓撻鍏細寮傜墿鐨勫鐞�.mp4"
+              :src="pathFive"
               poster="../../../assets/images/chapterOne/people-video-img.jpg"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -773,7 +773,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              src="http://182.92.203.7:3007/books/resource/1/video/chapterEight/涓撻鍏細楸煎埡鍗″枆鐨勫鐞�.mp4"
+              :src="pathSix"
               poster="../../../assets/images/chapterTwo/people-video-img.png"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -920,7 +920,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              src="http://182.92.203.7:3007/books/resource/1/video/chapterEight/涓撻鍏細鎯婂帴銆佹檿鍘ャ�佷紤鍏嬬殑澶勭悊.mp4"
+              :src="pathSeven"
               poster="../../../assets/images/chapterTwo/people-video-img.png"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -1062,7 +1062,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              src="http://182.92.203.7:3007/books/resource/1/video/chapterEight/涓撻鍏細 楠ㄦ姌涓庤劚浣�.mp4"
+              :src="pathEight"
               poster="../../../assets/images/chapterOne/people-video-img.jpg"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -1139,7 +1139,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              src="http://182.92.203.7:3007/books/resource/1/video/chapterEight/涓撻鍏細蹇冭偤澶嶈嫃.mp4"
+              :src="pathNine"
               poster="../../../assets/images/chapterOne/people-video-img.jpg"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -1352,7 +1352,7 @@
         <p class="blockh6-c">
           <!-- <img class="img-g" alt="" src="image/0240-2.jpg" /><br /> -->
           <!-- <span class="img">涓撻鍏� 瀛︿範涓婚浜�</span> -->
-          <examinations :cardList="questionData[8][227]" />
+          <examinations :cardList="questionData[227]" />
         </p>
         <p class="custom_tag"><b>鈥㈣祫鏂欓摼鎺モ��</b></p>
         <div class="fieldset">
@@ -1525,7 +1525,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              src="http://182.92.203.7:3007/books/resource/1/video/chapterEight/涓撻鍏細瀹夊叏鏁欒偛.mp4"
+              :src="pathTen"
               poster="../../../assets/images/chapterOne/people-video-img.jpg"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -1752,7 +1752,7 @@
         <p class="blockh6-c">
           <!-- <img class="img-g" alt="" src="image/0245-1.jpg" /><br /> -->
           <!-- <span class="img">涓撻鍏� 瀛︿範涓婚涓�</span> -->
-          <examinations :cardList="questionData[8][232]" />
+          <examinations :cardList="questionData[232]" />
         </p>
         <p class="custom_tag"><b>鈥㈣祫鏂欓摼鎺モ��</b></p>
         <div class="fieldset">
@@ -1974,9 +1974,9 @@
         <p class="blockh6-c">
           瀛︿範瀹屾湰涓撻锛屼綘鐨勫涔犳晥鏋滃浣曞憿锛熷挶浠竴璧锋潵鎵爜娴嬩竴娴嬪惂锛�<br />
           <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級1</span><br />
-          <examinations :cardList="questionData[8][2431]" />
+          <examinations :cardList="questionData[2431]" />
           <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級2</span>
-          <examinations :cardList="questionData[8][2342]" />
+          <examinations :cardList="questionData[2342]" />
         </p>
       </div>
     </div>
@@ -1987,6 +1987,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: "chapterEight",
   components: { evenHeader, oddHeader,examinations },
@@ -2015,11 +2018,31 @@
       learnTableThree: true,
       learnTableFour: true,
       learnTableFive: true,
-      questionData:{}
+      questionData:{},
+      pathOne: "",
+      pathTwo: "",
+      pathThree: "",
+      pathFour: "",
+      pathFive:"",
+      pathSix: "",
+      pathSeven: "",
+      pathEight: "",
+      pathNine: "",
+      pathTen:"",
     };
   },
   mounted() {
-    this.$data.questionData = this.$store.state.questionData
+    this.$data.questionData = getQuestionData(testData[8])
+    this.$data.pathOne = getResourcePath("53d9f18bbb3250e624ab608210ae3d1d");
+    this.$data.pathTwo = getResourcePath("faf38c63d16c12a7e415f9aee6e23880");
+    this.$data.pathThree = getResourcePath("e791b057b3f750aff6817824030a273a");
+    this.$data.pathFour = getResourcePath("e79fdcbd2f8237a837f5b3ebd8d77fed");
+    this.$data.pathFive = getResourcePath("03538bf15c4368ba80a3c9e298268df7");
+    this.$data.pathSix = getResourcePath("11f13bd738b960faa42be7267cfdcbb6");
+    this.$data.pathSeven = getResourcePath("36a4b835e252c744d53fbb331de3f1cf");
+    this.$data.pathEight = getResourcePath("0f415d69790bd6044b74b30947f628f5");
+    this.$data.pathNine = getResourcePath("bf45a94562ab237da0ef65ba33631022");
+    this.$data.pathTen = getResourcePath("f7b5594f23b2ded96e15b99c296be54d");
   },
   methods: {
     changeResources(type) {

--
Gitblit v1.9.1