|
|
|
@ -71,16 +71,17 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="pintuan group-live-card" style="padding: 0;margin-top:20rpx;display: flex;" |
|
|
|
v-if="orderListWait.length > 0" @tap="openOrderWait('')"> |
|
|
|
<view class="pintuan group-live-card" :class="{'group-live-card-empty': orderListWait.length === 0}" |
|
|
|
style="padding: 0;margin-top:20rpx;display: flex;" |
|
|
|
@tap="openOrderWait('')"> |
|
|
|
<view class="live-card-header"> |
|
|
|
<view class="live-title-wrap"> |
|
|
|
<image class="live-title-gif" src="/static/images/img/loading.gif" mode="aspectFit"></image> |
|
|
|
<view class="live-title">你知道吗?拼团和期末不挂科一样重要!</view> |
|
|
|
</view> |
|
|
|
<view class="live-pill">去凑团</view> |
|
|
|
<view class="live-pill" v-if="orderListWait.length > 0">去凑团</view> |
|
|
|
</view> |
|
|
|
<swiper class="zaixian-swiper" vertical circular :autoplay="orderListWait.length > 0" |
|
|
|
<swiper v-if="orderListWait.length > 0" class="zaixian-swiper" vertical circular :autoplay="orderListWait.length > 0" |
|
|
|
:interval="onlineWorkerInterval" :duration="onlineWorkerDuration"> |
|
|
|
<swiper-item v-for="(item,index) in orderListWait" :key="index"> |
|
|
|
<view class="live-swiper-item"> |
|
|
|
@ -1156,7 +1157,7 @@ |
|
|
|
that.orderListWait = res.result; |
|
|
|
for (let i = 0; i < that.productItem.length; i++) { |
|
|
|
that.productItem[i].orderListWait = [] |
|
|
|
if (that.orderListWait != null) { |
|
|
|
if (that.orderListWait != null && that.orderListWait.length > 0) { |
|
|
|
that.productItem[i].minGroupCount = that.orderListWait[0].targetMembers - that |
|
|
|
.orderListWait[0].currentMembers |
|
|
|
for (let y = 0; y < that.orderListWait.length; y++) { |
|
|
|
@ -2689,6 +2690,10 @@ |
|
|
|
box-shadow: 0 12rpx 28rpx rgba(0, 35, 28, 0.08); |
|
|
|
} |
|
|
|
|
|
|
|
.group-live-card-empty { |
|
|
|
padding-bottom: 10rpx !important; |
|
|
|
} |
|
|
|
|
|
|
|
.group-live-card::after { |
|
|
|
content: ''; |
|
|
|
position: absolute; |
|
|
|
|