<view class="content"><view class="top-fixed"><view class="pub-tab-box"><view class="tab-inner"><block wx:for="{{orderStatus}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['orderStatusChange',['$0'],[[['orderStatus','',index]]]]]]]}}" class="{{[item.val==orderStatusValue?'item active':'item']}}" bindtap="__e"><view class="text">{{''+item.name+''}}<image hidden="{{!(item.val==orderStatusValue)}}" class="tab-bg" src="../../static/images/tab_bg.png" mode></image></view></view></block></view></view></view><view class="consu-list"><mescroll-body class="vue-ref" vue-id="a42aeda0-1" top="88upx" down="{{downOption}}" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item"><view class="ordersn-box"><view class="num">{{"订单号："+item.$orig.orderSn}}</view><view class="status-box"><block wx:if="{{item.$orig.orderType==1}}"><view class="recom-box">图文问诊</view></block><block wx:if="{{item.$orig.orderType==2}}"><view class="recom-box">语音问诊</view></block><text class="text success">{{''+item.g0+''}}</text></view></view><view class="doctor-info"><view class="img-box"><image src="{{item.$orig.doctorHeadImg}}" mode="aspectFill"></image></view><view class="name"><text>{{item.$orig.doctorName}}</text><text>{{item.$orig.departmentName}}</text><text>{{item.$orig.hospitalName}}</text></view></view><view class="ask-text">{{item.$orig.title}}</view><block wx:if="{{item.$orig.patientId!=null}}"><view class="patient-text">{{"患者:"+item.$orig.patientName+" "+item.g1+"岁 "+(item.$orig.patientGender==1?'男':'女')}}</view></block><view class="ask-time">{{item.$orig.createTime}}</view><view class="bottom-box"><view class="amount-paid"><text class="label">实付金额：</text><view class="price-box"><view class="unit">¥</view><view class="num">{{item.g2}}</view></view></view><view class="btn-box"><block wx:if="{{item.$orig.status==0||item.$orig.status==1}}"><view data-event-opts="{{[['tap',[['cancel',['$0'],[[['dataList','',index]]]]]]]}}" class="btn cancel" bindtap="__e">取消订单</view></block><block wx:if="{{item.$orig.status==1}}"><view data-event-opts="{{[['tap',[['showDetail',['$0'],[[['dataList','',index]]]]]]]}}" class="btn cancel" bindtap="__e">查看会话</view></block><block wx:if="{{item.$orig.status==0}}"><view data-event-opts="{{[['tap',[['pay',['$0'],[[['dataList','',index]]]]]]]}}" class="btn pay" bindtap="__e">支付</view></block></view></view></view></block></mescroll-body></view></view>