index.wxml 2.4 KB

1
  1. <view style="{{(colorStyle)}}"><view class="flash-sale"><view class="header"><image class="presellBg _img" mode="widthFix" src="{{picUrl}}" alt></image></view><view class="main_count"><view class="presellList acea-row row-between-wrapper"><view class="timeList"><block wx:for="{{timeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view data-event-opts="{{[['tap',[['settimeList',['$0','$1'],[[['timeList','',index]],[['timeList','',index,'key']]]]]]]}}" class="{{['item',active==index+1?'on':'']}}" bindtap="__e"><view class="time"><label class="_span">{{item.name||''}}</label></view></view></block></block></view></view><view class="list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view data-event-opts="{{[['tap',[['goDetails',['$0'],[[['presellList','',index]]]]]]]}}" class="item acea-row row-between-wrapper" bindtap="__e"><view class="pictrue"><image src="{{item.$orig.image}}"></image></view><view class="text acea-row row-column-around"><view class="name line2">{{item.$orig.store_name||''}}</view><view class="booking"><block wx:if="{{item.$orig.presell_type!=0&&active!=1}}"><text class="count" style="color:#999;">{{item.m0+(item.$orig.sales?item.$orig.sales:0)+(item.$orig.unit_name||'')}}</text></block><block wx:else><text style="color:#999;font-size:24rpx;">{{item.m1}}</text></block></view><block wx:if="{{item.$orig.coupon}}"><view class="coupon acea-row row-between-wrapper" style="margin-top:14rpx;"><view class="hide line1 acea-row"><view class="activity"></view></view></view></block><view class="progress"><view class="presell_price"><text class="presell_text">{{$root.m2}}</text><text class="price">{{$root.m3+''}}<text>{{item.$orig.price}}</text></text></view><text class="iconfont icon-yushouanniu"></text><block wx:if="{{active!=1}}"><view class="order_btn">{{''+(active===2?$root.m4:$root.m5)+''}}</view></block><block wx:else><view class="unStartBtn"><text>{{$root.m6}}</text><view>{{''+(item.g0+1)+"/"+item.g1+"\n\t\t\t\t\t\t\t\t\t\t"+(item.g2<10?'0'+item.g3:item.g4)+":\n\t\t\t\t\t\t\t\t\t\t"+(item.g5<10?"0"+item.g6:item.g7)+''}}</view></view></block></view></view></view></block></block><block wx:if="{{$root.g8==0}}"><view class="noCommodity"><view class="emptyBox"><image src="{{imgHost+'/statics/images/no-thing.png'}}"></image><view class="tips">{{$root.m7}}</view></view></view></block></view></view></view></view>