1 |
- <view class="myOrder _div"><block wx:for="{{orderList}}" wx:for-item="item" wx:for-index="__i0__"><view class="myOrderItem _div"><view class="myOrderItemTop _div"><label class="myOrderItemTopLeft _span"><image class="frameIcon _img" src="{{$root.m0}}"></image>共享资源·会议室预约</label><label class="{{['_span',item.status==='等待审核'?'orgColor':item.status==='预定成功'?'greColor':'grayColor']}}">{{item.status}}</label></view><view class="orderTheme _div">{{item.theme}}</view><view class="myOrderItemBottom _div"><view class="myOrderItemBottomLeft _div"><label class="_span">订单号:202405061228</label><label class="_span">预约时间:2021-1-21 13:00</label></view><block wx:if="{{item.status!=='已取消'}}"><button data-event-opts="{{[['tap',[['toCancel',['$event']]]]]}}" class="cancelBtn" catchtap="__e">去取消</button></block></view><block wx:if="{{item.status==='已取消'}}"><view class="cancleBox _div">取消原因:取消原因取消原因取消原因取消原因取消原因取消原因取消原因取消原因取消原因取消原因取消原因取消原因取消原因取消原因</view></block></view></block><van-dialog vue-id="5bd37e26-1" use-slot="{{true}}" title="取消预约" show="{{show}}" show-cancel-button="{{true}}" confirm-button-open-type="getUserInfo" data-event-opts="{{[['^confirm',[['confirm']]]]}}" data-com-type="wx" bind:confirm="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="dialogBox _div"><van-field class="myField" vue-id="{{('5bd37e26-2')+','+('5bd37e26-1')}}" value="{{contant}}" autosize="{{true}}" type="textarea" placeholder="请输入取消原因" maxlength="800" show-word-limit="{{true}}" data-com-type="wx" bind:__l="__l"></van-field></view></van-dialog></view>
|