You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
3.6 KiB

<view class="group-con"><block wx:if="{{storeCombination}}"><view class="tui-goods-item"><image class="tui-goods-img" src="{{storeCombination.image}}"></image><view class="tui-goods-center"><view class="tui-goods-name">{{storeCombination.title}}</view><view class="tui-price__box"><view class="tui-goods-price"><view class="tui-size-24">¥</view><view class="tui-price-large">{{$root.g0[0]}}</view><view class="tui-size-24">{{"."+$root.g1[1]}}</view></view><view class="tui-price-tag">{{storeCombination.people+"人团"}}</view></view></view></view></block><view class="tui-group__box tui-mtop__20"><tui-divider vue-id="7b15c36c-1" backgroundColor="#fff" width="70%" gradual="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="tui-divider__content"><block wx:if="{{pinkBool==0}}"><text>进行中</text></block><block wx:if="{{pinkBool==1}}"><text>拼团成功</text></block><block wx:if="{{pinkBool==-1}}"><text>拼团失败</text></block></view></tui-divider><block wx:if="{{pinkBool==0}}"><view class="tui-group__title"><text>还差</text><text class="tui-color__red">{{count}}</text><text>人,赶快邀请好友来拼团吧</text></view></block><block wx:if="{{pinkBool==0}}"><view class="tui-group-countdown"><view class="tui-countdown-right">剩余</view><count-down vue-id="7b15c36c-2" isDay="{{true}}" tipText="倒计时 " dayText=" 天 " hourText=" 时 " minuteText=" 分 " secondText=" 秒" datatime="{{pinkT.stopTime}}" bind:__l="__l"></count-down><view class="tui-countdown-left">结束</view></view></block><view class="tui-user__box"><view class="tui-user__item"><view class="tui-avatar__box tui-size"><image class="tui-size" src="{{pinkT.avatar}}"></image><view class="tui-team__leader">团长</view></view></view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="tui-user__item"><block wx:if="{{pinkAll[index]}}"><view class="tui-avatar__box tui-size"><image class="tui-size" src="{{pinkAll[index].avatar}}"></image></view></block><block wx:else><view class="tui-avatar__box tui-user__none"><image class="tui-size" src="{{$VUE_APP_RESOURCES_URL+'/images/vacancy.png'}}"></image></view></block></view></block></view><view class="tui-btn__box"><block wx:if="{{userBool===1&&isOk==0&&pinkBool===0}}"><tui-button vue-id="7b15c36c-3" type="danger" height="88rpx" shadow="{{true}}" shape="circle" data-event-opts="{{[['^click',[['goPoster']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">邀请好友参团</tui-button></block><block wx:else><block wx:if="{{userBool===0&&pinkBool===0&&count>0}}"><tui-button vue-id="7b15c36c-4" type="warning" height="88rpx" shadow="{{true}}" shape="circle" data-event-opts="{{[['^click',[['pay']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">我要参团</tui-button></block></block><block wx:if="{{pinkBool===1||pinkBool===-1}}"><tui-button vue-id="7b15c36c-5" type="danger" height="88rpx" shadow="{{true}}" shape="circle" data-event-opts="{{[['^click',[['goDetail',['$0'],['storeCombination.id']]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">再次开团</tui-button></block><block wx:if="{{userBool===1&&pinkBool===0}}"><tui-button vue-id="7b15c36c-6" type="warning" height="88rpx" shadow="{{true}}" shape="circle" data-event-opts="{{[['^click',[['getCombinationRemove']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">取消开团</tui-button></block><block wx:if="{{pinkBool===1}}"><tui-button vue-id="7b15c36c-7" type="danger" height="88rpx" shadow="{{true}}" shape="circle" data-event-opts="{{[['^click',[['goOrder']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">查看订单信息</tui-button></block></view></view></view>