1
0

index.wxml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <view class="container">
  2. <view class="userinfo">
  3. <text class="txt-info">温馨提示:支付购买前需自行查看跨境额度是否超出,否则会出货失败</text>
  4. <image class="userinfo-avatar" wx:if="{{userInfo.nickName!='点击头像登录'&&userInfo.avatarUrl}}" src="{{userInfo.avatarUrl}}" background-size="cover"></image>
  5. <image class="userinfo-avatar" wx:if="{{userInfo.nickName=='点击头像登录'&&userInfo.avatarUrl}}" bindtap='loginUser' src="{{userInfo.avatarUrl}}" background-size="cover"></image>
  6. <view class='user-box'>
  7. <view class="userinfo-nickname">{{userInfo.nickName}}</view>
  8. <view class="userlevel" wx:if="{{userInfo.nickName!='点击头像登录'}}">{{curUser.userLevel}}</view>
  9. </view>
  10. </view>
  11. <view class="item-all" bindtap='allOrder'>
  12. <text class="txt">全部订单</text>
  13. <text class="txt2">查看全部订单 ></text>
  14. </view>
  15. <view class="order-menu">
  16. <view class="item" bindtap='checkUnNum' data-index="1">
  17. <!-- <navigator url="/pages/ucenter/order/order?tabIndex=1" class="a"> -->
  18. <view class="unpay-num" wx:if="{{unPayNum>0}}">{{unPayNum}}</view>
  19. <text class="icon unpay"></text>
  20. <text class="txt">待付款</text>
  21. <!-- </navigator> -->
  22. </view>
  23. <view class="item" bindtap='checkUnNum' data-index="2">
  24. <!-- <navigator url="/pages/ucenter/order/order?tabIndex=2" class="a"> -->
  25. <view class="unPayment-num" wx:if="{{unPaymentNum>0}}">{{unPaymentNum}}</view>
  26. <image class="icon unPayment" src="../../../static/images/service-dfh.png" ></image>
  27. <text class="txt">待发货</text>
  28. <!-- </navigator> -->
  29. </view>
  30. <view class="item" bindtap='checkUnNum' data-index="3">
  31. <!-- <navigator url="/pages/ucenter/order/order?tabIndex=3" class="a"> -->
  32. <view class="untake-num" wx:if="{{unTakeNum>0}}">{{unTakeNum}}</view>
  33. <text class="icon delivery"></text>
  34. <text class="txt">待收货</text>
  35. <!-- </navigator> -->
  36. </view>
  37. <view class="item" bindtap='checkUnNum' data-index="4">
  38. <!-- <navigator url="/pages/ucenter/order/order?tabIndex=4" class="a"> -->
  39. <view class="uneval-num" wx:if="{{unEvalNum>0}}">{{unEvalNum}}</view>
  40. <text class="icon evaluate"></text>
  41. <text class="txt">待评价</text>
  42. <!-- </navigator> -->
  43. </view>
  44. <view class="item" bindtap='checkUnNum' data-index="5">
  45. <!-- <navigator url="/pages/ucenter/order/order?tabIndex=5" class="a"> -->
  46. <text class="icon order"></text>
  47. <text class="txt">维权</text>
  48. <!-- </navigator> -->
  49. </view>
  50. </view>
  51. <view class="user-menu">
  52. <view class="item" bindtap='checkCouponLogin'>
  53. <!-- <navigator url="/pages/ucenter/coupon/coupon" class="a"> -->
  54. <view class="a">
  55. <!-- <text class="icon coupon"></text> -->
  56. <image src="../../../static/images/service-yhj.png" class="icon"></image>
  57. <text class="txt">我的优惠券</text>
  58. </view>
  59. <!-- </navigator> -->
  60. </view>
  61. <view class="item" bindtap='checkCollectLogin'>
  62. <!-- <navigator url="/pages/ucenter/collect/collect" class="a"> -->
  63. <view class="a">
  64. <!-- <text class="icon collect"></text> -->
  65. <image src="../../../static/images/service-sc.png" class="icon"></image>
  66. <text class="txt">我的收藏</text>
  67. </view>
  68. <!-- </navigator> -->
  69. </view>
  70. <view class="item" bindtap='checkFootLogin'>
  71. <!-- <navigator url="/pages/ucenter/footprint/footprint" class="a"> -->
  72. <view class="a">
  73. <!-- <text class="icon security"></text> -->
  74. <image src="../../../static/images/service-zj.png" class="icon"></image>
  75. <text class="txt">我的足迹</text>
  76. </view>
  77. <!-- </navigator> -->
  78. </view>
  79. <!-- <view class="item">
  80. <navigator url="/pages/ucenter/share/share" class="a">
  81. <text class="icon share"></text>
  82. <text class="txt">我的分享</text>
  83. </navigator>
  84. </view> -->
  85. <view class="item" bindtap='checkAddressLogin'>
  86. <!-- <navigator url="/pages/ucenter/address/address" class="a"> -->
  87. <view class="a">
  88. <!-- <text class="icon address"></text> -->
  89. <image src="../../../static/images/service-dw.png" class="icon"></image>
  90. <text class="txt">地址管理</text>
  91. </view>
  92. <!-- </navigator> -->
  93. </view>
  94. <!-- <view class="item">
  95. <navigator url="/pages/ucenter/group/group" class="a">
  96. <image src="../../../static/images/service-tg.png" class="icon"></image>
  97. <text class="txt">我的团购</text>
  98. </navigator>
  99. </view> -->
  100. <view class="item" bindtap='checkCardLogin'>
  101. <!-- <navigator url="/pages/ucenter/idCard/idCard" class="a"> -->
  102. <view class="a">
  103. <image src="../../../static/images/service-sfz.png" class="icon"></image>
  104. <text class="txt">实名认证</text>
  105. </view>
  106. <!-- </navigator> -->
  107. </view>
  108. <view class="item" wx:if="{{!curUser.mobile&&userInfo.nickName!='点击头像登录'}}" bindtap="bindMobile">
  109. <!-- <navigator url="/pages/ucenter/feedback/feedback" class="a"> -->
  110. <view class="a">
  111. <text class="icon mobile"></text>
  112. <text class="txt">绑定手机</text>
  113. </view>
  114. <!-- </navigator> -->
  115. </view>
  116. <view class="item" bindtap='checkFeedLogin'>
  117. <!-- <navigator url="/pages/ucenter/feedback/feedback" class="a"> -->
  118. <view class="a">
  119. <text class="icon feedback"></text>
  120. <text class="txt">售后服务</text>
  121. </view>
  122. <!-- </navigator> -->
  123. </view>
  124. <view class="item item">
  125. <navigator url="/pages/ucenter/help/help" class="a">
  126. <text class="icon help"></text>
  127. <text class="txt">帮助中心</text>
  128. </navigator>
  129. </view>
  130. </view>
  131. <button wx:if="{{userInfo.nickName!='点击头像登录'}}" open-type="contact" type='primary' class="logout">联系客服</button>
  132. <!-- <button wx:if="{{!curUser.mobile&&userInfo.nickName!='点击头像登录'}}" type='primary' class="logout" bindtap="bindMobile">绑定手机</button> -->
  133. <button wx:if="{{userInfo.nickName!='点击头像登录'}}" type='primary' class="logout" bindtap="exitLogin">退出登录</button>
  134. <view class='banquan-view'>
  135. <view class="banquan">
  136. Copyright©2016-2020
  137. </view>
  138. <view class="banquan">
  139. 中网科技版权所有
  140. </view>
  141. </view>
  142. </view>