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
2.8 KiB
1 line
2.8 KiB
4 months ago
|
<view style="{{(colorStyle)}}"><view class="px-20"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="order_card bg--w111-fff rd-24rpx pt-32 pb-32 pl-24 pr-24"><view class="flex-between-center"><text class="fs-28 lh-40rpx">{{item.$orig.add_time}}</text><block wx:if="{{item.$orig.status===1}}"><text class="font-color fs-26">活动进行中</text></block><block wx:else><block wx:if="{{item.$orig.status===3}}"><text class="font-color fs-26">砍价成功</text></block><block wx:else><text class="font-color fs-26">活动已结束</text></block></block></view><view class="flex-between-center mt-26"><image class="w-136 h-136 rd-16rpx" src="{{item.$orig.image}}"></image><view class="flex-1 pl-20"><view class="w-504 line2 fs-28 lh-40rpx">{{item.$orig.title}}</view><view class="flex items-baseline mt-20"><text class="fs-24 text--w111-999">已砍至</text><base-money vue-id="{{'e368e410-1-'+index}}" money="{{item.$orig.residue_price}}" symbolSize="20" integerSize="32" decimalSize="20" weight="{{true}}" bind:__l="__l"></base-money></view></view></view><view class="pt-24 bt mt-32 flex-between-center"><block wx:if="{{item.$orig.status===1}}"><view class="flex-y-center fs-24"><text class="pr-12 text--w111-999">剩余:</text><count-down vue-id="{{'e368e410-2-'+index}}" justify-left="justify-content:left" is-day="{{true}}" tip-text=" " day-text=" " hour-text="时" minute-text="分" second-text="秒" dotColor="#999" datatime="{{item.$orig.datatime}}" bind:__l="__l"></count-down></view></block><block wx:if="{{item.$orig.status===2}}"><text class="pr-12 text--w111-999 fs-24">活动已结束</text></block><block wx:if="{{item.$orig.status===3}}"><text class="pr-12 text--w111-999 fs-24">砍价已成功</text></block><view class="flex"><block wx:if="{{item.$orig.status===1}}"><view data-event-opts="{{[['tap',[['getBargainUserCancel',['$0'],[[['bargain','',index,'bargain_id']]]]]]]}}" class="btn w-154 h-56 rd-30rpx flex-center fs-24 border_ccc" bindtap="__e">取消活动</view></block><block wx:if="{{item.$orig.status===1}}"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['bargain','',index,'bargain_id']]]]]]]}}" class="btn w-154 h-56 rd-30rpx flex-center fs-24 bg-color text--w111-fff" bindtap="__e">{{item.$orig.pay_status?'立即付款':'继续砍价'}}</view></block><block wx:if="{{item.g0}}"><view data-event-opts="{{[['tap',[['goPage',['/pages/activity/goods_bargain/index']]]]]}}" class="btn w-154 h-56 rd-30rpx flex-center fs-24 bg-color text--w111-fff" bindtap="__e">重开一个</view></block></view></view></view></block><loading vue-id="e368e410-3" loaded="{{status}}" loading="{{loadingList}}" bind:__l="__l"></loading></view><block wx:if="{{!$root.g1}}"><view class="px-20 mt-20"><empty-page vue-id="e368e410-4" title="暂无砍价记录~" src="/statics/images/noOrder.gif" bind:__l="__l"></empty-page></view></block></view>
|