user1
2024-06-13 b83dfcd4b8c31b2ba07770157d5ef0aba828e72d
src/App.vue
@@ -3,12 +3,13 @@
    <childHealth v-if="activeBook.name == 'childHealth'"></childHealth>
    <lifeCare v-if="activeBook.name == 'lifeCare'"></lifeCare>
    <embedded v-if="activeBook.name == 'embedded'"></embedded>
    <english v-if="activeBook.name == 'english'"> </english>
    <english v-if="activeBook.name == 'english'"></english>
    <sportsAndHealth
      v-if="activeBook.name == 'sportsAndHealth'"
    ></sportsAndHealth>
    <artAndDance v-if="activeBook.name == 'artAndDance'"></artAndDance>
    <math v-if="activeBook.name == 'math'"></math>
    <artAndDrama v-if="activeBook.name == 'artAndDrama'"></artAndDrama>
    <mathBook v-if="activeBook.name == 'math'"></mathBook>
  </div>
</template>
@@ -19,7 +20,8 @@
import english from "./books/English/view/index.vue";
import sportsAndHealth from "./books/sportsAndHealth/view/index";
import artAndDance from './books/artAndDance/view/index.vue'
import math from './books/math/view/index.vue'
import mathBook from './books/math/view/index.vue'
import artAndDrama from './books/artAndDrama/view/index.vue'
export default {
  name: "App",
  components: {
@@ -29,7 +31,8 @@
    english,
    sportsAndHealth,
    artAndDance,
    math
    mathBook,
    artAndDrama
  },
  data() {
    return {
@@ -74,8 +77,9 @@
        // embedded
        // english
        // artAndDance
        // artAndDrama
        // math
        this.config.resourceCtx + "math"
        this.config.resourceCtx + "artAndDrama"
      );
      // 测试试读30页
      // this.activeBook.tryPageCount = 10;