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