user.wxml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <view class="container">
  2. <view class="user-section">
  3. <view class="bg"></view>
  4. <view class="user-info-box ">
  5. <view bindtap="__e" class="detail flex" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/set/userinfo'] ] ] ] ]}}">
  6. <view class="portrait-box">
  7. <image class="portrait" src="{{userInfo.avatar||'/static/error/missing-face.png'}}"></image>
  8. </view>
  9. <view class="info-box">
  10. <view class="username flex">{{(userInfo.nickname||'游客')+''}}<view class="vipTip flex margin-l-20" wx:if="{{userInfo.level>0}}">
  11. <image mode=" heightFix" src="{{levelData.icon}}"></image>{{''+levelData.name}}</view>
  12. </view>
  13. <view class="font-size-sm" wx:if="{{userInfo.uid}}">{{'邀请码:'+userInfo.uid}}</view>
  14. </view>
  15. </view>
  16. <view class="config iconfont">
  17. <text bindtap="__e" class="setting iconsetting" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/set/set'] ] ] ] ]}}"></text>
  18. </view>
  19. </view>
  20. </view>
  21. <view class="cover-container">
  22. <view class="item-box">
  23. <view class="box-title flex borde-b">
  24. <view class="title">
  25. <text>我的订单</text>
  26. </view>
  27. <view bindtap="__e" class="link" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/order/order?state=0'] ] ] ] ]}}" hoverClass="common-hover">
  28. <text>全部</text>
  29. <text class="iconfont iconenter"></text>
  30. </view>
  31. </view>
  32. <view class="order-section">
  33. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/order/order?state=1'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  34. <view class=" icon position-relative">
  35. <image class="icon-img" mode="aspectFit" src="/static/icon/i2.png"></image>
  36. <view class="corner" wx:if="{{orderInfo.unshipped_count>0}}">
  37. <text>{{orderInfo.unshipped_count}}</text>
  38. </view>
  39. </view>
  40. <text>待发货</text>
  41. </view>
  42. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/order/order?state=2'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  43. <view class="icon position-relative">
  44. <image class="icon-img" mode="aspectFit" src="/static/icon/i3.png"></image>
  45. <view class="corner" wx:if="{{orderInfo.received_count>0}}">
  46. <text>{{orderInfo.received_count}}</text>
  47. </view>
  48. </view>
  49. <text>待收货</text>
  50. </view>
  51. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/order/order?state=3'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  52. <view class="icon position-relative">
  53. <image class="icon-img" mode="aspectFit" src="/static/icon/i4.png"></image>
  54. <view class="corner" wx:if="{{orderInfo.evaluated_count>0}}">
  55. <text>{{orderInfo.evaluated_count}}</text>
  56. </view>
  57. </view>
  58. <text>待评价</text>
  59. </view>
  60. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/order/order?state=4'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  61. <view class="icon position-relative">
  62. <image class="icon-img" mode="aspectFit" src="/static/icon/i1.png"></image>
  63. <view class="corner" wx:if="{{orderInfo.evaluated_count>0}}">
  64. <text>{{orderInfo.evaluated_count}}</text>
  65. </view>
  66. </view>
  67. <text>已完成</text>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="item-box" wx:if="{{isShowIllegality}}">
  72. <view class="box-title flex borde-b">
  73. <view class="title">
  74. <text>我的资产</text>
  75. </view>
  76. </view>
  77. <view class="order-section">
  78. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/wallet/wallet'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  79. <view class=" icon position-relative">
  80. <image class="icon-img" mode="aspectFit" src="/static/icon/ic3.png"></image>
  81. </view>
  82. <text>我的余额</text>
  83. </view>
  84. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/award/award'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  85. <view class=" icon position-relative">
  86. <image class="icon-img" mode="aspectFit" src="/static/icon/ic5.png"></image>
  87. </view>
  88. <text>我的佣金</text>
  89. </view>
  90. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/favorites/favorites'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  91. <view class=" icon position-relative">
  92. <image class="icon-img" mode="aspectFit" src="/static/icon/ic2.png"></image>
  93. </view>
  94. <text>我的收藏</text>
  95. </view>
  96. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/address/address'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  97. <view class=" icon position-relative">
  98. <image class="icon-img" mode="aspectFit" src="/static/icon/ic1.png"></image>
  99. </view>
  100. <text>收货地址</text>
  101. </view>
  102. </view>
  103. <view class="order-section">
  104. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['./myteam'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  105. <view class=" icon position-relative">
  106. <image class="icon-img" mode="aspectFit" src="/static/icon/ic7.png"></image>
  107. </view>
  108. <text>我的推广</text>
  109. </view>
  110. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['./share'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  111. <view class=" icon position-relative">
  112. <image class="icon-img" mode="aspectFit" src="/static/icon/ic6.png"></image>
  113. </view>
  114. <text>推广海报</text>
  115. </view>
  116. </view>
  117. </view>
  118. <view class="item-box" wx:if="{{userInfo.level==6}}">
  119. <view class="box-title flex borde-b">
  120. <view class="title">
  121. <text>应用功能</text>
  122. </view>
  123. </view>
  124. <view class="order-section">
  125. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/app/productAll'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  126. <view class=" icon position-relative">
  127. <image class="icon-img" mode="aspectFit" src="/static/icon/t1.png"></image>
  128. </view>
  129. <text>商品汇总</text>
  130. </view>
  131. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/app/orderManage'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  132. <view class=" icon position-relative">
  133. <image class="icon-img" mode="aspectFit" src="/static/icon/t2.png"></image>
  134. </view>
  135. <text>订单管理</text>
  136. </view>
  137. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/app/spreadRank'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  138. <view class=" icon position-relative">
  139. <image class="icon-img" mode="aspectFit" src="/static/icon/t3.png"></image>
  140. </view>
  141. <text>分销排行</text>
  142. </view>
  143. <view bindtap="__e" class="order-item" data-event-opts="{{[ [ 'tap',[ [ 'navTo',['/pages/app/tjfh'] ] ] ] ]}}" hoverClass="common-hover" hoverStayTime="{{50}}">
  144. <view class=" icon position-relative">
  145. <image class="icon-img" mode="aspectFit" src="/static/icon/t5.png"></image>
  146. </view>
  147. <text>推荐分红</text>
  148. </view>
  149. </view>
  150. </view>
  151. <view class="history-section icon">
  152. <uni-list bind:__l="__l" vueId="380011e0-1" vueSlots="{{['default']}}">
  153. <uni-list-item bind:__l="__l" bind:click="__e" data-event-opts="{{[ [ '^click',[ [ 'navTo',['/pages/set/about'] ] ] ] ]}}" thumb="/static/icon/img09.png" title="关于我们" vueId="{{'380011e0-2'+','+'380011e0-1'}}"></uni-list-item>
  154. </uni-list>
  155. </view>
  156. </view>
  157. </view>