From 11fb8ec3644b791706493c9d5e9af8196ff137ae Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期三, 07 五月 2025 17:47:16 +0800 Subject: [PATCH] 优化 --- .env.product | 6 +++--- src/App.vue | 21 +++++++++------------ src/books/sportsAndHealth/view/components/index.vue | 6 +++--- 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/.env.product b/.env.product index 258cfa8..09a15be 100644 --- a/.env.product +++ b/.env.product @@ -3,6 +3,6 @@ # VUE_APP_RESOURCE_CTX = 'https://jsek.bnuic.com/books/resource/' # VUE_APP_PUBLIC_PATH = 'https://jsek.bnuic.com/books/book/meetingPlanners' VUE_APP_RESOURCE_CTX = 'http://182.92.203.7:3007/books/resource/' -VUE_APP_PUBLIC_PATH = 'http://182.92.203.7:3007/books/book/cognitiveLanDevEduAges0to3' -VUE_APP_BOOK_LIST = "childHealth/lifeCare/sportsAndHealth/embedded/english/artAndDance/artAndDrama/mathBook/botany/civilAviation/civilServices/meetingPlanners/aviationBasicSkills/aviationEtiquette/aviationSafety/toddlerGameImplementation/childcareInstitutionsManagement/preschoolGameGuidance/kindergartenLanguageActivity/preschoolEvaluation/preschoolBasicKnowledge/practicalCareChildrenManual/OralAndBroadcasting/aurturingAndEducationAged0to3/policiesAndRegulations/kindergartenActivitiesDesignGuidance/toddlerSportsSafetyProtection/artInitiationForAges0to3/childIllnessPreventionCare/VUE_APP_BOOK_LIST = "childHealth/lifeCare/sportsAndHealth/embedded/english/artAndDance/artAndDrama/mathBook/botany/civilAviation/civilServices/meetingPlanners/aviationBasicSkills/aviationEtiquette/aviationSafety/toddlerGameImplementation/childcareInstitutionsManagement/preschoolGameGuidance/kindergartenLanguageActivity/preschoolEvaluation/preschoolBasicKnowledge/practicalCareChildrenManual/OralAndBroadcasting/aurturingAndEducationAged0to3/policiesAndRegulations/kindergartenActivitiesDesignGuidance/toddlerSportsSafetyProtection/artInitiationForAges0to3/childIllnessPreventionCare/cognitiveLanDevEduAges0to3" -VUE_APP_BOOK_ID = 'cognitiveLanDevEduAges0to3' +VUE_APP_PUBLIC_PATH = 'http://182.92.203.7:3007/books/book/toddlerSportsSafetyProtection' +VUE_APP_BOOK_LIST = "childHealth/lifeCare/sportsAndHealth/embedded/english/artAndDance/artAndDrama/mathBook/botany/civilAviation/civilServices/meetingPlanners/aviationBasicSkills/aviationEtiquette/aviationSafety/toddlerGameImplementation/childcareInstitutionsManagement/preschoolGameGuidance/kindergartenLanguageActivity/preschoolEvaluation/preschoolBasicKnowledge/practicalCareChildrenManual/OralAndBroadcasting/aurturingAndEducationAged0to3/policiesAndRegulations/kindergartenActivitiesDesignGuidance/toddlerSportsSafetyProtection/artInitiationForAges0to3/childIllnessPreventionCare/behaviorObserveAndGuid/cognitiveLanDevEduAges0to3" +VUE_APP_BOOK_ID = 'toddlerSportsSafetyProtection' diff --git a/src/App.vue b/src/App.vue index 3a5c19d..37de466 100644 --- a/src/App.vue +++ b/src/App.vue @@ -51,9 +51,6 @@ <behaviorObserveAndGuid v-if="activeBook.name == 'behaviorObserveAndGuid'" ></behaviorObserveAndGuid> - <preschoolBasicKnowledge - v-if="activeBook.name == 'preschoolBasicKnowledge'" - ></preschoolBasicKnowledge> <policiesAndRegulations v-if="activeBook.name == 'policiesAndRegulations'" ></policiesAndRegulations> @@ -177,14 +174,14 @@ }, }); } else { - // childHealth - // lifeCare - // sportsAndHealth - // embedded - // english - // artAndDance - // artAndDrama - // mathBook + // childHealth // 瀛﹀墠鍎跨鍗敓涓庝繚鍋� + // lifeCare // 濠村辜鍎跨敓娲荤収鎶� + // sportsAndHealth // 浣撹偛涓庡仴搴� + // embedded // 宓屽叆寮忕粍鎬佹帶鍒舵妧鏈紙绗�3鐗堬級(閾侀亾绀�) + // english // 鏂版爣鍑嗛�氱敤鑱屽満鑻辫 + // artAndDance // 鑹烘湳鑸炶箞 + // artAndDrama // 鑹烘湳鎴忓墽 + // mathBook // 鏁板 // civilAviation // 姘戣埅姒傝 // civilServices // 鏈嶅姟蹇冪悊 // meetingPlanners // 浼氳绛栧垝 @@ -211,7 +208,7 @@ process.env.VUE_APP_RESOURCE_CTX + (process.env.VUE_APP_ENV == "product" ? process.env.VUE_APP_BOOK_ID - : "cognitiveLanDevEduAges0to3") + : "mathBook") ); // this.activeBook = await this.config.getBookConfig( // 'http://182.92.203.7:3007/books/resource/'+ diff --git a/src/books/sportsAndHealth/view/components/index.vue b/src/books/sportsAndHealth/view/components/index.vue index 6caab52..350f3af 100644 --- a/src/books/sportsAndHealth/view/components/index.vue +++ b/src/books/sportsAndHealth/view/components/index.vue @@ -167,8 +167,8 @@ }, 500) // 娴嬭瘯椤甸潰璺宠浆 - setTimeout(() => { - this.gotoPage(10, 268) + // setTimeout(() => { + // this.gotoPage(10, 268) // setTimeout(() => { // this.renderSign("Highlight", { // id: "2ACA9359", @@ -196,7 +196,7 @@ // txt: " 杩愬姩绯荤粺鏄敱楠ㄣ�侀杩炵粨鍜岄楠艰倢涓夐儴鍒嗙粍鎴愮殑銆傚叏韬殑楠ㄩ�氳繃楠ㄨ繛缁撶粍鎴愪汉浣撻楠硷紙瑙佸浘1-1锛夈�傞楠兼槸浜轰綋鐨勬敮鏋讹紝鍏锋湁淇濇姢鍐呰剰鍣ㄥ畼銆佷緵鑲岃倝闄勭潃鍜屼綔涓鸿倢鑲夎繍鍔ㄧ殑鏉犳潌绛変綔鐢ㄣ�傚湪绁炵粡绯荤粺鐨勬敮閰嶄笅锛岃倢鑲夋敹缂╃壍鍔ㄦ墍闄勭潃鐨勯缁曠潃鍏宠妭杞姩锛屼娇韬綋浜х敓鍚勭鍔ㄤ綔銆傛墍浠ワ紝杩愬姩绯荤粺鍏锋湁杩愬姩銆佹敮鎸佸拰淇濇姢绛夊姛鑳斤紝骞煎勾鏃舵湡鐨勯楠艰繕鍏锋湁閫犺鍔熻兘銆� ", // txtIndex: 57 // }); - }, 500) + // }, 500) }, methods: { swdtChange(data) { -- Gitblit v1.9.1