You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
2.3 KiB

4 years ago
<!-- 切换平台 -->
<van-tabs active="{{ active }}" bind:change="onChange">
4 years ago
<van-tab wx:for='{{switch_}}' title="{{item}}">
<view wx:if="{{order_list.length==0}}" class="no_content">
<image class="img" src="/images/ui/none.png" />
<view class="warn">还未查询到您的观看记录</view>
</view>
<view wx:else>
<view class="order_list" wx:for="{{order_list}}" data-order_no="{{item.order_no}}" bindtap="detail">
4 years ago
<van-cell custom-class="order_status_info"
value-class="value {{item.order_status==2?'_value1':(item.order_status==1?'_value2':'')}}">
<view slot="title" class="_title"><text style="font-weight:bold;">订单号:</text>{{item.order_no}}</view>
<view class="_value">{{order_status[item.order_status]}}</view>
</van-cell>
<van-card title="{{item.show_name}}" title-style='font-weight:bold;font-size:28rpx;' thumb="{{item.order_pic}}"
custom-class="order_info">
<view slot="price" class="_desc">
<view class="left_inf">
<view class="_time">{{item.show_date}}</view>
<view class="_field">{{item.city_name}}{{item.theater_name}}</view>
</view>
<view class="right_inf">
<view class="_text">实付款</view>
<view class="_amount {{(item.order_status==2||item.order_status==1)?'_amount1':'_amount2'}}">
<view style="font-size:32rpx;">¥</view>
<view style=" font-weight: bold;">{{item.order_price}}</view>
</view>
</view>
4 years ago
</view>
<view slot="footer" class="_footer">
<block wx:if="{{item.order_status==2}}">
<view class="_cancel" data-order_no="{{item.order_no}}" catchtap="cancel">取消订单</view>
<view class="_confirm" data-order_no="{{item.order_no}}" catchtap="pay">立即支付</view>
</block>
<!-- -->
<block wx:if="{{item.order_status==12||item.order_status==15}}">
<view class="_confirm" data-order_no="{{item.order_no}}" catchtap="dele">删除订单</view>
</block>
4 years ago
</view>
</van-card>
</view>
</view>
4 years ago
<view class="more" wx:if="{{order_list.length >= 6&&!has_more}}" bindtap="goTop">别滑了,已经到底啦~</view>
4 years ago
</van-tab>
</van-tabs>