From 57ebfaedfe6364ab0c3beb1afe01c00fe2798a2c Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 06 六月 2024 10:28:54 +0800 Subject: [PATCH] 嵌入式优化 --- src/books/childHealth/view/content/components/chapter005.vue | 22 ++++++++++++++++------ 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/books/childHealth/view/content/components/chapter005.vue b/src/books/childHealth/view/content/components/chapter005.vue index 24661dc..8282584 100644 --- a/src/books/childHealth/view/content/components/chapter005.vue +++ b/src/books/childHealth/view/content/components/chapter005.vue @@ -1214,6 +1214,7 @@ <p class="blockh6-c"> <span class="img center dl-bl w100">涓撻浜� 瀛︿範涓婚涓�</span> <examinations + v-if="questionData && questionData[127]" :cardList="questionData[127]" :chapter="5" :page="119" @@ -1660,6 +1661,7 @@ <p class="blockh6-c"> <span class="img center dl-bl w100">涓撻浜� 瀛︿範涓婚浜�</span> <examinations + v-if="questionData && questionData[132]" :cardList="questionData[132]" :chapter="5" :page="124" @@ -2122,6 +2124,7 @@ <p class="blockh6-c"> <span class="img center dl-bl w100">涓撻浜� 瀛︿範涓婚涓�</span> <examinations + v-if="questionData && questionData[137]" :cardList="questionData[137]" :chapter="5" :page="129" @@ -2510,6 +2513,7 @@ <p class="blockh6-c"> <span class="img center dl-bl w100">涓撻浜� 瀛︿範涓婚鍥�</span> <examinations + v-if="questionData && questionData[141]" :cardList="questionData[141]" :chapter="5" :page="133" @@ -2697,6 +2701,7 @@ 瀛︿範瀹屾湰涓撻锛屼綘鐨勫涔犳晥鏋滃浣曞憿锛熷挶浠竴璧锋潵鎵爜娴嬩竴娴嬪惂锛�<br /> <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級1</span><br /> <examinations + v-if="questionData && questionData[142][1]" :cardList="questionData[142][1]" :chapter="5" :page="1341" @@ -2704,6 +2709,7 @@ <span class="span-border"></span> <span class="img mt-20 dl-bl">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級2</span> <examinations + v-if="questionData && questionData[142][2]" :cardList="questionData[142][2]" :chapter="5" :page="1342" @@ -2717,7 +2723,7 @@ <script> import examinations from "@/components/examinations/index.vue"; -import getResourcePath from "@/assets/methods/resources"; +import {getResourcePath} from "@/assets/methods/resources"; export default { name: "chapterFive", components: { examinations }, @@ -2727,6 +2733,10 @@ }, showPageList: { type: Array, + }, + isSearch: { + type: Boolean, + default: false, }, }, data() { @@ -2869,13 +2879,13 @@ JSON.stringify(this.chapterFiveData) ); }, - getVideoPath() { - this.$data.pathOne = getResourcePath("5698398be3f5c7fdb247218b2a687257"); - this.$data.pathTwo = getResourcePath("5905673b09837c74953dd11fcb27d123"); - this.$data.pathThree = getResourcePath( + async getVideoPath() { + this.$data.pathOne = await getResourcePath("5698398be3f5c7fdb247218b2a687257"); + this.$data.pathTwo = await getResourcePath("5905673b09837c74953dd11fcb27d123"); + this.$data.pathThree = await getResourcePath( "1f768157227c193ed5c11f972f66e692" ); - this.$data.pathFour = getResourcePath("4f446d88ec1ed081a172b7130dce896b"); + this.$data.pathFour = await getResourcePath("4f446d88ec1ed081a172b7130dce896b"); }, }, }; -- Gitblit v1.9.1