lanan-repair/unpackage/dist/dev/mp-weixin/pages/orderDetail/orderDetail.wxml

1 line
4.8 KiB
Plaintext
Raw Normal View History

2024-09-24 20:45:24 +08:00
<view class="container data-v-c547daf4"><view class="containerBody data-v-c547daf4"><v-navigation-bar vue-id="0e26bf40-1" title="订单详情" background-color="rgba(0,0,0,0)" title-color="#333" class="data-v-c547daf4" bind:__l="__l"></v-navigation-bar><block wx:if="{{orderInfo.id}}"><view class="body data-v-c547daf4"><view class="orderStatus card data-v-c547daf4"><block wx:if="{{orderInfo.status==='1'}}"><image class="statusIcon data-v-c547daf4" src="/static/icons/order-icon8.png" mode="aspectFit"></image><text class="data-v-c547daf4">维修中</text></block><block wx:else><block wx:if="{{orderInfo.status==='0'}}"><image class="statusIcon data-v-c547daf4" src="/static/icons/order-icon9.png" mode="aspectFit"></image><text class="data-v-c547daf4">等待维修</text></block></block></view><view class="reservationOrder card data-v-c547daf4"><reservation-order vue-id="0e26bf40-2" hideFooter="{{orderInfo.status==='0'}}" order-info="{{orderInfo}}" isDetail="{{true}}" class="data-v-c547daf4" bind:__l="__l"></reservation-order></view><block wx:if="{{orderInfo.status!=='0'&&!ticketsInfo}}"><view class="progress card data-v-c547daf4"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="processItem data-v-c547daf4"><view class="row1 data-v-c547daf4"><block wx:if="{{item.$orig.status!=='3'}}"><view class="processIndex data-v-c547daf4">{{index+1}}</view></block><block wx:if="{{item.$orig.status==='3'}}"><view class="processIndex end data-v-c547daf4"><uni-icons vue-id="{{'0e26bf40-3-'+index}}" type="checkmarkempty" color="#fff" class="data-v-c547daf4" bind:__l="__l"></uni-icons></view></block><text class="processTitle data-v-c547daf4">{{item.$orig.title}}</text></view><view class="row2 data-v-c547daf4"><view class="lineBox data-v-c547daf4"><block wx:if="{{index<item.g0-1}}"><view class="line data-v-c547daf4"></view></block></view><view class="row2_body data-v-c547daf4"><view class="desc data-v-c547daf4">{{item.$orig.desc}}</view><view class="imageList data-v-c547daf4"><block wx:for="{{item.$orig.imageList}}" wx:for-item="img" wx:for-index="imgIndex" wx:key="imgIndex"><image class="imageItem data-v-c547daf4" src="{{img}}" mode="aspectFill"></image></block></view></view></view></view></block></view></block><block wx:else><view class="progress card data-v-c547daf4"><block wx:if="{{$root.g1}}"><tickets-item vue-id="0e26bf40-4" list="{{projects}}" title="project" class="data-v-c547daf4" bind:__l="__l"></tickets-item></block><block wx:if="{{$root.g2}}"><tickets-item vue-id="0e26bf40-5" list="{{wares}}" title="wares" class="data-v-c547daf4" bind:__l="__l"></tickets-item></block><block wx:if="{{$root.g3}}"><tickets-item vue-id="0e26bf40-6" list="{{others}}" title="other" class="data-v-c547daf4" bind:__l="__l"></tickets-item></block></view></block><view class="reservationInfo card data-v-c547daf4"><view class="row data-v-c547daf4"><text class="col1 data-v-c547daf4">姓名</text><text class="col2 data-v-c547daf4">{{orderInfo.userName}}</text></view><view class="row data-v-c547daf4"><text class="col1 data-v-c547daf4">联系电话</text><text class="col2 data-v-c547daf4">{{orderInfo.userMobile}}</text></view><view class="row data-v-c547daf4"><text class="col1 data-v-c547daf4">预约项目</text><text class="col2 data-v-c547daf4">{{orderInfo.servicePackage.name}}</text></view><view class="row data-v-c547daf4"><text class="col1 data-v-c547daf4">预约时间</text><text class="col2 data-v-c547daf4">{{orderInfo.bookingTime}}</text></view></view></view></block><block wx:else><block wx:if="{{ticketsId}}"><view class="body data-v-c547daf4"><view class="progress card data-v-c547daf4"><block wx:if="{{$root.g4}}"><tickets-item vue-id="0e26bf40-7" list="{{projects}}" title="project" class="data-v-c547daf4" bind:__l="__l"></tickets-item></block><block wx:if="{{$root.g5}}"><tickets-item vue-id="0e26bf40-8" list="{{wares}}" title="wares" class="data-v-c547daf4" bind:__l="__l"></tickets-item></block><block wx:if="{{$root.g6}}"><tickets-item vue-id="0e26bf40-9" list="{{others}}" title="other" class="data-v-c547daf4" b