litian
4 天以前 c8e4219b7d89dbc14d389520499f86e86f699fa5
src/App.vue
@@ -26,6 +26,12 @@
    <preschoolEvaluation v-if="activeBook.name == 'preschoolEvaluation'">
    </preschoolEvaluation>
    <preschoolBasicKnowledge v-if="activeBook.name == 'preschoolBasicKnowledge'"></preschoolBasicKnowledge> 
    <policiesAndRegulations v-if="activeBook.name == 'policiesAndRegulations'"></policiesAndRegulations>
    <OralAndBroadcasting v-if="activeBook.name == 'OralAndBroadcasting'" ></OralAndBroadcasting>
    <practicalCareChildrenManual v-if="activeBook.name == 'practicalCareChildrenManual'"></practicalCareChildrenManual>
    <childIllnessPreventionCare v-if="activeBook.name == 'childIllnessPreventionCare'"></childIllnessPreventionCare>
    <artInitiationForAges0to3 v-if="activeBook.name == 'artInitiationForAges0to3'"></artInitiationForAges0to3>
    <toddlerSportsSafetyProtection v-if="activeBook.name == 'toddlerSportsSafetyProtection'"></toddlerSportsSafetyProtection>
  </div>
</template>
<script>
@@ -75,6 +81,12 @@
    aurturingAndEducationAged0to3: () => import("./books/aurturingAndEducationAged0to3/view/index.vue"),
    preschoolEvaluation: () => import("./books/preschoolEvaluation/view/index.vue"),
    preschoolBasicKnowledge: ()=> import("./books/preschoolBasicKnowledge/view/index.vue"),
    policiesAndRegulations: ()=> import("./books/policiesAndRegulations/view/index.vue"),
    OralAndBroadcasting:()=> import("./books/OralAndBroadcasting/view/index.vue"),
    practicalCareChildrenManual: ()=> import("./books/practicalCareChildrenManual/view/index.vue"),
    childIllnessPreventionCare: ()=> import("./books/childIllnessPreventionCare/view/index.vue"),
    artInitiationForAges0to3: ()=> import("./books/artInitiationForAges0to3/view/index.vue"),
    toddlerSportsSafetyProtection : ()=> import("./books/toddlerSportsSafetyProtection/view/index.vue"),
  },
  data() {
    return {
@@ -113,25 +125,28 @@
      // mathBook
      // civilAviation       // 民航概论
      // civilServices       // 服务心理
      // meetingPlanners
      // aviationBasicSkills //基本技能
      // aviationSafety      //安全检查实务
      // aviationEtiquette   //礼仪服务
      // childcareInstitutionsManagement  //托育机构管理与实务
      // toddlerGameImplementation  //婴幼儿游戏活动实施
      // preschoolGameGuidance //学前游戏指导 preschoolGameGuidance
      // kindergartenLanguageActivity  //幼儿园语言活动 kindergartenLanguageActivity
      // kindergartenActivitiesDesignGuidance 幼儿园教育活动与指导 第2版
      // kindergartenLanguageActivity //幼儿园语言教育与活动指导
      // aurturingAndEducationAged0to3 //0~3岁婴幼儿抚育与教育
      // meetingPlanners     // 会议策划
      // aviationBasicSkills // 基本技能
      // aviationSafety      // 安全检查实务
      // aviationEtiquette   // 礼仪服务
      // childcareInstitutionsManagement  // 托育机构管理与实务
      // toddlerGameImplementation  // 婴幼儿游戏活动实施
      // preschoolGameGuidance // 学前游戏指导
      // kindergartenLanguageActivity // 幼儿园语言教育与活动指导
      // aurturingAndEducationAged0to3 // 0~3岁婴幼儿抚育与教育
      // preschoolEvaluation  // 学前教育评价
      // preschoolBasicKnowledge //学前教育基础知识
      // policiesAndRegulations  //政策法律与法规|旅游社
      // practicalCareChildrenManual // 婴幼儿照护实录
      //childIllnessPreventionCare //婴幼儿常见疾病预防与护理
      // artInitiationForAges0to3  // 0-3岁婴幼儿艺术启蒙
      // toddlerSportsSafetyProtection // 婴幼儿运动安全与保护
      this.activeBook = await this.config.getBookConfig(
        process.env.VUE_APP_RESOURCE_CTX +
        (process.env.VUE_APP_ENV == "product"
          ? process.env.VUE_APP_BOOK_ID
          : "kindergartenActivitiesDesignGuidance")
          : "toddlerSportsSafetyProtection")
      );
      // this.activeBook = await this.config.getBookConfig(
      //   'http://182.92.203.7:3007/books/resource/'+
      //   (process.env.VUE_APP_ENV == "product"