功能完善

This commit is contained in:
2024-04-14 01:05:08 +08:00
parent a270c9be70
commit b676a1acd9
80 changed files with 118 additions and 52 deletions

View File

@@ -55,7 +55,7 @@
</view>
</view>
<view class='recommend-view c-flex-column'>
<view class='recommend-view c-flex-column' v-if='recommendList?.length>0'>
<text>浏览此商品的客户还浏览了</text>
<scroll-view scroll-x>
<view style='display: inline-block' v-for='(item, index) in recommendList'
@@ -164,12 +164,14 @@ const currentPageNum = ref(1);
onLoad(async (e: any) => {
if(isLogin()) {
await uni.showLoading();
groupBuyBean.value = await getGroupBuyDetail(e.id);
groupBuyBean.value.goods.price = groupBuyBean.value.price;
bannerList.value = JSON.parse(groupBuyBean.value.content).filter((item: any) => item.type === 2).map((item: any) => item.images);
countdown();
await fetchRecommendList();
await fetchBuyRecordList();
uni.hideLoading();
}
});
@@ -306,8 +308,7 @@ const placeOrder = async () => {
height: 130rpx;
position: relative;
padding: 15rpx 30rpx;
background: #F32B2B;
//background-image: url('../../../static/images/bg_groupbuy_countdown.png');
background-image: url('https://img.lakeapp.cn/wx/images/bg_groupbuy_countdown.png');
background-size: 100% 100%;
.super-second-kill {