From d539ff4e3376b889d212e90db1c3434f4b0de8d0 Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期五, 24 一月 2025 10:27:34 +0800 Subject: [PATCH] 托育 --- src/books/embedded/view/index.vue | 56 +++----------------------------------------------------- 1 files changed, 3 insertions(+), 53 deletions(-) diff --git a/src/books/embedded/view/index.vue b/src/books/embedded/view/index.vue index d298a9c..271a090 100644 --- a/src/books/embedded/view/index.vue +++ b/src/books/embedded/view/index.vue @@ -2,10 +2,6 @@ <div class="embedded-book" @mouseup="handleMouseUp" - :style="{ - fontSize: fontSize ? fontSize + 'px' : '16px', - transform: `scale(${pageZoom ? pageZoom : 1})`, - }" > <pageContent></pageContent> </div> @@ -27,57 +23,9 @@ isMouseDown: false, }; }, - computed: { - fontSize() { - return this.$store.state.qiankun.fontSize; - }, - pageZoom() { - return this.$store.state.qiankun.scale / 100; - }, - }, mounted() { }, methods: { - getBookInfo() { - let query = { - path: "*", - queryType: "*", - productId: this.config.bookId, - favoriteTypes: "FavoriteBookCity", - itemFields: { - "SysType=": "CmsFolder", - }, - coverSize: { - height: 300, - }, - fields: { - seriesName: [], - author: [], - isbn: [], - publicationDate: [], - bookClassification: [], - paperPrice: [], - JDLink: [], - tmallLink: [], - dangdangLink: [], - weidianLink: [], - content: [], - authorIntroduction: [], - // isApplyPaperBook: [], - // isApplyEBook: [], - isApplyBook: [], - isSell: [], - pdf: [], - protectedEpub: [], - probationPage: [], //pdf璇曡椤垫暟 - freeEpubPage: [], //epub璇曡鐧惧垎姣� - }, - }; - this.MG.store.getProductDetail(query).then((res) => { - this.$data.bookData = res.datas; - this.$store.commit("setRootCmsItemId", res.datas.rootCmsItemId); - }); - }, getParentWithClass(element, className) { while (element.parentElement) { element = element.parentElement; @@ -132,4 +80,6 @@ }; </script> -<style lang="less" scoped></style> \ No newline at end of file +<style lang="less"> +@import "../assets/main.less"; +</style> \ No newline at end of file -- Gitblit v1.9.1