抖音c端
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.

134 line
5.7 KiB

  1. <!-- <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> -->
  2. <!-- <navbar home="{{!ifshowtab}}" back="{{!back}}" text="我的订单" background="#fff"></navbar>
  3. <view style="height:{{navigationBarHeight}} "></view> -->
  4. <view class="market">
  5. <view class="boatBoxf">
  6. <view class="boatBox">
  7. <view class="boatItemBox" tt:for="{{tabs}}" tt:key="index" bindtap="setBoatFlag" data-index="{{item.key}}">
  8. <view class="{{boatFlag==item.key?'boatTitleA':'boatTitle'}}">{{item.name}}</view>
  9. <view class="boatA" tt:if="{{boatFlag==item.key}}"></view>
  10. </view>
  11. </view>
  12. </view>
  13. <view class="picker" tt:if="{{shopList.length>1}}">
  14. <picker mode="selector" bindchange="bindPickerChange" value="{{index}}" range="{{shopList}}" range-key="name"
  15. disabled="{{false}}">
  16. <view class="inside">
  17. <view class="picker_item">
  18. {{shopList[index].name}}
  19. </view>
  20. <image class="img" src="/assets/itemImg/filter.png"></image>
  21. </view>
  22. </picker>
  23. </view>
  24. <view>
  25. <view tt:for='{{list}}' tt:if="{{list.length!=0}}" class='section' tt:key='index'>
  26. <view class='detail_top'>
  27. <view>
  28. <text>订单id:{{item.id}}</text>
  29. </view>
  30. </view>
  31. <!-- 购物车模式 -->
  32. <view class="itemBox" tt:for="{{item.orders}}" tt:for-item="child" tt:key="index">
  33. <view class="payStatus">
  34. <text class='wait' tt:if="{{child.orderStatus==0}}">等待付款</text>
  35. <text class='wait' tt:if="{{child.orderStatus==10}}">拼团中</text>
  36. <text class='sucess' tt:if="{{child.orderStatus==3}}">待退款</text>
  37. <text class='close' tt:if="{{child.orderStatus==2}}">交易关闭</text>
  38. <text class='close' tt:if="{{child.orderStatus==6}}">砍价中</text>
  39. <text class='sucess' tt:if="{{child.orderStatus==7}}">砍价成功</text>
  40. <text class='close' tt:if="{{child.orderStatus==8}}">砍价失败</text>
  41. <text class='close' tt:if="{{child.orderStatus==9}}">砍价取消</text>
  42. <text class='close' tt:if="{{child.orderStatus==12}}">拼团已过期</text>
  43. <text class='close' tt:if="{{child.orderStatus==12}}">拼团失败</text>
  44. <text class='close' tt:if="{{child.orderStatus==8}}">砍价失败</text>
  45. <text class='close' tt:if="{{child.orderStatus==4}}">已退款</text>
  46. <text class='wait' tt:if="{{child.orderStatus==5}}">退款失败</text>
  47. <text class='sucess' tt:if="{{child.orderStatus==11}}">拼团成功</text>
  48. <text class='sucess'
  49. tt:if="{{child.orderStatus==1&&child.salePrice==0&&child.type!=50&&child.type!=51}}">免费领取</text>
  50. <text class='sucess'
  51. tt:if="{{child.orderStatus==1&&child.salePrice==0&&(child.type==50||child.type==51)}}">积分兑换</text>
  52. <text class='sucess' tt:if="{{child.orderStatus==1&&child.salePrice!=0}}">付款成功</text>
  53. </view>
  54. <view class="itemImg">
  55. <image mode="aspectFill" src='{{child.coverImg}}'></image>
  56. </view>
  57. <view class="itemContent">
  58. <!-- <view class="yunfeK" tt:if="{{!(child.type==11&&child.shippingType==2)}}"></view> -->
  59. <view class="sub">{{child.title}}</view>
  60. <view class="face">价格:
  61. <text>{{(child.salePrice)/100}}元 x {{child.couponNumber}}</text>
  62. </view>
  63. <view class="yunfe" tt:if="{{child.type==11&&child.shippingType==2}}">运费:{{child.freightPriceStr}}</view>
  64. <view class="date">下单时间:
  65. <text>{{child.createDate}}</text>
  66. </view>
  67. <view tt:if="{{child.orderStatus!=0 && child.orderStatus!=7&&child.orderStatus!=5&&child.orderStatus!=6}}"
  68. class="btnZf" data-shippingtype="{{child.shippingType}}" data-id="{{child.composeOrderId}}"
  69. data-shipping="{{child.shippingType}}" bindtap="gotopay">
  70. <text>去查看</text>
  71. </view>
  72. <view tt:if="{{child.orderStatus == 6}}" class="btn" data-id="{{child.id}}" bindtap="gotoDiscount">
  73. <text>砍价详情</text>
  74. </view>
  75. <!-- <view tt:if="{{child.orderStatus==0 || child.orderStatus==7}}" class="cancel" data-shippingtype="{{child.shippingType}}" data-id="{{child.composeOrderId}}" bindtap="cancel">
  76. <text>取消</text>
  77. </view> -->
  78. <view tt:if="{{child.orderStatus==0 || child.orderStatus==7}}" class="btnZf"
  79. data-shippingtype="{{child.shippingType}}" data-id="{{child.composeOrderId}}" bindtap="gotopay">
  80. <text>去支付</text>
  81. </view>
  82. <view tt:if="{{child.orderStatus==5}}" style="background:#999;opacity: .6;" class="btn">
  83. <text>退款失败</text>
  84. </view>
  85. </view>
  86. </view>
  87. <!-- 购物车模式 -->
  88. <view class='payment'>
  89. <view>
  90. <text>订单总金额:</text>
  91. <text>{{item.payment/100}}元</text>
  92. </view>
  93. <!--
  94. orderStatus
  95. 0待付款
  96. 1完成
  97. 2取消
  98. -->
  99. <!-- item.composeOrderId=='0'?item.id:item.composeOrderId -->
  100. </view>
  101. </view>
  102. <view>
  103. </view>
  104. <view class="dingdan" tt:if="{{list.length==0}}">
  105. <image src="{{noOrdersUrl}}" mode="widthFix"></image>
  106. <text>您还没有相关订单</text>
  107. <text>再忙,也要记得买点什么犒赏自己~</text>
  108. </view>
  109. </view>
  110. <view class="loading" tt:if="{{loading}}">
  111. <image src="{{loadingUrl}}" mode="widthFix"></image>{{content}}
  112. </view>
  113. <phoen showBox="{{showBox}}" bind:hiePhoen="setPhone" bind:heiBox="setBox" />
  114. </view>
  115. <tabbar tt:if="{{ifshowtab}}"></tabbar>