| | |
| | | <template> |
| | | <div class="temp-book" @mouseup="handleMouseUp"> |
| | | <div class="temp-book" @mouseup="handleMouseUp" > |
| | | <pageContent></pageContent> |
| | | </div> |
| | | </template> |
| | |
| | | cardList: [], |
| | | isMouseDown: false |
| | | }; |
| | | }, |
| | | computed: { |
| | | |
| | | }, |
| | | mounted() { |
| | | this.getBookInfo(); |
| | |
| | | } |
| | | }; |
| | | this.MG.store.getProductDetail(query).then((res) => { |
| | | console.log("图书信息", res.datas); |
| | | this.$data.bookData = res.datas; |
| | | this.$store.commit("setRootCmsItemId", res.datas.rootCmsItemId); |
| | | }); |
| | |
| | | y: e.y |
| | | }); |
| | | } |
| | | console.log("选中的文字", { |
| | | chapterNum, |
| | | txt, |
| | | selection, |
| | | node, |
| | | page, |
| | | x: e.x, |
| | | y: e.y |
| | | }); |
| | | } |
| | | } else { |
| | | if (this.$store.state.qiankun.windowSelection) { |
| | |
| | | chapterNum: "", |
| | | txt: "", |
| | | page: "", |
| | | x: "", |
| | | y: "" |
| | | x: e.x, |
| | | y: e.y |
| | | }); |
| | | } |
| | | } |