aftersaleList.wxml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <view class="container">
  2. <view class="aftersales-switch">
  3. <view class="item {{ showType == 1 ? 'active' : ''}}" bindtap="switchTab" data-index='1'>
  4. <view class="txt">申请中</view>
  5. </view>
  6. <view class="item {{ showType == 2 ? 'active' : ''}}" bindtap="switchTab" data-index='2'>
  7. <view class="txt">处理中</view>
  8. </view>
  9. <view class="item {{ showType == 3 ? 'active' : ''}}" bindtap="switchTab" data-index='3'>
  10. <view class="txt">已完成</view>
  11. </view>
  12. <view class="item {{ showType == 4 ? 'active' : ''}}" bindtap="switchTab" data-index='4'>
  13. <view class="txt">已拒绝</view>
  14. </view>
  15. </view>
  16. <view class="no-aftersale" wx:if="{{aftersaleList.length <= 0}}">
  17. <view class="c">
  18. <text>还没有呢</text>
  19. </view>
  20. </view>
  21. <view class="aftersales">
  22. <navigator url="../aftersaleDetail/aftersaleDetail?id={{item.aftersale.orderId}}" class="aftersale" wx:for="{{aftersaleList}}" wx:key="id">
  23. <view class="h">
  24. <view class="l">售后编号:{{item.aftersale.aftersaleSn}}</view>
  25. </view>
  26. <view class="goods" wx:for="{{item.goodsList}}" wx:key="id" wx:for-item="gitem">
  27. <view class="img">
  28. <image src="{{gitem.picUrl}}"></image>
  29. </view>
  30. <view class="info">
  31. <text class="name">{{gitem.goodsName}}</text>
  32. <text class="number">{{gitem.number}}件商品</text>
  33. </view>
  34. <view class="status"></view>
  35. </view>
  36. <view class="b">
  37. <view class="l">申请退款金额:¥{{item.aftersale.amount}}元</view>
  38. </view>
  39. </navigator>
  40. </view>
  41. </view>