| | |
| | | <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> |