From b636ce580856ae22a09ea126ae0e53539d699246 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期五, 17 五月 2024 15:04:43 +0800
Subject: [PATCH] 页眉、ui替换

---
 src/books/childHealth/view/content/components/chapter006.vue |   64 ++++++++++++++++---------------
 1 files changed, 33 insertions(+), 31 deletions(-)

diff --git a/src/books/childHealth/view/content/components/chapter006.vue b/src/books/childHealth/view/content/components/chapter006.vue
index df7fa80..66cb782 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
@@ -391,9 +391,8 @@
           浜戞祴璇�
         </h6>
         <p class="blockh6-c">
-          <!-- <img class="img-a" alt="" src="image/0155-1.jpg" /><br /> -->
-          <!-- <span class="img">涓撻鍏� 瀛︿範涓婚涓�</span> -->
-          <examinations :cardList="questionData[6][142]" />
+          <span class="img center dl-bl w100">涓撻鍏� 瀛︿範涓婚涓�</span>
+          <examinations :cardList="questionData[142]" />
         </p>
         <p class="custom_tag"><b>鈥㈡墿灞曞欢浼糕��</b></p>
         <div class="fieldset">
@@ -614,7 +613,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 +865,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 +938,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,9 +1004,8 @@
           浜戞祴璇�
         </h6>
         <p class="blockh6-c">
-          <!-- <img class="img-g" alt="" src="image/0165-1.jpg" /><br /> -->
-          <!-- <span class="img">涓撻鍏� 瀛︿範涓婚浜�</span> -->
-          <examinations :cardList="questionData[6][152]" />
+          <span class="img center dl-bl w100">涓撻鍏� 瀛︿範涓婚浜�</span>
+          <examinations :cardList="questionData[152]" />
         </p>
         <h2 class="module_block" id="b024">
           <div class="custom1">瀛︿範涓婚涓�</div>
@@ -1264,9 +1262,8 @@
           浜戞祴璇�
         </h6>
         <p class="blockh6-c">
-          <!-- <img class="img-a" alt="" src="image/0168-1.jpg" /><br /> -->
-          <!-- <span class="img">涓撻鍏� 瀛︿範涓婚涓�</span> -->
-          <examinations :cardList="questionData[6][156]" />
+          <span class="img center dl-bl w100">涓撻鍏� 瀛︿範涓婚涓�</span>
+          <examinations :cardList="questionData[156]" />
         </p>
         <p class="custom_tag"><b>鈥㈡墿灞曞欢浼糕��</b></p>
         <div class="fieldset">
@@ -1531,9 +1528,8 @@
           浜戞祴璇�
         </h6>
         <p class="blockh6-c">
-          <!-- <img class="img-g" alt="" src="image/0172-1.jpg" /><br /> -->
-          <!-- <span class="img">涓撻鍏� 瀛︿範涓婚鍥�</span> -->
-          <examinations :cardList="questionData[6][159]" />
+          <span class="img center dl-bl w100">涓撻鍏� 瀛︿範涓婚鍥�</span>
+          <examinations :cardList="questionData[159]" />
         </p>
         <div class="annotation-border"></div>
         <p class="note">
@@ -1716,7 +1712,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"
@@ -1881,9 +1877,8 @@
           浜戞祴璇�
         </h6>
         <p class="blockh6-c">
-          <!-- <img class="img-g" alt="" src="image/0177-1.jpg" /><br /> -->
-          <!-- <span class="img">涓撻鍏� 瀛︿範涓婚浜�</span> -->
-          <examinations :cardList="questionData[6][164]" />
+          <span class="img center dl-bl w100">涓撻鍏� 瀛︿範涓婚浜�</span>
+          <examinations :cardList="questionData[164]" />
         </p>
         <h6 class="Conclusion-title4">涓撻灏忕粨</h6>
         <p class="blockh6">
@@ -2064,9 +2059,10 @@
         <p class="blockh6-c">
           瀛︿範瀹屾湰涓撻锛屼綘鐨勫涔犳晥鏋滃浣曞憿锛熷挶浠竴璧锋潵鎵爜娴嬩竴娴嬪惂锛�<br />
           <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級1</span><br />
-          <examinations :cardList="questionData[6][1661]" />
-          <span class="img">>杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級2</span>
-          <examinations :cardList="questionData[6][1662]" />
+          <examinations :cardList="questionData[1661]" />
+          <span class="span-border"></span>
+          <span class="img mt-20 dl-bl">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級2</span>
+          <examinations :cardList="questionData[1662]" />
         </p>
         <h6 class="Conclusion-title4">鈥㈠涔犲弽鎬濃��</h6>
         <p class="blockh6 m0-t0 fl fl-di fl-cn">
@@ -2088,11 +2084,6 @@
         </p>
       </div>
     </div>
-
-    <hr />
-
-
-
   </div>
 </template>
 
@@ -2100,6 +2091,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 +2114,19 @@
       learnTableThree: true,
       learnTableFour: true,
       learnTableFive: true,
-      questionData:{}
+      questionData:{},
+      pathOne:'',
+      pathTwo:'',
+      pathThree:'',
+      pathFour:'',
     };
   },
-  mounted() {
-    this.$data.questionData = this.$store.state.questionData
+  async mounted() {
+    this.$data.questionData = await 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