stepShip.wxml 3.3 KB

1
  1. <view class="step-content_box data-v-048f452c"><block wx:if="{{!$root.g0}}"><view class="step-view_box data-v-048f452c"><block wx:for="{{orderComData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="step-li_box data-v-048f452c"><view class="step-head_box data-v-048f452c"><block wx:if="{{index==0}}"><view class="step-icon_num data-v-048f452c"><view class="dot data-v-048f452c"></view></view></block><block wx:else><view class="step-icon-def data-v-048f452c"><view class="dot data-v-048f452c"></view></view></block><block wx:if="{{stepList.length-1!==index}}"><view class="step-line data-v-048f452c"></view></block></view><view class="step-main_box data-v-048f452c"><view class="step-tit data-v-048f452c">{{item.actionName}}</view><view class="step-content_box data-v-048f452c"><block wx:if="{{item.actionSign==='reach'}}"><view class="reach-content_box data-v-048f452c"><block wx:if="{{item.status==0}}"><button data-event-opts="{{[['tap',[['affirmSend',['$0'],[[['orderComData','',index]]]]]]]}}" class="admin-button-com blue big data-v-048f452c" bindtap="__e">确认送达</button></block><block wx:else><view class="reach-time_box data-v-048f452c">{{''+item.finishTime+''}}</view></block></view></block><block wx:else><block wx:if="{{item.actionSign==='deliver'}}"><block wx:if="{{item.option==0&&item.status==0}}"><view class="deliver-opiton_0 data-v-048f452c"><button data-event-opts="{{[['tap',[['selfSend',['$event']]]]]}}" class="admin-button-com blue big data-v-048f452c" bindtap="__e">本店送</button><button data-event-opts="{{[['tap',[['sendParcel',['$event']]]]]}}" class="admin-button-com blue big data-v-048f452c" bindtap="__e">发快递</button></view></block><block wx:else><block wx:if="{{item.option==1}}"><view class="deliver-opiton_1 data-v-048f452c"><view class="shipments-status_box data-v-048f452c"><view class="reach-time_box data-v-048f452c">{{item.finishTime}}</view><view class="data-v-048f452c">本店送</view><block wx:if="{{item.status!=1}}"><button data-event-opts="{{[['tap',[['sendConfirm',['本店送']]]]]}}" class="admin-button-com blue big data-v-048f452c" bindtap="__e">确定送达</button></block></view></view></block><block wx:else><block wx:if="{{item.option==2}}"><view class="deliver-opiton_1 data-v-048f452c"><view class="shipments-status_box data-v-048f452c"><view class="data-v-048f452c">{{"配送方: "+item.sendInfo.expressName}}</view><view class="data-v-048f452c">{{"距离: "+item.sendInfo.distance+"km"}}</view><view class="data-v-048f452c">{{"运费: "+item.sendInfo.cost}}</view><view class="data-v-048f452c">{{"小费: "+item.sendInfo.tip}}</view><view class="data-v-048f452c">状态:<text class="{{['data-v-048f452c',item.sendInfo.status==1||item.sendInfo.status==4?'colorRed':'colorBlue']}}">{{(item.sendInfo.status==1?'待接单':item.sendInfo.status==2?'已接单':item.sendInfo.status==3?'已完成':'已取消')+''}}</text></view><block wx:if="{{item.status!=1}}"><button data-event-opts="{{[['tap',[['sendConfirm',['发快递']]]]]}}" class="admin-button-com blue big data-v-048f452c" bindtap="__e">确定送达</button></block></view></view></block></block></block></block></block><block wx:if="{{item.actionSign==='placeOrder'}}"><view class="placeOrder-cotent_box data-v-048f452c">{{''+item.addTime+''}}</view></block></view></view></view></block></view></block></view>