1 line
3.4 KiB
Plaintext
1 line
3.4 KiB
Plaintext
|
<block wx:if="{{empty}}"><block><u-navbar vue-id="6329c3e6-1" background="{{({background:'rgb(255, 101, 0)'})}}" border-bottom="{{false}}" is-back="{{true}}" back-icon-color="#fff" bind:__l="__l" vue-slots="{{['default']}}"><view class="u-font-xl u-flex u-row-center u-type-info-light u-flex-1"><view>限时秒杀</view></view></u-navbar><u-empty vue-id="6329c3e6-2" mode="data" bind:__l="__l"></u-empty></block></block><block wx:else><block><view class="gg"><u-navbar vue-id="6329c3e6-3" background="{{({background:'rgb(255, 101, 0)'})}}" border-bottom="{{false}}" is-back="{{true}}" back-icon-color="#fff" bind:__l="__l" vue-slots="{{['default']}}"><view class="u-font-xl u-flex u-row-center u-type-info-light u-flex-1"><view>限时秒杀</view></view></u-navbar><view class="gg-content"><view class="gg-content-header"><scroll-view scroll-into-view="{{'scroll-'+navId}}" enable-flex="{{true}}" scroll-x="{{true}}"><view class="u-flex u-flex-nowrap u-p-r-20 u-p-t-20"><block wx:for="{{seckillTimeList}}" wx:for-item="seckillTime" wx:for-index="__i0__" wx:key="id"><view class="u-p-l-20 u-p-r-20" id="{{'scroll-'+seckillTime.id}}" data-event-opts="{{[['tap',[['changeNav',['$0','$1'],[[['seckillTimeList','id',seckillTime.id,'id']],[['seckillTimeList','id',seckillTime.id,'name']]]]]]]}}" bindtap="__e"><view class="u-text-center" style="width:140rpx;"><view class="u-font-xl u-type-info-light">{{seckillTime.name}}</view><block wx:if="{{seckillTime.timeStaus===1}}"><block><u-tag vue-id="{{'6329c3e6-4-'+__i0__}}" bg-color="{{seckillTime.id===navId?'#ff0000':'#fff'}}" color="{{seckillTime.id===navId?'#fff':'#555'}}" mode="dark" shape="circle" text="已开抢" bind:__l="__l"></u-tag></block></block><block wx:if="{{seckillTime.timeStaus===2}}"><block><u-tag vue-id="{{'6329c3e6-5-'+__i0__}}" bg-color="{{seckillTime.id===navId?'#19be6b':'#fff'}}" color="{{seckillTime.id===navId?'#fff':'#555'}}" mode="dark" shape="circle" text="抢购中" bind:__l="__l"></u-tag></block></block><block wx:if="{{seckillTime.timeStaus===3}}"><block><u-tag vue-id="{{'6329c3e6-6-'+__i0__}}" bg-color="{{seckillTime.id===navId?'#fc0':'#fff'}}" color="{{seckillTime.id===navId?'#fff':'#555'}}" mode="dark" shape="circle" text="即将开抢" bind:__l="__l"></u-tag></block></block></view></view></block></view></scroll-view><view class="gg-sv-seckill-container"><view class="u-m-20 u-flex u-flex-1 gg-sv-list-container"><scroll-view class="gg-sv-list" scroll-y="true"><block wx:for="{{seckillSkuList}}" wx:for-item="seckillSku" wx:for-index="__i1__" wx:key="id"><view class="gg-sv-item"><u-image vue-id="{{'6329c3e6-7-'+__i1__}}" src="{{seckillSku.imgUrl}}" border-radius="10rpx" height="400rpx" width="100%" bind:__l="__l"></u-image><view class="u-font-xl u-p-t-10 u-p-b-10">{{seckillSku.skuName}}</view><view>{{"限购数量:"+seckillSku.seckillLimit+" 销售量:"+seckillSku.seckillSale+"\n 库存:"+seckillSku.seckillStock+''}}</view><view class="u-flex u-flex-1 u-row-between u-p-t-10 "><view>价格:<text class="u-font-xl u-type-error">{{"¥"+seckillSku.seckillPrice}}</text></view><view><u-button vue-id="{{'6329c3e6-8-'+__i1__}}" shape="circle" size="medium" type="error" data-event-opts="{{[['^click',[['gotoProductItem',['$0'],[[['seckillSkuList','id',seckillSku.id,'skuId']]]]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">立即抢购</u-button></view></view></view></block></scroll-view></view></view></view></view></view></block></block>
|