detection-user/unpackage/dist/build/mp-weixin/pages/detection/my-order.wxml
2024-09-18 18:50:21 +08:00

1 line
5.0 KiB
Plaintext

<view class="content data-v-180319b1"><view class="c-top data-v-180319b1"><view data-event-opts="{{[['tap',[['getback']]]]}}" class="c-zuo data-v-180319b1" bindtap="__e"><uni-icons vue-id="4f7993d4-1" type="left" size="18" class="data-v-180319b1" bind:__l="__l"></uni-icons></view><view class="c-title data-v-180319b1">我的订单</view><view class="c-you data-v-180319b1"></view></view><view class="top-icon data-v-180319b1"><view class="s-input data-v-180319b1"><uni-icons vue-id="4f7993d4-2" type="search" color=" #999999" size="16" class="data-v-180319b1" bind:__l="__l"></uni-icons><input type="text" placeholder="搜索我的订单" data-event-opts="{{[['input',[['__set_model',['','title','$event',[]]]]]]}}" value="{{title}}" bindinput="__e" class="data-v-180319b1"/></view><view data-event-opts="{{[['tap',[['gettitle']]]]}}" class="h-text data-v-180319b1" bindtap="__e">搜索</view></view><view class="top-tap data-v-180319b1"><block wx:for="{{arrtap}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getindex',[index,'$0'],[[['arrtap','',index,'id']]]]]]]}}" class="{{['tap-box','data-v-180319b1',(gindex==index)?'cc':'']}}" bindtap="__e"><view style="margin-bottom:4px;" class="data-v-180319b1">{{item.text}}</view><block wx:if="{{gindex==index}}"><view class="gang data-v-180319b1"></view></block></view></block></view><view class="dil data-v-180319b1"><block wx:if="{{arrbox==''}}"><view class="ques data-v-180319b1"><u-empty vue-id="4f7993d4-3" mode="list" textSize="32rpx" iconSize="160rpx" class="data-v-180319b1" bind:__l="__l"></u-empty></view></block><block wx:for="{{arrbox}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="d-box data-v-180319b1"><view data-event-opts="{{[['tap',[['getdetails',['$0'],[[['arrbox','',index,'id']]]]]]]}}" class="t-right data-v-180319b1" bindtap="__e"><block wx:if="{{item.orderStatus==0}}"><view class="bq data-v-180319b1"><text class="data-v-180319b1">待支付</text></view></block><block wx:if="{{item.orderStatus==1}}"><view class="data-v-180319b1"><u-button vue-id="{{'4f7993d4-4-'+index}}" color="#0D2E8D" size="mini" text="去使用" class="data-v-180319b1" bind:__l="__l"></u-button></view></block><block wx:if="{{item.orderStatus==2}}"><view class="bq2 data-v-180319b1"><block wx:if="{{!item.commentDesc}}"><u-button vue-id="{{'4f7993d4-5-'+index}}" color="#0D2E8D" size="mini" text="去评价" class="data-v-180319b1" bind:__l="__l"></u-button></block><block wx:else><text class="data-v-180319b1">已评价</text></block></view></block><block wx:if="{{item.orderStatus==3}}"><view class="bq2 data-v-180319b1"><text class="data-v-180319b1">已完成</text></view></block><block wx:if="{{item.orderStatus==4}}"><view class="bq2 data-v-180319b1"><text class="data-v-180319b1">退款中</text></view></block><block wx:if="{{item.orderStatus==6}}"><view class="bq2 data-v-180319b1"><text class="data-v-180319b1">退款审核</text></view></block><block wx:if="{{item.orderStatus==5}}"><view class="bq2 data-v-180319b1"><text class="data-v-180319b1">已退款</text></view></block></view><view data-event-opts="{{[['tap',[['getdetails',['$0'],[[['arrbox','',index,'id']]]]]]]}}" class="d-left data-v-180319b1" bindtap="__e"><text class="data-v-180319b1">{{item.goodsTitle}}</text></view><view data-event-opts="{{[['tap',[['getdetails',['$0'],[[['arrbox','',index,'id']]]]]]]}}" class="t-left data-v-180319b1" bindtap="__e"><text class="data-v-180319b1">{{"订单编号:"+item.orderNo}}</text></view><view class="x-left data-v-180319b1"><view data-event-opts="{{[['tap',[['getdetails',['$0'],[[['arrbox','',index,'id']]]]]]]}}" bindtap="__e" class="data-v-180319b1">{{"下单时间:"+item.orderTime}}</view><view style="display:flex;" class="data-v-180319b1"><view class="hong data-v-180319b1" style="margin-right:5px;">{{"¥"+(item.payMoney+item.balance)/100}}</view></view></view></view></block><uni-popup vue-id="4f7993d4-6" type="dialog" data-ref="alertDialog" class="data-v-180319b1 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><uni-popup-dialog vue-id="{{('4f7993d4-7')+','+('4f7993d4-6')}}" type="{{msgType}}" cancelText="关闭" confirmText="同意" title="通知" content="您是否确认退款" data-event-opts="{{[['^confirm',[['dialogConfirm']]],['^close',[['dialogClose']]]]}}" bind:confirm="__e" bind:close="__e" class="data-v-180319b1" bind:__l="__l"></uni-popup-dialog></uni-popup><u-popup vue-id="4f7993d4-8" show="{{codeShow}}" round="{{10}}" mode="bottom" closeable="{{true}}" data-event-opts="{{[['^close',[['closeCodePop']]]]}}" bind:close="__e" class="data-v-180319b1" bind:__l="__l" vue-slots="{{['default']}}"><view class="codePop flex-col align-center data-v-180319b1"><text class="text-bold text-lg margin-top margin-bottom data-v-180319b1">电子凭证详情</text><canvas style="width:100px;height:100px;" canvas-id="myQrcode" class="data-v-180319b1"></canvas><text class="margin-top margin-bottom data-v-180319b1">{{$root.m0}}</text></view></u-popup></view><view style="width:100%;height:50px;" class="data-v-180319b1"></view></view>