huangsijun
2025-09-22 a78c011de350b188afb03beb2f26a73f35f71986
1
<view><view class="ww100" style="{{'background-color:#5508BE;'+('height:'+$root.m0+'px;')}}"></view><view class="tc  head_top" style="{{'background-color:#5508BE;'+($root.m1==0?'':'height:'+$root.m2+'px;')}}"><view data-event-opts="{{[['tap',[['goback',['$event']]]]]}}" class="reg180" bindtap="__e"><text class="icon iconfont icon-jiantou"></text></view><view class="fb">我的砍价</view></view><view class="top-tabbar"><view data-event-opts="{{[['tap',[['stateFunc',[0]]]]]}}" class="{{[status==0?'tab-item active':'tab-item']}}" bindtap="__e">进行中</view><view data-event-opts="{{[['tap',[['stateFunc',[1]]]]]}}" class="{{[status==1?'tab-item active':'tab-item']}}" bindtap="__e">砍价成功</view><view data-event-opts="{{[['tap',[['stateFunc',[2]]]]]}}" class="{{[status==2?'tab-item active':'tab-item']}}" bindtap="__e">砍价失败</view></view><scroll-view class="scroll-Y" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltolower="__e"><view class="my-bargaing-list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['listData','',index,'bargain_task_id']]]]]]]}}" class="item" bindtap="__e"><view class="datetime d-b-c"><text class="f28">{{item.$orig.create_time}}</text><block wx:if="{{status==0}}"><view class="surplus-time"><countdown vue-id="{{'d220cb7c-1-'+index}}" config="{{item.m3}}" bind:__l="__l"></countdown></view></block></view><view class="product d-s-s mt30"><view class="cover"><image src="{{item.$orig.file_path}}" mode="aspectFill"></image></view><view class="info flex-1 ml20 f28"><text class="f26 text-ellipsis-2">{{item.$orig.product_name}}</text><view class="mt20"><text class="redF6 f26">砍到底价:</text><text class="redF6 f20">¥</text><text class="redF6 f32">{{item.$orig.bargain_price}}</text><text class="ml10 gray9 text-l-t f26">{{item.$orig.product_price}}</text></view><view class="d-b-c mt10 f24"><view><text class="gray3">完成度:</text><text class="gray3">{{item.m4+"%"}}</text></view><view class="progress-box"><view class="progress-box-active" style="{{('width:'+item.m5+'%;')}}"></view></view></view></view></view></view></block><block wx:if="{{$root.g0}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="d220cb7c-2" loadingType="{{loadingType}}" bind:__l="__l"></uni-load-more></block></view></scroll-view><view class="more-bargaining"><button class="btn-red" type="primary" data-event-opts="{{[['tap',[['gotoMore',['$event']]]]]}}" bindtap="__e">更多活动</button></view></view>