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 lines
4.4 KiB
1 lines
4.4 KiB
<view style="{{(colorStyle)}}"><view class="w-full bg-top relative" style="{{'background-image:'+(headerBg)+';'+('height:'+((sysHeight+262)*2+'rpx')+';')}}"><view class="{{['fixed-lt','w-full','z-20',pageScrollStatus?'sticky':'']}}" style="{{'padding-top:'+(sysHeight+'px')+';'+('background:'+(pageScrollStatus?'#e93323':'transparent')+';')}}"><view class="w-full px-20 pl-20 h-80 flex-between-center"><text data-event-opts="{{[['tap',[['goPage',[3]]]]]}}" class="iconfont icon-ic_leftarrow fs-40 text--w111-fff" bindtap="__e"></text><text class="fs-34 fw-500 text--w111-fff">{{pageScrollStatus?'限时秒杀':''}}</text><text></text></view></view></view><view class="relative w-full content"><view class="{{['_box','h-106','flex-y-center',pageScrollStatus?'':'rd-t-24rpx']}}" style="{{'top:'+(50+sysHeight+'px')+';'}}"><scroll-view class="{{['white-nowrap','vertical-middle','w-full','relative','z-10',(active==0)?'sel1':'',(active==$root.g0-1)?'sel-last':'']}}" scroll-x="true" scroll-with-animation="{{true}}" show-scrollbar="false"><block wx:for="{{timeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['settimeList',['$0',index],[[['timeList','',index]]]]]]]}}" class="{{['scroll-item',active==index?'active-card':'']}}" style="{{'background-image:'+(active==index?navActiveBg:'')+';'}}" bindtap="__e"><view class="flex-col flex-center z-10 relative t-22"><text class="{{['SemiBold','fs-40','lh-40rpx',active==index?'text--w111-333':'text--w111-fff']}}">{{item.time}}</text><text class="{{['inline-block','h-36','lh-34rpx','fs-24',active==index?'red-tag':'text--w111-fff']}}">{{item.state}}</text></view></view></block></scroll-view><view class="abs-lb w-full" style="{{'background:'+(pageScrollStatus?'#e93323':'rgba(245,245,245,0.2)')+';'+('height:'+(pageScrollStatus?'130rpx':'96rpx')+';')}}"></view></view><view class="bg--w111-f5f5f5 pt-32 pl-20 pr-20 relative"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetails',['$0'],[[['seckillList','',index]]]]]]]}}" class="card w-full bg--w111-fff rd-24rpx p-20 flex" bindtap="__e"><view class="w-240 h-240"><easy-loadimage vue-id="{{'349d6104-1-'+index}}" mode="widthFix" image-src="{{item.$orig.image}}" border-src="{{item.$orig.activity_image}}" width="240rpx" height="240rpx" borderRadius="20rpx" bind:__l="__l"></easy-loadimage></view><view class="flex-1 h-240 pl-20 flex-col justify-between"><view class="w-full"><view class="w-410 fs-28 lh-40rpx line1">{{item.$orig.title}}</view><block wx:if="{{item.g1}}"><view class="w-410 flex items-end flex-wrap mt-12"><block wx:for="{{item.$orig.store_label}}" wx:for-item="label" wx:for-index="idx" wx:key="idx"><base-tag vue-id="{{'349d6104-2-'+index+'-'+idx}}" text="{{label.label_name}}" color="{{label.color}}" background="{{label.bg_color}}" borderColor="{{label.border_color}}" circle="{{label.border_color?true:false}}" imgSrc="{{label.icon}}" bind:__l="__l"></base-tag></block></view></block></view><view class="flex items-baseline"><text class="fs-22 lh-30rpx text-primary pr-8">秒杀价:</text><base-money vue-id="{{'349d6104-3-'+index}}" money="{{item.$orig.price}}" symbolSize="24" integerSize="40" decimalSize="24" color="#E93323" weight="{{true}}" bind:__l="__l"></base-money><text class="fs-22 lh-30rpx text--w111-999 pl-16 text-line">{{"¥"+item.$orig.ot_price}}</text></view><block wx:if="{{status==1}}"><view class="w-full progress-box flex-between-center"><view class="flex-y-center"><view class="progress ml-16"><view class="active" style="{{('width:'+item.$orig.percent+'%;')}}"></view></view><text class="fs-22 text-primary pl-8">{{"已抢"+item.$orig.percent+"%"}}</text></view><view class="qiang"></view></view></block><block wx:else><block wx:if="{{status==2}}"><view class="w-full yuyue-box flex-between-center"><view class="flex-y-center fs-22 pl-16">活动即将开始</view><view class="yuyue"></view></view></block><block wx:else><view class="w-full over-box flex-between-center"><view class="flex-y-center fs-22 pl-16">活动已结束</view><view class="over"></view></view></block></block></view></view></block><view hidden="{{!(active>0)}}" class="abs-lt cir"></view></view><block wx:if="{{$root.g2}}"><view class="bg--w111-f5f5f5 p-20"><empty-page vue-id="349d6104-4" title="暂无秒杀商品,去看看其他商品吧~" src="/statics/images/noActivity.gif" bind:__l="__l"></empty-page></view></block></view></view> |