mine.wxml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <!--pages/mine/mine.wxml-->
  2. <view style="height: {{height*2 + 20}}px;width: 10rpx;"></view>
  3. <view class="body">
  4. <view class="top">
  5. <van-image round width="65px" fit="cover" height="65px" src="{{avatarUrl}}" />
  6. <view class="top-content">
  7. <view class="top-nick">
  8. <view class="nick-name" style="color: {{isLogin ? '#232323' : '#989898'}};">{{nickName}}</view>
  9. <view class="nick-login" bindtap="login" wx:if="{{!isLogin}}">登录</view>
  10. </view>
  11. <view class="top-cut" bindtap="navgo" data-url="/pages/adminlist/adminlist">
  12. 切换账号<image src="/images/qiehuan-big.png"></image>
  13. </view>
  14. </view>
  15. <view class="top-end">
  16. <view class="top-home" wx:if="{{!tuan}}" bindtap="navToMyHomePage" data-url="/pages/myhomepage/myhomepage?type=1">我的主页 ></view>
  17. <view class="top-home" wx:else></view>
  18. <view class="top-cutsta" bindtap="qiehuan">
  19. <p wx:if="{{tuan}}">切换为团长</p>
  20. <p wx:else>切换为团员</p>
  21. </view>
  22. </view>
  23. </view>
  24. <!-- 团员 -->
  25. <view class="yuan" wx:if="{{tuan}}">
  26. <view class="yuan-body">
  27. <view class="yuan-order" bindtap="navgo" data-url="/pages/myorders/myorders">
  28. <view class="icon">
  29. <image src="/images/order-2.png"></image>
  30. </view>
  31. <p>我的订单</p>
  32. </view>
  33. <view class="yuan-order" bindtap="navgo" data-url="/pages/footprint/footprint">
  34. <view class="icon">
  35. <image src="/images/footprint.png"></image>
  36. </view>
  37. <p>我的足迹</p>
  38. </view>
  39. </view>
  40. <view class="yuan-content">
  41. <!--
  42. <view class="yuan-c-info" bindtap="navgo" data-url="/pages/bankcard/bankcard">
  43. <image class="y-yhk" src="/images/mine/yinhangka.png"></image>
  44. <p>银行卡</p>
  45. </view>
  46. -->
  47. <view class="yuan-c-info" bindtap="navgo" data-url="/pages/deliveryaddress/deliveryaddress?type=1">
  48. <image class="y-thd" src="/images/mine/tihuodian.png"></image>
  49. <p>收货地址</p>
  50. </view>
  51. <view class="yuan-c-info" bindtap="navgo" data-url="/pages/webview/webview?type=service">
  52. <image class="y-kf" src="/images/mine/kefu.png"></image>
  53. <p>平台客服</p>
  54. </view>
  55. </view>
  56. <view class="yuan-foot">
  57. <view class="yuan-f-info" bindtap="navgo" data-url="/pages/webview/webview?type=course">
  58. <image class="yuan-jc" src="/images/mine/maijiajiaocheng.png"></image>
  59. <p>卖家教程</p>
  60. <image class="foot-go" src="/images/go.png"></image>
  61. </view>
  62. <view class="yuan-f-info" bindtap="navgo" data-url="/pages/webview/webview?type=agreement">
  63. <image class="yuan-xy" src="/images/mine/fuwuxieyi.png"></image>
  64. <p>服务协议</p>
  65. <image class="foot-go" src="/images/go.png"></image>
  66. </view>
  67. <view class="yuan-f-info" bindtap="navgo" data-url="/pages/setting/setting">
  68. <image class="yuan-sz" src="/images/mine/setting.png"></image>
  69. <p>设置</p>
  70. <image class="foot-go" src="/images/go.png"></image>
  71. </view>
  72. </view>
  73. </view>
  74. <!-- 团长 -->
  75. <view class="tuan" wx:else>
  76. <view class="tuan-body">
  77. <view class="tuan-info" bindtap="navgo" data-url="/pages/withdraw/withdraw">
  78. <image src="/images/mine/tixian.png"></image>
  79. <p>提现管理</p>
  80. <p style="font-size: 24rpx;color: #FF876E;font-weight: 500;">C${{userinfo.balance || '0.00'}}</p>
  81. </view>
  82. <view class="tuan-info" bindtap="navgo" data-url="/pages/ordermanage/ordermanage">
  83. <image src="/images/mine/dingdan.png"></image>
  84. <p>订单管理</p>
  85. </view>
  86. <view class="tuan-info" bindtap="navgo" data-url="/pages/returnofgoods/returnofgoods">
  87. <image src="/images/mine/tuihuo.png"></image>
  88. <p>退货管理</p>
  89. </view>
  90. <view class="tuan-info" bindtap="navgo" data-url="/packageA/pages/analysis/analysis">
  91. <image src="/images/mine/tongji.png"></image>
  92. <p>统计分析</p>
  93. </view>
  94. </view>
  95. <view class="tuan-content">
  96. <view class="tuan-c-info" bindtap="navgo" data-url="/pages/goodsbank/goodsbank">
  97. <image src="/images/mine/goodsbank.png"></image>
  98. <p>商品库</p>
  99. </view>
  100. <view class="tuan-c-info" bindtap="navgo" data-url="/pages/deliveryaddress/deliveryaddress?type=0">
  101. <image src="/images/mine/tihuodian.png"></image>
  102. <p>提货点</p>
  103. </view>
  104. <view class="tuan-c-info" bindtap="navgo" data-url="/pages/goodverify/goodverify">
  105. <image src="/images/mine/shangpinhexiao.png"></image>
  106. <p>商品核销</p>
  107. </view>
  108. <view class="tuan-c-info" bindtap="navgo" data-url="/pages/pintuanmanage/pintuanmanage">
  109. <image src="/images/mine/pintuan.png"></image>
  110. <p>拼团管理</p>
  111. </view>
  112. <view class="tuan-c-info" bindtap="navgo" data-url="/pages/receipt/receipt">
  113. <image src="/images/mine/shoukuanma.png"></image>
  114. <p>收款码</p>
  115. </view>
  116. <view class="tuan-c-info" bindtap="navgo" data-url="/pages/webview/webview?type=service">
  117. <image src="/images/mine/kefu.png"></image>
  118. <p>平台客服</p>
  119. </view>
  120. <view class="tuan-c-info" bindtap="navgo" data-url="/pages/adminmanage/adminmanage">
  121. <image src="/images/mine/administrator.png"></image>
  122. <p>管理员管理</p>
  123. </view>
  124. <!-- <view class="tuan-c-info" bindtap="navgo" data-url="/packageA/pages/lazyLoad/index">
  125. <image src="/images/mine/administrator.png"></image>
  126. <p>测试</p>
  127. </view> -->
  128. </view>
  129. <view class="tuan-content1" catchtap="navgo" data-url="/pages/helptosell/helptosell">
  130. <view class="tuan-c1-info">
  131. <image style="width: 60rpx;height: 60rpx;" src="/images/mine/chaxunyewu.png"></image>
  132. <p>选品大厅</p>
  133. </view>
  134. <view class="tuan-c1-info" catchtap="navgo" data-url="/pages/invitehelpmesell/invitehelpmesell">
  135. <image style="width: 60rpx;height: 60rpx;" src="/images/mine/bangwomai.png"></image>
  136. <p>发布帮卖</p>
  137. </view>
  138. </view>
  139. <view class="tuan-foot">
  140. <view class="yuan-f-info" bindtap="navgo" data-url="/pages/webview/webview?type=course">
  141. <image class="yuan-jc" src="/images/mine/maijiajiaocheng.png"></image>
  142. <p>卖家教程</p>
  143. <image class="foot-go" src="/images/go.png"></image>
  144. </view>
  145. <view class="yuan-f-info">
  146. <image class="yuan-hy" src="/images/mine/vip.png"></image>
  147. <p>会员管理</p>
  148. <image class="foot-go" src="/images/go.png"></image>
  149. </view>
  150. <view class="yuan-f-info" bindtap="navgo" data-url="/pages/webview/webview?type=agreement">
  151. <image class="yuan-xy" src="/images/mine/fuwuxieyi.png"></image>
  152. <p>服务协议</p>
  153. <image class="foot-go" src="/images/go.png"></image>
  154. </view>
  155. <view class="yuan-f-info" bindtap="navgo" data-url="/pages/setting/setting">
  156. <image class="yuan-sz" src="/images/mine/setting.png"></image>
  157. <p>设置</p>
  158. <image class="foot-go" src="/images/go.png"></image>
  159. </view>
  160. </view>
  161. </view>
  162. </view>