From b2b883b0eda63eaa8a5b85ed6f25cd983dbf801a Mon Sep 17 00:00:00 2001 From: ld0104 <3037885725@qq.com> Date: Thu, 10 Nov 2022 18:27:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E5=88=B8=E4=B8=AD=E5=BF=83=EF=BC=8C?= =?UTF-8?q?=E6=88=91=E7=9A=84=E5=88=B8=E5=8C=85=E5=A2=9E=E5=8A=A0=E5=95=86?= =?UTF-8?q?=E5=93=81=E4=B8=93=E7=94=A8=E5=88=B8=EF=BC=8C=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=A6=9C=E5=8D=95=E8=B7=B3=E8=BD=AC=E7=83=AD=E9=97=A8=E6=A6=9C?= =?UTF-8?q?=E5=8D=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/style.css | 3 ++- assets/css/style.less | 3 ++- pages/activity/activity/index.vue | 7 +++--- pages/home/index.vue | 35 +++++++++++++++----------- pages/user/coupon/GetCoupon/index.vue | 30 +++++++++++++++++++--- pages/user/coupon/UserCoupon/index.vue | 31 ++++++++++++++++++++--- 6 files changed, 82 insertions(+), 27 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index f665d16..5bc8403 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -301,13 +301,14 @@ page { z-index: 1; } .coupon-list .item .coupon-left .text-box { - padding-top: 46rpx; + /* padding-top: 46rpx; */ padding-left: 46rpx; padding-right: 22rpx; position: relative; z-index: 2; } .coupon-list .item .coupon-left .text-box .money { + padding-top: 46rpx; font-size: 92rpx; font-family: Futura; font-weight: 600; diff --git a/assets/css/style.less b/assets/css/style.less index 8064b44..a0224f5 100644 --- a/assets/css/style.less +++ b/assets/css/style.less @@ -478,12 +478,13 @@ page { } .coupon-list .item .coupon-left .text-box { - padding-top: 46rpx; + // padding-top: 46rpx; padding-left: 46rpx; padding-right: 22rpx; position: relative; z-index: 2; .money { + padding-top: 46rpx; font-size: 92rpx; font-family: Futura; font-weight: 600; diff --git a/pages/activity/activity/index.vue b/pages/activity/activity/index.vue index 1d883ab..4051e8c 100644 --- a/pages/activity/activity/index.vue +++ b/pages/activity/activity/index.vue @@ -27,7 +27,7 @@ - + 秒杀专区 @@ -45,7 +45,8 @@ {{activityType==0?'下期预告':'已参与'}} - + + {{timeList[seckillActive].status == 2 ? timeList[seckillActive].time + '即将开始' : '本轮结束仅剩'}} @@ -92,7 +93,7 @@ - + diff --git a/pages/home/index.vue b/pages/home/index.vue index eae9e74..d444cb9 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -757,22 +757,27 @@ // }, // }) // }, + // goGoodsCon(item) { + // if(item.isIntegral === 1) { + // this.$yrouter.push({ + // path: '/pages/shop/IntegralGoodsCon/index', + // query: { + // id: item.id, + // }, + // }) + // } else { + // this.$yrouter.push({ + // path: '/pages/shop/GoodsCon/index', + // query: { + // id: item.id, + // }, + // }) + // } + // }, goGoodsCon(item) { - if(item.isIntegral === 1) { - this.$yrouter.push({ - path: '/pages/shop/IntegralGoodsCon/index', - query: { - id: item.id, - }, - }) - } else { - this.$yrouter.push({ - path: '/pages/shop/GoodsCon/index', - query: { - id: item.id, - }, - }) - } + this.$yrouter.push({ + path: '/pages/shop/HotNewGoods/index', + }) }, // goGoodsPromotion() { diff --git a/pages/user/coupon/GetCoupon/index.vue b/pages/user/coupon/GetCoupon/index.vue index f7c3a2d..ab9804f 100644 --- a/pages/user/coupon/GetCoupon/index.vue +++ b/pages/user/coupon/GetCoupon/index.vue @@ -35,12 +35,16 @@ - ¥{{ item.couponPrice }} + + + + ¥{{ item.couponPrice }} + - + - 全部商品可用 + {{item.cname}} 不限时 {{ item.startTime }}-{{ item.endTime }} @@ -48,7 +52,7 @@ - {{'满减券' || '折扣券'}} + {{(item.image.length>0?(item.couponPrice)+'元' :'满减券') || '折扣券'}} 满{{ item.useMinPrice }}可用 去使用 @@ -201,6 +205,24 @@ export default {