C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

87 行
5.2 KiB

  1. <!-- <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> -->
  2. <navbar home back text="我的订单" background="#fff"></navbar>
  3. <view style="height:{{navigationBarHeight}} "></view>
  4. <view class="market">
  5. <i-tabs style="top:{{navigationBarHeight}}" class='tabs' current="{{ current_scroll }}" scroll bindchange="handleChangeScroll">
  6. <i-tab class='i-tab' wx:for="{{tabs}}" wx:key="unique" key="{{item.key}}" title="{{item.name}}"></i-tab>
  7. </i-tabs>
  8. <view style='padding-top:90rpx;'>
  9. <view wx:for='{{list}}' wx:if="{{list.length!=0}}" class='section' wx:key='{{index}}' >
  10. <view class='detail_top'>
  11. <view>
  12. <!-- <image wx:if="{{item.orderStatus == 6 || item.orderStatus == 7 || item.orderStatus == 8 || item.orderStatus == 9}}" src="{{wmdiscount}}" class="discount" mode="widthFix"></image> -->
  13. <!-- <image wx:if="{{item.orderStatus == 1&& item.type == 8}}" src="{{wmdiscount}}" class="discount" mode="widthFix"></image> -->
  14. <text>{{item.title}}</text>
  15. <text class='wait' wx:if="{{item.orderStatus==0}}">等待付款</text>
  16. <text class='wait' wx:if="{{item.orderStatus==10}}">拼团中</text>
  17. <text class='sucess' wx:if="{{item.orderStatus==3}}">待退款</text>
  18. <text class='close' wx:if="{{item.orderStatus==2}}">交易关闭</text>
  19. <text class='close' wx:if="{{item.orderStatus==6}}">砍价中</text>
  20. <text class='sucess' wx:if="{{item.orderStatus==7}}">砍价成功</text>
  21. <text class='close' wx:if="{{item.orderStatus==8}}">砍价失败</text>
  22. <text class='close' wx:if="{{item.orderStatus==9}}">砍价取消</text>
  23. <text class='close' wx:if="{{item.orderStatus==12}}">拼团已过期</text>
  24. <text class='close' wx:if="{{item.orderStatus==12}}">拼团失败</text>
  25. <text class='close' wx:if="{{item.orderStatus==8}}">砍价失败</text>
  26. <text class='close' wx:if="{{item.orderStatus==4}}">已退款</text>
  27. <text class='wait' wx:if="{{item.orderStatus==5}}">退款失败</text>
  28. <text class='sucess' wx:if="{{item.orderStatus==11}}">拼团成功</text>
  29. <text class='sucess' wx:if="{{item.orderStatus==1&&item.salePrice==0&&item.type!=50&&item.type!=51}}">免费领取</text>
  30. <text class='sucess' wx:if="{{item.orderStatus==1&&item.salePrice==0&&(item.type==50||item.type==51)}}">积分兑换</text>
  31. <text class='sucess' wx:if="{{item.orderStatus==1&&item.salePrice!=0}}">付款成功</text>
  32. </view>
  33. </view>
  34. <view class='detail_msg'>
  35. <view class='logo'>
  36. <image mode="aspectFill" src='{{item.coverImg}}'></image>
  37. </view>
  38. <view class='info'>
  39. <view class="sub">{{item.subTitle}}</view>
  40. <view class="value" wx:if="{{item.type != 8}}">面额:<text wx:if="{{item.unit==0}}">{{item.price/100}}元</text><text wx:if="{{item.unit==1}}">{{item.price/100}}小时</text></view>
  41. <view class="value" wx:if="{{item.type == 8}}">原价:<text wx:if="{{item.unit==0}}">{{item.price/100}}元</text><text wx:if="{{item.unit==1}}">{{item.price/100}}小时</text></view>
  42. <!-- <image class='sendImg' wx:if="{{item.sendChannelType!=1&&item.sendChannelType!=undefined}}" src='{{wmgive}}' mode='widthFix'></image> -->
  43. <view class="value">下单时间:<text>{{item.createDate}}</text>
  44. </view>
  45. </view>
  46. </view>
  47. <view class='payment'>
  48. <view>
  49. <text>实付金额:</text><text>{{item.payment/100}}元</text>
  50. </view>
  51. <!--
  52. orderStatus
  53. 0待付款
  54. 1完成
  55. 2取消
  56. -->
  57. <view wx:if="{{item.orderStatus==1||item.orderStatus==11}}" class="btnZf" data-id="{{item.id}}" bindtap="gotopay">
  58. <text>去查看</text>
  59. </view>
  60. <view wx:if="{{item.orderStatus == 6}}" class="btn" data-id="{{item.id}}" bindtap="gotoDiscount">
  61. <text>砍价详情</text>
  62. </view>
  63. <view wx:if="{{item.orderStatus==0 || item.orderStatus==7}}" class="btn" data-id="{{item.id}}" bindtap="gotopay">
  64. <text>去支付</text>
  65. </view>
  66. <!-- <view wx:if="{{item.orderStatus==15&&item.type==9}}" data-data="{{item}}" class="btn" data-id="{{item.id}}" bindtap="gotoSpellPay">
  67. <text>去支付</text>
  68. </view> -->
  69. <view wx:if="{{item.orderStatus==5}}" style="background:#999;opacity: .6;" class="btn">
  70. <text>退款失败</text>
  71. </view>
  72. <!-- <view wx:if="{{item.orderStatus==2}}" class="btnGm" data-id="{{item.id}}" bindtap="gotopay" data-couponId="{{item.couponId}}" data-couponChannelId="{{item.id}}" data-targetAd="{{item.targetAd}}" >
  73. <text class='txGm'>再次购买</text>
  74. </view> -->
  75. </view>
  76. </view>
  77. <view class="dingdan" wx:if="{{list.length==0}}">
  78. <image src="{{noOrdersUrl}}" mode="widthFix"></image>
  79. <text>您还没有相关订单</text>
  80. <text>再忙,也要记得买点什么犒赏自己~</text>
  81. </view>
  82. </view>
  83. <view class="loading" wx:if="{{loading}}">
  84. <image src="{{loadingUrl}}" mode="widthFix"></image>{{content}}
  85. </view>
  86. </view>