wangfukang 3 weeks ago
parent
commit
c1de93ca6c
  1. 1081
      package2/group/groupBuyList.vue
  2. 15
      package2/group/groupBuySingle.vue
  3. 1945
      package2/group/studentStoreList.vue

1081
package2/group/groupBuyList.vue

File diff suppressed because it is too large

15
package2/group/groupBuySingle.vue

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

1945
package2/group/studentStoreList.vue

File diff suppressed because it is too large
Loading…
Cancel
Save