From 2e0e29a3d148d572187e6eda985cd176fced1ff3 Mon Sep 17 00:00:00 2001 From: davy Date: Sat, 5 Apr 2025 16:55:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B4=BB=E5=8A=A8=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F=E5=92=8C=E5=B8=83?= =?UTF-8?q?=E5=B1=80=EF=BC=9A1.=20=E8=B0=83=E6=95=B4=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=97=B4=E8=B7=9D=202.=20=E4=BC=98=E5=8C=96=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E4=BD=93=E9=AA=8C=203.=20=E4=BF=AE=E5=A4=8D=E9=A6=96=E4=B8=AA?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E9=81=AE=E7=9B=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/activityList/activityList.vue | 82 ------- pages/index/index.vue | 319 +++++++++++----------------- 2 files changed, 124 insertions(+), 277 deletions(-) diff --git a/pages/activityList/activityList.vue b/pages/activityList/activityList.vue index d50f213..20d9f48 100644 --- a/pages/activityList/activityList.vue +++ b/pages/activityList/activityList.vue @@ -311,86 +311,4 @@ margin-top: 104rpx; // 筛选栏高度 padding: 24rpx 32rpx; } - - .activity-item { - border-radius: 20rpx; - background: #FDFDFD; - box-sizing: border-box; - border: 1px solid #F2F2F2; - width: 702rpx; - margin-bottom: 32rpx; - .left { - padding: 24rpx 20rpx; - border-radius: 20rpx; - background: #FFFFFF; - box-sizing: border-box; - border: 1px solid #EFEDE9; - width: 180rpx; - margin-top: -10rpx; - margin-bottom: -10rpx; - } - - .right { - padding: 20rpx; - flex:1; - .title { - font-family: Source Han Sans; - font-size: 28rpx; - font-weight: bold; - line-height: 30rpx; - color: #0B0E26; - margin-bottom: 20rpx; - } - - .sub { - font-family: Source Han Sans; - font-size: 24rpx; - font-weight: 500; - line-height: 30rpx; - color: #0B0E26; - margin-bottom: 16rpx; - - } - - .scroll-img { - width: 500rpx; - display: flex; - flex-direction: row; - white-space: nowrap; - height: 144rpx; - margin-bottom: 20rpx; - - .beer-box { - width: 100rpx; - background: #FFFFFF; - margin-right: 20rpx; - box-sizing: border-box; - display: inline-block; - - // &:nth-child(1) { - // margin-left: 32rpx; - // } - - .cover { - width: 100rpx; - height: 144rpx; - border-radius: 10rpx; - } - - } - } - .zeng { - font-family: Source Han Sans; - font-size: 20rpx; - font-weight: bold; - line-height: normal; - text-align: center; - color: #0B0E26; - padding: 8rpx 12rpx; - border-radius: 10rpx; - background: #FEE034; - margin-right: 20rpx; - } - } - } \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 7ee4607..c0d8d9d 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -58,63 +58,31 @@ - - 热门活动招募 - - + + + + - - - - - --> - - - - - - - 活动状态 - 未开始 - 已结束 - 已结束 - 活动停止 - 招募即将结束 - - {{it.remainingDays}}天 - - - - {{ it.breweryName }}焦糖 - - 时间:首次扫码开始累计 {{it.duration?it.duration:0}}天内 - 目标:全系列酒款累积扫码 ≥ {{ it.activityTarget?it.activityTarget:0}}桶 - - - - - - - - 焦糖肉桂红柿子*3L*1 - - - - - - + 更多热门活动招募 -