classOrder.wxml 1.5 KB

1234567891011121314151617181920212223
  1. <view class="container">
  2. <view class="order-view">
  3. <view class="order-list">
  4. <view class="order-box" wx:for="{{list}}" wx:key="index" bindtap="getDetail" data-id="{{item.id}}" data-cid="{{item.orderClassesId}}" data-type="{{item.orderType}}">
  5. <view class="order-type">{{item.orderType == 2 ? '练琴卡' : (item.kindId == 1 ?'1v1' : '集体')}}</view>
  6. <view class="order-name">{{item.classesName}}
  7. <block wx:if="{{item.refundStatus == 4}}">[已退款]</block>
  8. </view>
  9. <view class="order-nums" wx:if="{{item.orderType == 1}}">× {{item.nums}}次 ({{item.classesTimes}}课时)</view>
  10. <view class="order-nums" wx:if="{{item.orderType == 2}}">× {{item.nums}}(天)</view>
  11. <view class="order-addr">{{item.address}}</view>
  12. <view class="order-price">原价:¥ {{item.totalAmount}}</view>
  13. <view class="order-teacher"><text wx:if="{{item.teacherName}}">老师:</text>{{item.teacherName}}</view>
  14. <view class="order-payMoney">实付:<text>¥ {{item.classesActualAmount}}</text></view>
  15. <view class="order-title">订单号</view>
  16. <view class="order-orderNum">{{item.orderNum}} </view>
  17. <view class="order-payTime" wx:if="{{item.payDate}}">付款时间:{{item.payDate}}</view>
  18. <view class="order-payTime" wx:if="{{item.refundStatus == 4}}">退款时间:{{item.refundDate}}</view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="loading">{{loading}}</view>
  23. </view>