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/chapter003.vue |   43 ++++++++++++++++++++++++++++++-------------
 1 files changed, 30 insertions(+), 13 deletions(-)

diff --git a/src/books/childHealth/view/content/components/chapter003.vue b/src/books/childHealth/view/content/components/chapter003.vue
index ce1631d..eb58667 100644
--- a/src/books/childHealth/view/content/components/chapter003.vue
+++ b/src/books/childHealth/view/content/components/chapter003.vue
@@ -405,7 +405,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              :src="config.resourceCtx +  '/video/chapterThree/涓撻涓夛細褰卞搷瀛﹀墠鍎跨蹇冪悊鍙戝睍鐨勫洜绱�.mp4'"
+              :src="pathOne"
               poster="../../../assets/images/chapterTwo/people-video-img.png"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -529,7 +529,7 @@
           浜戞祴璇�
         </h6>
         <p class="blockh6-c">
-          <examinations :cardList="questionData[3][64]" />
+          <examinations :cardList="questionData[64]" />
           <!-- <span class="img">涓撻涓� 瀛︿範涓婚涓�</span> -->
         </p>
         <h2 class="module_block" id="b014">
@@ -808,7 +808,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              :src=" config.resourceCtx + ' /video/chapterThree/涓撻涓夛細杩囧害渚濊禆.mp4'"
+              :src="pathTwo"
               poster="../../../assets/images/chapterTwo/people-video-img.png"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -904,7 +904,7 @@
           <div class="right" style="width: 60%">
             <p class="center">
               <video
-                :src=" config.resourceCtx + '/video/chapterThree/涓撻涓夛細鑷叞.mp4'"
+                :src="pathThree"
                 poster="../../../assets/images/chapterTwo/people-video-img.png"
                 webkit-playsinline="true"
                 x-webkit-airplay="true"
@@ -958,7 +958,7 @@
         </h6>
         <p class="blockh6-c center">
           <!-- <span class="img">涓撻涓� 瀛︿範涓婚浜�</span> -->
-          <examinations :cardList="questionData[3][73]" />
+          <examinations :cardList="questionData[73]" />
         </p>
         <h2 class="module_block" id="b015">
           <div class="custom1">瀛︿範涓婚涓�</div>
@@ -1156,7 +1156,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              :src="config.resourceCtx + ' /video/chapterThree/涓撻涓夛細瑷�璇強璇█鍙戣偛闅滅.mp4'"
+              :src="pathFour"
               poster="../../../assets/images/chapterTwo/people-video-img.png"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -1194,7 +1194,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              :src="config.resourceCtx + '/video/chapterThree/涓撻涓夛細鎬庢牱鍙戠幇瀛╁瓙鍙戣偛杩熺紦.mp4'"
+              :src="pathFive"
               poster="../../../assets/images/chapterTwo/people-video-img.png"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -1291,7 +1291,7 @@
           </div>
           <div class="right" style="width: 60%">
             <video
-              :src="config.resourceCtx + '/video/chapterThree/涓撻涓夛細鍎跨澶氬姩鐥�.mp4'"
+              :src="pathSix"
               poster="../../../assets/images/chapterTwo/people-video-img.png"
               webkit-playsinline="true"
               x-webkit-airplay="true"
@@ -1347,7 +1347,7 @@
         </h6>
         <p class="blockh6-c center">
           <!-- <span class="img">涓撻涓� 瀛︿範涓婚涓�</span> -->
-          <examinations :cardList="questionData[3][78]" />
+          <examinations :cardList="questionData[78]" />
         </p>
       </div>
     </div>
@@ -1471,9 +1471,9 @@
         <p class="blockh6-c">
           瀛︿範瀹屾湰涓撻锛屼綘鐨勫涔犳晥鏋滃浣曞憿锛熷挶浠竴璧锋潵鎵爜娴嬩竴娴嬪惂锛�<br />
           <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級1</span><br />
-          <examinations :cardList="questionData[3][801]" />
+          <examinations :cardList="questionData[801]" />
           <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級2</span>
-          <examinations :cardList="questionData[3][802]" />
+          <examinations :cardList="questionData[802]" />
         </p>
         <h6 class="Conclusion-title4">鈥㈠涔犲弽鎬濃��</h6>
         <p class="blockh6 m0-t0 fl fl-di fl-cn">
@@ -1501,6 +1501,9 @@
 import evenHeaderVue from "../../components/pageHeader/evenHeader.vue";
 import oddHeaderVue 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: "chapterThree",
   components: { evenHeaderVue, oddHeaderVue,examinations },
@@ -1514,11 +1517,25 @@
       learnTableOne: true,
       learnTableTwo: true,
       learnTableThree: true,
-      questionData:{}
+      questionData:{},
+      pathOne:'',
+      pathTwo:'',
+      pathThree:'',
+      pathFour:'',
+      pathFive:'',
+      pathSix:'',
+      
     };
   },
   mounted() {
-    this.$data.questionData = this.$store.state.questionData
+    this.$data.questionData = getQuestionData(testData[3])
+    this.$data.questionData = getQuestionData(testData[1])
+    this.$data.pathOne = getResourcePath('ca2a1ae9429a5f7a28fe9aa1bfbf3b4a')
+    this.$data.pathTwo = getResourcePath('8fa9d6565b97c5975b1a0a7ef09d38a9')
+    this.$data.pathThree = getResourcePath('56170fb1a0ea272990fe51530086aab1')
+    this.$data.pathFour = getResourcePath('ae67fd7678656c0ce89599bd1949f993')
+    this.$data.pathFive = getResourcePath('5aa431a223cdba0d30f1175a2ec3f308')
+    this.$data.pathSix = getResourcePath('bc3af85cd899b20adf885c308c595fbb')
   },
   methods: {
     changeResources(type) {

--
Gitblit v1.9.1