| | |
| | | <template> |
| | | <div class="temp-book" @mouseup="handleMouseUp" > |
| | | <div |
| | | class="temp-book" |
| | | @mouseup="handleMouseUp" |
| | | :style="{ |
| | | fontSize: fontSize ? fontSize + 'px' : '16px', |
| | | transform: `scale(${pageZoom ? pageZoom : 1})`, |
| | | }" |
| | | > |
| | | <pageContent></pageContent> |
| | | </div> |
| | | </template> |
| | |
| | | export default { |
| | | name: "child-health", |
| | | components: { |
| | | pageContent |
| | | pageContent, |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | type: "option", |
| | | idPathList: [], |
| | | cardList: [], |
| | | isMouseDown: false |
| | | isMouseDown: false, |
| | | }; |
| | | }, |
| | | computed: { |
| | | |
| | | fontSize() { |
| | | return this.$store.state.qiankun.fontSize; |
| | | }, |
| | | pageZoom() { |
| | | return this.$store.state.qiankun.scale / 100; |
| | | }, |
| | | }, |
| | | mounted() { |
| | | this.getBookInfo(); |
| | |
| | | productId: this.config.bookId, |
| | | favoriteTypes: "FavoriteBookCity", |
| | | itemFields: { |
| | | "SysType=": "CmsFolder" |
| | | "SysType=": "CmsFolder", |
| | | }, |
| | | coverSize: { |
| | | height: 300 |
| | | height: 300, |
| | | }, |
| | | fields: { |
| | | seriesName: [], |
| | |
| | | pdf: [], |
| | | protectedEpub: [], |
| | | probationPage: [], //pdf试读页数 |
| | | freeEpubPage: [] //epub试读百分比 |
| | | } |
| | | freeEpubPage: [], //epub试读百分比 |
| | | }, |
| | | }; |
| | | this.MG.store.getProductDetail(query).then((res) => { |
| | | this.$data.bookData = res.datas; |
| | |
| | | txt, |
| | | page, |
| | | x: e.x, |
| | | y: e.y |
| | | y: e.y, |
| | | }); |
| | | } |
| | | } |
| | |
| | | txt: "", |
| | | page: "", |
| | | x: e.x, |
| | | y: e.y |
| | | y: e.y, |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |