| | |
| | | <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> |
| | | <math v-if="activeBook.name == 'math'"></math> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import english from "./books/English/view/index.vue"; |
| | | import sportsAndHealth from "./books/sportsAndHealth/view/index"; |
| | | import artAndDance from './books/artAndDance/view/index.vue' |
| | | |
| | | import math from './books/math/view/index.vue' |
| | | export default { |
| | | name: "App", |
| | | components: { |
| | |
| | | embedded, |
| | | english, |
| | | sportsAndHealth, |
| | | artAndDance |
| | | artAndDance, |
| | | math |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | // embedded |
| | | // english |
| | | // artAndDance |
| | | this.config.resourceCtx + "lifeCare" |
| | | // math |
| | | this.config.resourceCtx + "math" |
| | | ); |
| | | // 测试试读30页 |
| | | // this.activeBook.tryPageCount = 10; |