From db28ffbcf6fba15405603fc1a260698c24e35ebd Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 16 Dec 2021 10:30:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BigImgCell/index.vue | 2 +- src/components/DlcCell/index.vue | 3 +- src/components/ImageSwiper/index.vue | 4 ++- src/components/PriceCell/index.vue | 10 +++--- src/pages.json | 2 +- src/pages/index/index.vue | 2 +- src/pages/info/index.vue | 46 ++++++++++++++++++++++++++-- src/pages/list/index.vue | 23 +++++++++++--- 8 files changed, 74 insertions(+), 18 deletions(-) diff --git a/src/components/BigImgCell/index.vue b/src/components/BigImgCell/index.vue index aada459..c481378 100644 --- a/src/components/BigImgCell/index.vue +++ b/src/components/BigImgCell/index.vue @@ -9,7 +9,7 @@ {{gData.name}} - ({{gData.subName}}) + diff --git a/src/components/DlcCell/index.vue b/src/components/DlcCell/index.vue index 931eb35..94e0fbf 100644 --- a/src/components/DlcCell/index.vue +++ b/src/components/DlcCell/index.vue @@ -10,7 +10,8 @@ {{data.name}} - ¥{{(~~data.price/100)}} + ¥{{(data.price/100)}} + 免费 diff --git a/src/components/ImageSwiper/index.vue b/src/components/ImageSwiper/index.vue index a10fe66..c484d88 100644 --- a/src/components/ImageSwiper/index.vue +++ b/src/components/ImageSwiper/index.vue @@ -3,7 +3,7 @@ - + @@ -35,6 +35,7 @@ export default class extends Vue{ changeBigPic(index: number){ this.current = index; + this.$emit('imgChange', index) } } @@ -51,4 +52,5 @@ scroll-view ::-webkit-scrollbar { height: 0; background-color: transparent; } +.blurImage{} diff --git a/src/components/PriceCell/index.vue b/src/components/PriceCell/index.vue index fd3e550..e3152f0 100644 --- a/src/components/PriceCell/index.vue +++ b/src/components/PriceCell/index.vue @@ -6,7 +6,7 @@ - + 剩余{{data.leftTime}} @@ -34,9 +34,7 @@ declare module 'vue/types/vue' { props: ['data'], }) export default class extends Vue{ - private isLow() { - return !!this.data.isLowestPrice - } + } diff --git a/src/pages/list/index.vue b/src/pages/list/index.vue index 3281bfe..3a16611 100644 --- a/src/pages/list/index.vue +++ b/src/pages/list/index.vue @@ -1,5 +1,6 @@