From 3b9668925cee7a1fd371a5c36e9c149c6ea6346c Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 14 五月 2024 21:17:25 +0800 Subject: [PATCH] 题目 --- src/App.vue | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/App.vue b/src/App.vue index 1bd3cc2..5f1ce5a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,25 +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 './books/childHealth/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 { - max-width: 816px; - min-width: 375px; - margin: 0 auto; - padding-bottom: 100px; + width: 100%; + height: 100%; } </style> -- Gitblit v1.9.1