From 0c81f5afd5ec5153ae6aba86f19f2fa4c0b25b67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=BE=81?= Date: Tue, 17 May 2022 16:10:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/UiGoodsItem.vue | 15 ++++++++++++--- pages/goods/detail/_id.vue | 27 ++++++++++++++++++--------- 2 files changed, 30 insertions(+), 12 deletions(-) diff --git a/components/UiGoodsItem.vue b/components/UiGoodsItem.vue index 240f517..074d468 100644 --- a/components/UiGoodsItem.vue +++ b/components/UiGoodsItem.vue @@ -8,7 +8,7 @@ {{ item.name }}
- + {{ item.startingPrice }}
@@ -44,7 +44,7 @@ export default { // this.$router.push({ // path: "/goods/detail/" + this.item.id, // }); - window.open("/goods/detail/" + this.item.id) + window.open("/goods/detail/" + this.item.id); }, }, }; @@ -56,7 +56,7 @@ export default { cursor: pointer; background: #ffffff; - &:hover{ + &:hover { box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.10000000149011612); } @@ -93,6 +93,15 @@ export default { &__price { width: 200px; margin: 0 auto; + + &--txt { + font-size: 14px; + color: #ff512b; + &::before { + content: "¥"; + font-size: 14px; + } + } } } diff --git a/pages/goods/detail/_id.vue b/pages/goods/detail/_id.vue index af7ba91..48f70ea 100644 --- a/pages/goods/detail/_id.vue +++ b/pages/goods/detail/_id.vue @@ -104,13 +104,11 @@
售价 - + {{ + detailData.productActivityVO.isStartActivity + ? detailData.productActivityVO.activityPrice + : detailData.startingPrice + }}