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

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