1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <nav type="back" background-color="#46a9a4" title="订单列表" />
- <block wx:for="{{list}}" wx:key="index">
- <view class="box" data-item="{{item}}" bindtap="orderdeils">
- <view class="order-number">
- <view class="number">订单号:{{item.orderNum}}</view>
- <block wx:if="{{item.status==100}}">
- <view class="state">未付款</view>
- </block>
- <block wx:if="{{item.status==200}}">
- <view class="state">未使用</view>
- </block>
- <block wx:if="{{item.status==400}}">
- <view class="state">未评价</view>
- </block>
- <block wx:if="{{item.status==500}}">
- <view class="state">申请退款</view>
- </block>
- <block wx:if="{{item.status==601}}">
- <view class="state">退款审核通过</view>
- </block>
- <block wx:if="{{item.status==602}}">
- <view class="state">退款被驳回</view>
- </block>
- <block wx:if="{{item.status==700}}">
- <view class="state">退款成功</view>
- </block>
- <block wx:if="{{item.status==800}}">
- <view class="state">已完成</view>
- </block>
- </view>
- <view class="order-txt" data-item="{{item}}">
- <image class="order-image" src="{{item.image}}" />
- <view class="order-name">
- <view>{{item.name}}</view>
- <view class="order-price">¥{{item.price}}</view>
- <view class="order-time">下单用户:{{item.user.mobile ? item.user.mobile : '暂无' }}</view>
- <view class="order-time">下单时间:{{item.time}}</view>
- </view>
- </view>
- <!-- <view class="order-order">
-
- <block wx:if="{{item.status == 800}}">
- <view class="pay" data-item="{{item}}" catchtap="orderpay">订单详情</view>
- </block>
- <block wx:if="{{item.status==100}}">
- <view class="service" data-index="{{index}}" catchtap="delOrder">取消定单</view>
- </block>
- <block wx:if="{{item.status==200}}">
- <view class="service">申请退款</view>
- </block>
- <block wx:if="{{item.status==100}}">
- <view class="pay" data-item="{{item}}" catchtap="storepackage">去支付</view>
- </block>
- <block wx:if="{{item.status==200}}">
- <view class="pay" data-item="{{item}}" catchtap="orderpay">去使用</view>
- </block>
- <block wx:if="{{item.status==400}}">
- <view class="pay" data-item="{{item}}" catchtap="evaluation">去评价</view>
- </block>
- </view> -->
- </view>
- </block>
|