1 |
- <view class="details data-v-75db3b88"><view class="content data-v-75db3b88"><view class="box1 data-v-75db3b88"><view class="imgs data-v-75db3b88"><image src="../../static/order/deimg.jpg" mode="widthFix" class="data-v-75db3b88"></image></view><view class="box1cont data-v-75db3b88"><view class="title data-v-75db3b88">{{"订单"+details.statusName}}</view><view class="moneytime data-v-75db3b88"><view class="time data-v-75db3b88">{{"下单时间:"+dtCreateTime}}</view><view class="money data-v-75db3b88">{{"¥"+details.dTotalMoney}}</view></view></view></view><view class="orderinfo data-v-75db3b88"><view class="title data-v-75db3b88">订单信息</view><view class="cont data-v-75db3b88">客户姓名<text class="data-v-75db3b88">{{details.cName}}</text></view><view class="cont data-v-75db3b88">服务商家<text class="data-v-75db3b88">{{details.js.cName}}</text></view><view class="cont data-v-75db3b88">服务时间<text class="data-v-75db3b88">{{dtCreateTime1}}</text></view><view class="cont data-v-75db3b88">车费详情<text class="data-v-75db3b88">{{(details.fare||0)+"元"}}</text></view><view class="cont data-v-75db3b88">服务地址<text class="data-v-75db3b88">{{cAddress}}</text></view></view><block wx:if="{{details.nStatus===2||details.nStatus===3}}"><view class="orderinfo data-v-75db3b88"><view class="title data-v-75db3b88">操作订单</view><view class="orderA data-v-75db3b88"><view data- data-event-opts="{{[['tap',[['rec',['$event']]]]]}}" bindtap="__e" class="data-v-75db3b88"><image src="../../static/identify/order1.png" mode class="data-v-75db3b88"></image>录音</view><view data-event-opts="{{[['tap',[['alert',['$0'],['details.orderNo']]]]]}}" bindtap="__e" class="data-v-75db3b88"><image src="../../static/identify/order2.png" mode class="data-v-75db3b88"></image>报警</view></view></view></block><view class="orderinfo data-v-75db3b88"><view class="title data-v-75db3b88">服务项目</view><block wx:for="{{details.cGoods}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="items data-v-75db3b88"><view class="cont data-v-75db3b88">折扣<text class="data-v-75db3b88">无</text></view><view class="cont conts_price data-v-75db3b88"><view class="data-v-75db3b88">服务项目<text class="data-v-75db3b88">{{item.cTitle}}</text></view><view style="color:#2cb8d4;" class="data-v-75db3b88">{{"¥"+item.dPrice+".00"}}</view></view><view class="cont data-v-75db3b88">服务时长<text class="data-v-75db3b88">{{item.nMinute}}</text></view></view></block><view class="conts data-v-75db3b88">{{"合计:"+details.totalPrice}}</view></view><view style="height:300rpx;" class="data-v-75db3b88"></view></view><block wx:if="{{name=='技师订单'}}"><view class="data-v-75db3b88"><block wx:if="{{details.nStatus===0}}"><view class="btnbox data-v-75db3b88"><view data-event-opts="{{[['tap',[['scheduling',['$0'],['details.cId']]]]]}}" bindtap="__e" class="data-v-75db3b88">接单</view></view></block><block wx:if="{{details.nStatus===1}}"><view class="btnbox data-v-75db3b88"><view data-event-opts="{{[['tap',[['arriveOderLocation',['$0','$1'],['details.cId','details.orderNo']]]]]}}" bindtap="__e" class="data-v-75db3b88">到达</view></view></block><block wx:if="{{details.nStatus===2}}"><view class="btnbox data-v-75db3b88"><view data-event-opts="{{[['tap',[['enterService',['$0','$1'],['details.cId','details.orderNo']]]]]}}" bindtap="__e" class="data-v-75db3b88">开始服务</view></view></block><block wx:if="{{details.nStatus===3}}"><view class="btnbox data-v-75db3b88"><view data-event-opts="{{[['tap',[['complete',['$0','$1'],['details.cId','details.orderNo']]]]]}}" bindtap="__e" class="data-v-75db3b88">完成订单</view></view></block></view></block><view wx:else class="data-v-75db3b88"><block wx:if="{{details.nStatus===-1}}"><view class="btnbox data-v-75db3b88"><view data-event-opts="{{[['tap',[['nowYuyue',['$0','$1'],['details.cId','details.dTotalMoney']]]]]}}" bindtap="__e" class="data-v-75db3b88">支付订单</view></view></block><block wx:if="{{details.nStatus===-2}}"><view class="btnbox data-v-75db3b88"><view data-event-opts="{{[['tap',[['deleteOrder',['$0'],['details.cId']]]]]}}" bindtap="__e" class="data-v-75db3b88">删除订单</view></view></block><block wx:if="{{details.nStatus===4}}"><view class="btnbox data-v-75db3b88"><view data-event-opts="{{[['tap',[['commentOrder',['$0','$1','$2','$3'],['details.orderNo','details.cJsId','details.cId','details.js.cName']]]]]}}" bindtap="__e" class="data-v-75db3b88">评价订单</view></view></block><block wx:if="{{details.nStatus===3}}"><view class="btnbox data-v-75db3b88"><view data-event-opts="{{[['tap',[['bookNow',[1,'$0'],['details.cJsId']]]]]}}" bindtap="__e" class="data-v-75db3b88">升级</view><view data-event-opts="{{[['tap',[['bookNow',[2,'$0'],['details.cJsId']]]]]}}" bindtap="__e" class="data-v-75db3b88">加钟</view></view></block></view><block wx:if="{{recordShow}}"><view class="recording data-v-75db3b88"><view class="recording_content data-v-75db3b88"><view class="btn data-v-75db3b88"><view data-event-opts="{{[['tap',[['cancle',['$event']]]]]}}" bindtap="__e" class="data-v-75db3b88">取消</view><view data-event-opts="{{[['tap',[['saveRecord',['$event']]]]]}}" bindtap="__e" class="data-v-75db3b88">保存</view></view><view class="content data-v-75db3b88"><view class="time data-v-75db3b88">{{recordTime}}</view><block wx:if="{{isRecording}}"><view data-event-opts="{{[['tap',[['pauseRecord',['$event']]]]]}}" class="Playparse data-v-75db3b88" bindtap="__e"><image src="../../static/identify/rec1.png" mode class="data-v-75db3b88"></image></view></block><block wx:else><view data-event-opts="{{[['tap',[['startRecord',['$event']]]]]}}" class="Playparse data-v-75db3b88" bindtap="__e"><image src="../../static/identify/rec2.png" mode class="data-v-75db3b88"></image></view></block></view></view></view></block><block wx:if="{{dialogShow}}"><view class="dialog data-v-75db3b88"><view data-event-opts="{{[['tap',[['closeDialog',['$event']]]]]}}" class="closebox data-v-75db3b88" bindtap="__e"></view><view class="dialog_content data-v-75db3b88"><block wx:for="{{projects}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="lists data-v-75db3b88"><view class="imgs data-v-75db3b88"><image src="publicUrl + item.cCover" mode class="data-v-75db3b88"></image></view><view class="right data-v-75db3b88"><view class="list_title data-v-75db3b88"><view class="title data-v-75db3b88">{{item.cTitle}}</view><view class="time data-v-75db3b88">{{item.nMinute+"分钟"}}</view></view><view class="price data-v-75db3b88"><view class="money data-v-75db3b88">{{"¥"+item.dPrice}}</view><view class="counter data-v-75db3b88"><view data-event-opts="{{[['tap',[['decrease',[index]]]]]}}" bindtap="__e" class="data-v-75db3b88">-</view><text class="data-v-75db3b88">{{item.number}}</text><view data-event-opts="{{[['tap',[['increase',[index]]]]]}}" bindtap="__e" class="data-v-75db3b88">+</view></view></view></view></view></block></view><view data-event-opts="{{[['tap',[['nowYuyue',['$0','$1'],['details.orderNo','details.cJsId']]]]]}}" class="now data-v-75db3b88" bindtap="__e"><text class="data-v-75db3b88">立即预约</text></view></view></block></view>
|