zhongshujie
昨天 d11b7bf0ecbf1662ca96c127beda0581ecfd6853
src/App.vue
@@ -46,6 +46,8 @@
    <MMVRTCMP v-if="activeBook.name == 'MMVRTCMP'"></MMVRTCMP>
    <civilPassengerTransport v-if="activeBook.name == 'civilPassengerTransport'"> </civilPassengerTransport>
    <UAVTechIntro v-if="activeBook.name == 'UAVTechIntro'"></UAVTechIntro>
    <textToddlerSportsSafetyProtection v-if="activeBook.name == 'textToddlerSportsSafetyProtection'">
    </textToddlerSportsSafetyProtection>
  </div>
</template>
<script>
@@ -131,7 +133,10 @@
    MMVRTCMP: () => import("./books/MMVRTCMP/view/index.vue"),
    civilPassengerTransport: () =>
      import("./books/civilPassengerTransport/view/index.vue"),
    UAVTechIntro: () => import("./books/UAVTechIntro/view/index.vue")
    UAVTechIntro: () => import("./books/UAVTechIntro/view/index.vue"),
    textToddlerSportsSafetyProtection: () => import(
      "./books/textToddlerSportsSafetyProtection/view/index.vue"
    ),
  },
  data() {
    return {
@@ -177,7 +182,7 @@
      // botany                                 // 植物学(农大社)
      // childcareInstitutionsManagement        // 托育机构管理与实务
      // toddlerGameImplementation              // 婴幼儿游戏活动实施
      // preschoolGameGuidance                  // 学前游戏指导
      // preschoolGameGuidance                  // 幼儿游戏与指导
      // kindergartenLanguageActivity           // 幼儿园语言教育与活动指导
      // kindergartenActivitiesDesignGuidance   // 幼儿园教育活动设计与指导
      // aurturingAndEducationAged0to3          // 0~3岁婴幼儿抚育与教育
@@ -198,11 +203,12 @@
      // MMVRTCMP                               // 视觉手册
      // civilPassengerTransport                // 民航旅客运输
      // UAVTechIntro                           // 无人机应用技术导论
      // textToddlerSportsSafetyProtection      // 测试图书
      this.activeBook = await this.config.getBookConfig(
        process.env.VUE_APP_RESOURCE_CTX +
        (process.env.VUE_APP_ENV == "product"
          ? process.env.VUE_APP_BOOK_ID
          : "UAVTechIntro")
          : "preschoolEvaluation")
      );
      // 测试试读30页
      // this.activeBook.tryPageCount = 10;