index.wxml 4.5 KB

1
  1. <app-layout vue-id="59f924e4-1" class="data-v-8ed72f3c" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view style="{{'height:'+(windowHeight+'px')+';'}}" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['getMore',['$event']]]]]}}" bindscrolltolower="__e" class="data-v-8ed72f3c"><app-tab-nav vue-id="{{('59f924e4-2')+','+('59f924e4-1')}}" setTop="0" tabList="{{tabList}}" padding="0" theme="{{getTheme}}" activeItem="{{activeTab}}" data-event-opts="{{[['^click',[['tabStatus']]]]}}" bind:click="__e" class="data-v-8ed72f3c" bind:__l="__l"></app-tab-nav><block wx:if="{{list.length>0}}"><view class="data-v-8ed72f3c"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view class="list data-v-8ed72f3c"><view class="title main-between cross-center data-v-8ed72f3c"><view class="title-name data-v-8ed72f3c"><view class="title-text data-v-8ed72f3c">{{item.title}}</view><block wx:if="{{item.condition>0}}"><view class="data-v-8ed72f3c">{{"满"+item.num+(item.condition==1?'人':'件')+"成团,已参团"+(item.condition_count?item.condition_count:'0')+(item.condition==1?'人':'件')}}</view></block></view><view class="status-text data-v-8ed72f3c" style="{{'color:'+(getTheme.color)+';'}}">{{item.statusText}}</view></view><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['list','id',item.id,'id']]]]]]]}}" class="goods-list data-v-8ed72f3c" bindtap="__e"><view class="dir-left-nowrap data-v-8ed72f3c"><block wx:for="{{item.communityGoods_4}}" wx:for-item="goods" wx:for-index="__i0__" wx:key="id"><view class="goods data-v-8ed72f3c"><image mode="aspectFill" src="{{goods.cover_pic}}" class="data-v-8ed72f3c"></image></view></block></view><image class="right-arrow data-v-8ed72f3c" src="/static/image/icon/arrow-right.png"></image></view><view class="main-between cross-center other data-v-8ed72f3c"><view class="data-v-8ed72f3c">{{"共"+item.goods_count+"件商品"}}</view><view class="dir-right-nowrap data-v-8ed72f3c"><block wx:if="{{item.status_name=='未开始'||item.status_name=='进行中'}}"><view data-event-opts="{{[['tap',[['showHiddenClick',['$0'],[[['list','id',item.id]]]]]]]}}" class="other-button normal-button data-v-8ed72f3c" bindtap="__e">分享</view></block><block wx:if="{{item.status_name=='已结束'&&item.is_success==1&&item.is_remind==0}}"><view data-event-opts="{{[['tap',[['toRemind',['$0',index],[[['list','id',item.id,'id']]]]]]]}}" class="other-button data-v-8ed72f3c" style="{{'color:'+(getTheme.color)+';'+('border-color:'+(getTheme.border)+';')}}" bindtap="__e">通知提货</view></block><block wx:if="{{item.status_name=='已结束'&&item.is_success==1&&item.is_remind==1}}"><view class="other-button un-active data-v-8ed72f3c">通知提货</view></block><block wx:if="{{item.status_name!='未开始'}}"><view data-event-opts="{{[['tap',[['toOrder',['$0'],[[['list','id',item.id]]]]]]]}}" class="other-button normal-button data-v-8ed72f3c" bindtap="__e">本团订单</view></block></view></view></view></block></view></block><block wx:else><view class="empty-box data-v-8ed72f3c"><image src="/static/image/order-empty.png" class="data-v-8ed72f3c"></image><label class="_span data-v-8ed72f3c">{{"暂无"+(activeTab==0?'未开始':activeTab==1?'进行中':activeTab==2?'已结束':'')+"活动"}}</label></view></block><view class="data-v-8ed72f3c"><app-share-qr-code vue-id="{{('59f924e4-3')+','+('59f924e4-1')}}" posterUrl="{{'/plugins/community/poster/poster?activity_id='+id+'&middleman_id=0'}}" hasPosterNav="{{showShare}}" url="{{poster}}" title="生成活动海报" value="{{showShare}}" data-event-opts="{{[['^share',[['hShareAppMessage']]],['^input',[['__set_model',['','showShare','$event',[]]]]]]}}" bind:share="__e" bind:input="__e" class="data-v-8ed72f3c" bind:__l="__l"></app-share-qr-code></view><block wx:if="{{showRemind}}"><view class="dialog-bg main-center cross-center data-v-8ed72f3c"><view class="dialog data-v-8ed72f3c"><view class="dialog-content data-v-8ed72f3c">确认通知提货?</view><view class="dialog-btn main-between data-v-8ed72f3c"><view data-event-opts="{{[['tap',[['toRemind',['$event']]]]]}}" class="btn data-v-8ed72f3c" style="color:#666;" bindtap="__e">取消</view><view class="line data-v-8ed72f3c"></view><view data-event-opts="{{[['tap',[['remind',['$event']]]]]}}" class="btn data-v-8ed72f3c" style="{{'color:'+(getTheme.color)+';'}}" bindtap="__e">确认</view></view></view></view></block><app-menu vue-id="{{('59f924e4-4')+','+('59f924e4-1')}}" theme="{{getTheme}}" active="activity" class="data-v-8ed72f3c" bind:__l="__l"></app-menu></scroll-view></app-layout>