unknown
2024-06-13 c0e4157169e151fe4ada71d3abbd82aa78c4d71e
src/App.vue
@@ -3,22 +3,23 @@
    <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>
    <mathDom v-if="activeBook.name == 'math'"></mathDom>
  </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'
import mathDom from './books/math/view/index'
export default {
  name: "App",
  components: {
@@ -27,7 +28,8 @@
    embedded,
    english,
    sportsAndHealth,
    artAndDance
    artAndDance,
    mathDom
  },
  data() {
    return {
@@ -72,7 +74,8 @@
        // embedded
        // english
        // artAndDance
        this.config.resourceCtx + "english"
        // math
        this.config.resourceCtx + "sportsAndHealth"
      );
      // 测试试读30页
      // this.activeBook.tryPageCount = 10;