From 96fc14f8a8a2ddebeda887f30c902a51bb97b61a Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期二, 14 五月 2024 21:16:51 +0800
Subject: [PATCH] 增加页面跳转

---
 src/App.vue |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 85e1e12..5f1ce5a 100644
--- a/src/App.vue
+++ b/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>

--
Gitblit v1.9.1