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
3.3 KiB
1 lines
3.3 KiB
<view><view class="record-box fill-base"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="record-item rel ml-sm b-1px-l" style="{{'padding:'+(index==$root.g0-1?'0 0 0 30rpx':'')+';'}}"><text class="{{['item-tag','abs',[(info.pay_type>item.pay_type-1&&info.pay_type!=8)?'cur':'']]}}" style="{{'border:'+('2rpx solid '+primaryColor)+';'+('background:'+(info.pay_type>item.pay_type-1&&info.pay_type!=8?primaryColor:'')+';')}}"></text><view class="c-title"><view class="item-text f-paragraph flex-y-baseline">{{''+item.title+''}}<view class="ml-md f-caption c-caption" style="{{'color:'+(item.title=='签字确认'&&!info.sign_img?'':info.pay_type>item.pay_type-1&&info.pay_type!=8?primaryColor:'')+';'}}">{{''+(item.title=='签字确认'&&!info.sign_img?'暂未签字确认':info.pay_type>item.pay_type-1&&info.pay_type!=8?'':'状态未开始')+''}}</view></view><block wx:if="{{info.pay_type>item.pay_type*1-1&&info[item.time]}}"><view class="c-caption">{{''+info[item.time]+''}}</view></block></view><block wx:if="{{item.pay_type==4&&!info.is_add&&info.pay_type>3}}"><block><block wx:if="{{info.serout_address}}"><view data-event-opts="{{[['tap',[['toMap',['serout']]]]]}}" class="flex-y-center mt-md f-caption c-title" catchtap="__e"><view class="iconfont iconjuli mr-sm _i" style="{{'color:'+(primaryColor)+';'}}"></view>{{info.serout_address+''}}</view></block></block></block><block wx:if="{{item.pay_type==5&&!info.is_add&&info.pay_type>4&&(info.arrive_img||info.arr_address)}}"><block><block wx:if="{{info.arrive_img}}"><block><block wx:if="{{info.arrive_img}}"><image class="item-img mt-md radius-5" mode="widthFix" src="{{info.arrive_img}}" data-event-opts="{{[['tap',[['toPreviewImage',['arrive_img']]]]]}}" catchtap="__e"></image></block></block></block><block wx:if="{{info.arr_address}}"><view data-event-opts="{{[['tap',[['toMap',['arr']]]]]}}" class="flex-y-center mt-md f-caption c-title" catchtap="__e"><view class="iconfont iconjuli mr-sm _i" style="{{'color:'+(primaryColor)+';'}}"></view>{{info.arr_address+''}}</view></block></block></block><block wx:if="{{item.title=='服务完成'&&info.pay_type==7&&(info.end_img||info.end_address)}}"><block><block wx:if="{{info.end_img}}"><block><image class="item-img mt-md radius-5" mode="widthFix" src="{{info.end_img}}" data-event-opts="{{[['tap',[['toPreviewImage',['end_img']]]]]}}" catchtap="__e"></image></block></block><block wx:if="{{info.end_address}}"><view data-event-opts="{{[['tap',[['toMap',['end']]]]]}}" class="flex-y-center mt-md f-caption c-title" catchtap="__e"><view class="iconfont iconjuli mr-sm _i" style="{{'color:'+(primaryColor)+';'}}"></view>{{info.end_address+''}}</view></block></block></block><block wx:if="{{item.title=='签字确认'&&info.pay_type==7}}"><block><block wx:if="{{info.sign_img}}"><block><image class="item-img mt-md radius-5" mode="widthFix" src="{{info.sign_img}}" data-event-opts="{{[['tap',[['toPreviewImage',['sign_img']]]]]}}" catchtap="__e"></image></block></block><block wx:if="{{type==1&&!info.is_add&&!info.sign_img}}"><view class="flex-between"><view data-event-opts="{{[['tap',[['toSign',['$event']]]]]}}" class="item-btn flex-center mt-md c-base radius" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">签字确认</view><view></view></view></block></block></block></view></block></view></view> |