user1
2024-06-13 59b7c7975f7ee38fc5a048a6b63cdaf9312908ee
src/App.vue
@@ -8,17 +8,27 @@
      v-if="activeBook.name == 'sportsAndHealth'"
    ></sportsAndHealth>
    <artAndDance v-if="activeBook.name == 'artAndDance'"></artAndDance>
    <artAndDrama v-if="activeBook.name == 'artAndDrama'"></artAndDrama>
    <math v-if="activeBook.name == 'math'"></math>
  </div>
</template>
<script>
import childHealth from "./books/childHealth/view/index.vue";
import lifeCare from "./books/lifeCare/index.vue";
import lifeCare from "./books/lifeCare/view/index.vue";
import embedded from "./books/embedded/view/index.vue";
import english from "./books/English/view/index.vue";
import sportsAndHealth from "./books/sportsAndHealth";
import sportsAndHealth from "./books/sportsAndHealth/view/index";
import artAndDance from './books/artAndDance/view/index.vue'
<<<<<<< HEAD
import artAndDrama from './books/artAndDrama/view/index.vue'
=======
import math from './books/math/view/index.vue'
>>>>>>> 5502440dd8d7c8f7d911904150d14bdfc2c35944
export default {
  name: "App",
  components: {
@@ -27,7 +37,12 @@
    embedded,
    english,
    sportsAndHealth,
    artAndDance
    artAndDance,
<<<<<<< HEAD
    artAndDrama
=======
    math
>>>>>>> 5502440dd8d7c8f7d911904150d14bdfc2c35944
  },
  data() {
    return {
@@ -40,6 +55,8 @@
        initTestBook: async (bookId, tryPageCount) => {
          // this.activeBook = await this.config.getBookConfig(this.config.resourceCtx + bookId);
          if (
            // "http://182.92.203.7:3007/books/resource/"
            // "https://jsek.bnuic.com/books/resource/"
            this.config.resourceCtx ==
            "http://182.92.203.7:3007/books/resource/"
          ) {
@@ -70,7 +87,13 @@
        // embedded
        // english
        // artAndDance
        this.config.resourceCtx + "english"
<<<<<<< HEAD
        // artAndDrama
        this.config.resourceCtx + "artAndDrama"
=======
        // math
        this.config.resourceCtx + "math"
>>>>>>> 5502440dd8d7c8f7d911904150d14bdfc2c35944
      );
      // 测试试读30页
      // this.activeBook.tryPageCount = 10;