order.wxml 5.1 KB
<view class="order_container data-v-127632e4"><u-sticky vue-id="3c50aaa2-1" class="data-v-127632e4" bind:__l="__l" vue-slots="{{['default']}}"><u-navbar vue-id="{{('3c50aaa2-2')+','+('3c50aaa2-1')}}" title="{{orderType==='mall'?'商城订单':'门店订单'}}" leftIcon="list" bgColor="#24262B" placeholder="{{true}}" leftIconColor="#fff" titleStyle="{{({color:'#fff'})}}" data-event-opts="{{[['^leftClick',[['e0']]]]}}" bind:leftClick="__e" class="data-v-127632e4" bind:__l="__l"></u-navbar><view class="order_header data-v-127632e4"><u-tabs vue-id="{{('3c50aaa2-3')+','+('3c50aaa2-1')}}" list="{{orderType==='mall'?mallNavlist:bookingNavlist}}" lineColor="#FFA100" activeStyle="{{({color:'#fff'})}}" inactiveStyle="{{({color:'#BBB'})}}" data-event-opts="{{[['^click',[['toggleOrder']]]]}}" bind:click="__e" class="data-v-127632e4" bind:__l="__l"></u-tabs><u-transition vue-id="{{('3c50aaa2-4')+','+('3c50aaa2-1')}}" show="{{show}}" duration="{{300}}" class="data-v-127632e4" bind:__l="__l" vue-slots="{{['default']}}"><view class="selectOrder data-v-127632e4"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="{{['select_item','data-v-127632e4',(orderType==='mall')?'active':'']}}" bindtap="__e"><text class="data-v-127632e4">商城订单</text></view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="{{['select_item','data-v-127632e4',(orderType==='booking')?'active':'']}}" bindtap="__e"><text class="data-v-127632e4">球场订单</text></view><block wx:for="{{employeeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="select_item data-v-127632e4"><u-icon vue-id="{{('3c50aaa2-5-'+index)+','+('3c50aaa2-4')}}" name="{{item.iconNane}}" size="20" class="data-v-127632e4" bind:__l="__l"></u-icon><text class="m-l-10 data-v-127632e4">{{item.title}}</text></view></block></view></u-transition></view></u-sticky><view class="px-30 my-30 data-v-127632e4"><uni-data-select vue-id="3c50aaa2-6" placeholder="请选择订单的状态" localdata="{{stateList}}" value="{{stateVlue}}" data-event-opts="{{[['^change',[['getList']]],['^input',[['__set_model',['','stateVlue','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-127632e4" bind:__l="__l"></uni-data-select></view><block wx:if="{{$root.g0>0}}"><view class="px-30 m-top20 data-v-127632e4"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><booking-order-card vue-id="{{'3c50aaa2-7-'+index}}" orderList="{{item.$orig}}" number="{{index+1}}" stateValue="{{item.m0}}" data-event-opts="{{[['^showRefund',[['e3']]]]}}" bind:showRefund="__e" class="data-v-127632e4" bind:__l="__l" vue-slots="{{['refund','comment']}}"><view hidden="{{!(item.$orig.refundReason)}}" class="m-top30 px-30 data-v-127632e4" slot="refund"><text class="col-6 f-26 l-h-32 data-v-127632e4">退款原因</text><view class="m-top30 data-v-127632e4"><u--textarea bind:input="__e" vue-id="{{('3c50aaa2-8-'+index)+','+('3c50aaa2-7-'+index)}}" disabled="{{true}}" placeholder="请输入内容" value="{{item.$orig.refundReason}}" data-event-opts="{{[['^input',[['__set_model',['$0','refundReason','$event',[]],[[['showList','',index]]]]]]]}}" class="data-v-127632e4" bind:__l="__l"></u--textarea></view></view><view hidden="{{!(item.$orig.commentContent)}}" class="m-top30 px-30 data-v-127632e4" slot="comment"><text class="col-6 f-26 l-h-32 data-v-127632e4">评论内容</text><view class="m-top30 data-v-127632e4"><u--textarea bind:input="__e" vue-id="{{('3c50aaa2-9-'+index)+','+('3c50aaa2-7-'+index)}}" disabled="{{true}}" placeholder="请输入内容" value="{{item.$orig.commentContent}}" data-event-opts="{{[['^input',[['__set_model',['$0','commentContent','$event',[]],[[['showList','',index]]]]]]]}}" class="data-v-127632e4" bind:__l="__l"></u--textarea></view></view></booking-order-card></block><view hidden="{{!(!$root.g1>0)}}" class="data-v-127632e4"><u-empty vue-id="3c50aaa2-10" text="暂无订单" class="data-v-127632e4" bind:__l="__l"></u-empty></view></view></block><u-overlay vue-id="3c50aaa2-11" show="{{show}}" zIndex="98" opacity="0" data-event-opts="{{[['^click',[['e4']]]]}}" bind:click="__e" class="data-v-127632e4" bind:__l="__l"></u-overlay><u-modal vue-id="3c50aaa2-12" show="{{showRefund}}" title="{{title}}" showCancelButton="{{true}}" data-event-opts="{{[['^cancel',[['e5']]],['^close',[['e6']]],['^confirm',[['sendRefund']]]]}}" bind:cancel="__e" bind:close="__e" bind:confirm="__e" class="data-v-127632e4" bind:__l="__l" vue-slots="{{['default']}}"><view class="slot-content data-v-127632e4"><u-radio-group bind:input="__e" vue-id="{{('3c50aaa2-13')+','+('3c50aaa2-12')}}" placement="row" value="{{radiovalue}}" data-event-opts="{{[['^input',[['__set_model',['','radiovalue','$event',[]]]]]]}}" class="data-v-127632e4" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{radiolist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-radio vue-id="{{('3c50aaa2-14-'+index)+','+('3c50aaa2-13')}}" customStyle="{{({marginBottom:'8px',marginRight:'10px'})}}" value="{{item.value}}" label="{{item.name}}" name="{{item.value}}" class="data-v-127632e4" bind:__l="__l"></u-radio></block></u-radio-group></view></u-modal></view>