1 line
4.2 KiB
Plaintext
1 line
4.2 KiB
Plaintext
<view class="farmer-order-distribution-list"><fixed vue-id="d08879f2-1" bind:__l="__l" vue-slots="{{['default']}}"><tab vue-id="{{('d08879f2-2')+','+('d08879f2-1')}}" list="{{tabList}}" activeIndex="{{activeIndex}}" activeColor="{{primaryColor}}" width="{{100/$root.g0+'%'}}" height="100rpx" data-event-opts="{{[['^change',[['handerTabChange']]]]}}" bind:change="__e" bind:__l="__l"></tab><view class="b-1px-b"></view></fixed><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="order-item fill-base mg-big pd-lg f-paragraph c-title radius-16 box-shadow" catchtap="__e"><view class="flex-between pb-lg b-1px-b"><view class="c-desc max-500 ellipsis">{{"配送单号:"+item.order_code}}</view><view style="{{'color:'+(item.pay_type==2?subColor:item.pay_type==3?primaryColor:'')+';'}}">{{''+statusType[item.pay_type]+''}}</view></view><view class="flex-warp mt-lg"><view class="text-item c-desc">订单类型</view><view class="flex-1">{{orderType[item.type]}}</view></view><view class="flex-warp mt-md"><view class="text-item c-desc">{{item.send_type==1?'自提时间':'送货时间'}}</view><view class="flex-1">{{item.time_text}}</view></view><view class="flex-warp mt-md"><view class="text-item c-desc">配送方式</view><view class="flex-1">{{sendType[item.send_type]}}</view></view><block wx:if="{{item.send_type==2}}"><view class="flex-warp mt-md"><view class="text-item c-desc">收货地址</view><view class="flex-1">{{item.address}}</view></view></block><view class="flex-warp mt-md"><view class="text-item c-desc">{{item.send_type==1?'自提人':'收货人'}}</view><view class="flex-1">{{item.user_name+' '+item.mobile}}</view></view><block wx:if="{{item.pay_type>2&&item.send_type==2}}"><view class="flex-warp pt-lg"><view class="text-item c-desc">发货时间</view><view class="flex-1">{{item.send_time}}</view></view></block><block wx:if="{{item.pay_type==7}}"><view class="flex-warp pt-lg"><view class="text-item c-desc">{{item.send_type==1?'取货时间':'收货时间'}}</view><view class="flex-1">{{item.receiving_time}}</view></view></block><block wx:if="{{item.text}}"><view class="mt-md"><view class="text-item c-desc">备注</view><view class="mt-sm"><text style="word-break:break-all;" decode="emsp">{{item.text}}</text></view></view></block><block wx:if="{{item.send_type==2}}"><block><view class="flex-warp pt-lg"><view class="text-item c-desc">付款单号</view><view class="flex-1">{{item.transaction_id}}</view></view><block wx:if="{{item.pay_type==-1}}"><view class="flex-warp pt-lg"><view class="text-item c-desc">退款单号</view><view class="flex-1">{{item.refund_code}}</view></view></block><view class="flex-warp mt-md"><view class="text-item c-desc">配送费</view><view class="flex-1 flex-y-center c-warning"><view>{{"¥"+item.pay_price}}</view><block wx:if="{{item.pay_type==-1}}"><view class="ml-sm">(已退)</view></block></view></view></block></block><block wx:if="{{item.pay_type==2}}"><view class="flex-between mt-md"><view></view><view data-event-opts="{{[['tap',[['toChangeOrder',[index,item.send_type==1?'confirm_get_item':'confirm_send_item']]]]]}}" class="common-btn flex-center f-caption c-base radius-4 ml-lg" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">{{''+(item.send_type==1?'确认取货':'立即发货')+''}}</view></view></block></view></block><block wx:if="{{loading}}"><load-more vue-id="d08879f2-3" noMore="{{$root.g1}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g2}}"><abnor vue-id="d08879f2-4" bind:__l="__l"></abnor></block><view class="space-footer"></view><common-popup class="vue-ref" vue-id="d08879f2-5" title="确认取货" desc="请确认是否取货,确认后将无法恢复" text="确认取货" info="{{popupInfo}}" data-ref="confirm_get_item" data-event-opts="{{[['^confirm',[['confirmChangeOrder']]]]}}" bind:confirm="__e" bind:__l="__l"></common-popup><common-popup class="vue-ref" vue-id="d08879f2-6" title="立即发货" desc="请确认是否发货,确认后将无法恢复" text="确认发货" info="{{popupInfo}}" data-ref="confirm_send_item" data-event-opts="{{[['^confirm',[['confirmChangeOrder']]]]}}" bind:confirm="__e" bind:__l="__l"></common-popup></view> |