From 3768c08a1b81aafce9fa188586b9728b33a6b2cc Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 29 五月 2024 21:55:50 +0800 Subject: [PATCH] 轮播 --- src/books/embedded/view/index.vue | 44 +++----------------------------------------- 1 files changed, 3 insertions(+), 41 deletions(-) diff --git a/src/books/embedded/view/index.vue b/src/books/embedded/view/index.vue index d298a9c..ef05ec6 100644 --- a/src/books/embedded/view/index.vue +++ b/src/books/embedded/view/index.vue @@ -38,46 +38,6 @@ 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 +92,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