闫增涛
2024-05-15 172907557aceaa4622f2ca5ed084d32693da1724
src/App.vue
@@ -1,24 +1,31 @@
<template>
  <div id="app">
    <tempBook></tempBook>
    <childHealth v-if="config.activeBook.name == 'childHealth'"></childHealth>
    <!-- <English v-if="activeBook == 'English'"></English> -->
  </div>
</template>
<script>
import tempBook from './view/index.vue'
import childHealth from './books/childHealth/view/index.vue'
// import English from './books/English/view/index.vue'
export default {
  name: 'App',
  components: {
    tempBook
    childHealth,
    // English
  }
}
</script>
<style lang="less">
  html,body{
    width: 100%;
    height: 100%;
    margin: 0;
  }
  #app {
    width: 816px;
    margin: 0 auto;
    padding-bottom: 100px;
    width: 100%;
    height: 100%;
  }
</style>