| | |
| | | <sportsAndHealth |
| | | v-if="activeBook.name == 'sportsAndHealth'" |
| | | ></sportsAndHealth> |
| | | <artAndDance v-if="activeBook.name == 'artAndDance'"></artAndDance> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import embedded from "./books/embedded/view/index.vue"; |
| | | import english from "./books/English/view/index.vue"; |
| | | import sportsAndHealth from "./books/sportsAndHealth"; |
| | | import artAndDance from './books/artAndDance/view/index.vue' |
| | | |
| | | export default { |
| | | name: "App", |
| | |
| | | lifeCare, |
| | | embedded, |
| | | english, |
| | | sportsAndHealth |
| | | sportsAndHealth, |
| | | artAndDance |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | if (tryPageCount) { |
| | | this.activeBook.tryPageCount = tryPageCount; |
| | | } |
| | | console.log("图书", this.activeBook); |
| | | if ( |
| | | (this.$store.state.qiankun, this.$store.state.qiankun.getBookConfig) |
| | | ) { |
| | |
| | | // childHealth |
| | | // lifeCare |
| | | // sportsAndHealth |
| | | this.config.resourceCtx + "english" |
| | | // embedded |
| | | // english |
| | | // artAndDance |
| | | this.config.resourceCtx + "lifeCare" |
| | | ); |
| | | // 测试试读30页 |
| | | // this.activeBook.tryPageCount = 10; |
| | | |
| | | this.config.activeBook = this.activeBook; |
| | | this.config.goodsStore = this.activeBook.storeRefcode; |
| | | } |