From 60281f17ce073493a7e5910f210f7f2ba591823b Mon Sep 17 00:00:00 2001 From: davy Date: Tue, 8 Apr 2025 03:26:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96UI=EF=BC=9A1.=20=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E6=A0=87=E7=AD=BE=E9=A1=B5=E5=AF=BC=E8=88=AA=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=202.=20=E4=BC=98=E5=8C=96=E5=86=85=E5=AE=B9=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E5=8D=A1=E7=89=87=E9=98=B4=E5=BD=B1=E6=95=88=E6=9E=9C?= =?UTF-8?q?=203.=20=E8=B0=83=E6=95=B4=E5=9C=A8=E5=94=AE=E9=85=92=E6=AC=BE?= =?UTF-8?q?=E5=92=8C=E7=B4=AF=E7=A7=AF=E6=B4=BB=E5=8A=A8=E7=9A=84=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/BeerCard.vue | 9 +- pages/index/brandHome.vue | 825 ++++++++++++++++++++++++++------------ 2 files changed, 574 insertions(+), 260 deletions(-) diff --git a/components/BeerCard.vue b/components/BeerCard.vue index 00c9fc6..07288b6 100644 --- a/components/BeerCard.vue +++ b/components/BeerCard.vue @@ -46,11 +46,10 @@ box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.05); transition: all 0.3s ease; - &:active { transform: scale(0.98); } - + .beer-cover { width: 144rpx; height: 204rpx; @@ -58,7 +57,7 @@ border-radius: 12rpx; object-fit: cover; } - + .beer-info { .beer-name { font-size: 32rpx; @@ -82,7 +81,7 @@ margin-right: 12rpx; border-radius: 50%; } - + .brand-name { font-size: 28rpx; color: #1E2019; @@ -104,7 +103,7 @@ margin-right: 4rpx; } } - + .review-count { color: #5F5F63; font-size: 24rpx; diff --git a/pages/index/brandHome.vue b/pages/index/brandHome.vue index d8e973a..026fffe 100644 --- a/pages/index/brandHome.vue +++ b/pages/index/brandHome.vue @@ -14,120 +14,213 @@ + + - - + + {{ breweryInfo.brandName}} - {{breweryInfo.country}}·{{breweryInfo.province}}·{{breweryInfo.city}} + + + {{breweryInfo.country}}·{{breweryInfo.province}}·{{breweryInfo.city}} + - - + + - - + + - + {{ beerTotal}} 在售酒款 + {{ breweryInfo.buildingDate && breweryInfo.buildingDate.substr(0,4)}} since + {{myCoin || '--'}} 啤酒币 - - - {{breweryInfo.desc}} + + + {{breweryInfo.desc}} + + + + + 在售酒款 + + + 累积活动 + + + 啤酒币兑换 + + + + - - 累积活动 - 在售酒款 - 啤酒币兑换 - - - - - - - - - - - - - {{ it.beerName}} - {{ it.beerStyles }} - {{ it.brandName }} - - - - {{ it.beerOverallRating || 0 }}({{ it.beerReviewsCount || 0}}) - + + + + + + + + + + 加载中... + + 没有更多了 + + + + + 暂无在售酒款 - + + + + + + + + 暂无活动 + + + + + + + + + + + + 加载中... + + 没有更多了 + + + + - - - - - - - - - {{ item.goodsName }} - - - - {{ item.redeemedNum}} - - + + + + + + + {{item.goodsName}} + + + {{item.redeemedNum}} + + + {{item.brandName}} + - - + + + + + 加载中... + + 没有更多了 + + + + + 暂无兑换商品 + + - \ No newline at end of file