all.wxml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <!--登陆界面-->
  2. <view class="logindiv" wx:if="{{userInfo == 'nologin'}}">
  3. <image class="logindiv_image" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/xcx/start.png"></image>
  4. <button class="loginbtn" open-type="getUserInfo" bindgetuserinfo="getUserInfo">微信授权登陆</button>
  5. </view>
  6. <view class="user">
  7. <view class="user-top">
  8. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/parner.png" class="user-par" wx:if="{{checkData.copartner_state == 1}}" />
  9. <view class="user-name ellipsis">{{userInfo.nickname}}</view>
  10. <button class="user-title" wx:if="{{userInfo == 'nologin'}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo" style="font-size: 18px;margin-top: -20px;">立即登陆</button>
  11. <view class="user-title" wx:if="{{userInfo != 'nologin'}}"><text>NO.{{info.wx_user.id}}</text><text wx:if="{{info.user.tel}}"> | TEL : {{info.user.tel}}</text></view>
  12. <span class="user-title" style="top: 165rpx;" wx:if="{{userInfo.rank == 1}}">(身份:代理)</span>
  13. <span class="user-title" style="top: 165rpx;" wx:if="{{userInfo.rank == 2}}">(身份:店长)</span>
  14. <!--<view wx:if="{{userInfo != 'nologin' && !bindTel}}">
  15. <view class="user-title">
  16. <text>尚未绑定手机 , </text>
  17. </view>
  18. <navigator url="/packageUser/pages/user/bind/bind">
  19. <view class="bind">立即绑定</view>
  20. </navigator>
  21. </view>-->
  22. <image class="user-head" src="{{userInfo.full_head}}"></image>
  23. <view class="clean"></view>
  24. </view>
  25. <view style="padding-bottom: 50rpx;">
  26. <view class="user-radishbg">
  27. <view class="user-points" bindtap="toRadish">
  28. <view class="user-points__title">我的代金券</view>
  29. <image class="user-points__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  30. <view class="user-points__num">{{balance / 100}}</view>
  31. </view>
  32. <view class="user-luobo">
  33. <!--
  34. <navigator url="/packageUser/pages/user/exchange/exchange">
  35. <view class="user-radish">兑换代金券</view>
  36. </navigator>
  37. -->
  38. <navigator bindtap="buyVoucher" wx:if="{{bindTel}}">
  39. <view class="user-radish1" style="width:100%">购买代金券</view>
  40. </navigator>
  41. <navigator url="/packageUser/pages/user/otherbind/otherbind" wx:if="{{!bindTel}}">
  42. <view class="user-radish1" style="width:100%">购买代金券</view>
  43. </navigator>
  44. <!--<view class="line1"></view>-->
  45. </view>
  46. <view class="clean"></view>
  47. </view>
  48. <view class="user-padding">
  49. <!--
  50. <navigator url="/packageUser/pages/user/orders/orders" >
  51. <view class="user-line">
  52. <view class="user-line__title">我的订单</view>
  53. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  54. </view>
  55. </navigator>
  56. -->
  57. <view class="user-state">
  58. <navigator url="/packageUser/pages/user/orders/orders" >
  59. <view class="user-dingdan">
  60. <image class="user-paid__icon" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/icon/dingdan.png"></image>
  61. <view class="user-paid__text">我的订单</view>
  62. </view>
  63. </navigator>
  64. <navigator url="/packageUser/pages/user/orders/orders?type=unpay" >
  65. <view class="user-paid">
  66. <image class="user-paid__icon" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/paid.png"></image>
  67. <view class="user-paid__text">待支付</view>
  68. </view>
  69. </navigator>
  70. <navigator url="/packageUser/pages/user/orders/orders?type=processing" >
  71. <view class="user-deliver">
  72. <image class="user-paid__icon" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/deliver.png"></image>
  73. <view class="user-deliver__text">待发货</view>
  74. </view>
  75. </navigator>
  76. <navigator url="/packageUser/pages/user/orders/orders?type=dispatch" >
  77. <view class="user-collect">
  78. <image class="user-collect__icon" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/collect.png"></image>
  79. <view class="user-collect__text">待收货</view>
  80. </view>
  81. </navigator>
  82. <view class="clean"></view>
  83. </view>
  84. </view>
  85. <!--
  86. <view class="user-padding">
  87. <navigator url="/packageUser/pages/user/farm/farm" >
  88. <view class="user-farm">
  89. <image class="user-farm__icon" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/icon/farm.png"></image>
  90. <view class="user-farm__text">我的团购</view>
  91. </view>
  92. </navigator>
  93. <navigator url="/packageUser/pages/user/granary/granary">
  94. <view class="user-granary">
  95. <image class="user-granary__icon" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/icon/granary.png"></image>
  96. <view class="user-granary__text">我的粮仓</view>
  97. </view>
  98. </navigator>
  99. <view class="line"></view>
  100. <view class="clean"></view>
  101. </view>
  102. -->
  103. <view class="user-padding">
  104. <view class="user-line" bindtap="toInviteList">
  105. <view class="user-line__title">我的推广</view>
  106. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  107. </view>
  108. <view class="user-line" bindtap="toCashList" style="border:0;" wx:if="{{userInfo.show_invite_mode}}">
  109. <view class="user-line__title">我的收入</view>
  110. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  111. </view>
  112. </view>
  113. <view class="user-padding">
  114. <view class="user-line" bindtap="toIdentity">
  115. <view class="user-line__title">会员认证</view>
  116. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  117. </view>
  118. <!--<view class="user-line" bindtap="toBankInfo">
  119. <view class="user-line__title">银行信息</view>
  120. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  121. </view>-->
  122. <view class="user-line" bindtap="toAddressList">
  123. <view class="user-line__title">收货地址</view>
  124. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  125. </view>
  126. <!--<view class="user-line" bindtap="toSafe" >
  127. <view class="user-line__title">修改交易密码</view>
  128. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  129. </view>-->
  130. <!--
  131. <view class="user-line" bindtap="toApplyLeader" >
  132. <view class="user-line__title">团长申请</view>
  133. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  134. </view>
  135. <view class="user-line" bindtap="toAreaCart" >
  136. <view class="user-line__title">店铺专区</view>
  137. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  138. </view>
  139. -->
  140. <view class="user-line" bindtap="toCustom" >
  141. <view class="user-line__title">联系客服</view>
  142. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  143. </view>
  144. <!--
  145. <view class="user-line" bindtap="toAbout" style="border:0;">
  146. <view class="user-line__title">关于商城</view>
  147. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  148. </view>
  149. -->
  150. </view>
  151. <view class="user-padding" wx:if="{{ checkData.merchant_id > 0}}">
  152. <view class="user-line" bindtap="toMerchant" style="{{checkData.is_super_admin ? 'margin-top: 20rpx;':'margin-top: 20rpx;border:0;'}}">
  153. <view class="user-line__title">订单管理</view>
  154. <view class="user-line__merchant"></view>
  155. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  156. <view class="user-line__merchantNum" wx:if="{{merchant}}">{{merchant.list_count}}</view>
  157. </view>
  158. <view class="user-line" bindtap="toMerchant1" style="border:0;" wx:if="{{checkData.is_super_admin}}">
  159. <view class="user-line__title">结算管理</view>
  160. <view class="user-line__merchant1"></view>
  161. <image class="user-line__right" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/right.png"></image>
  162. </view>
  163. </view>
  164. </view>
  165. <!--
  166. <view class="unbind" wx:if="{{!bindTel}}">
  167. <image class="unbind-img" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/user/bindtel.png"></image>
  168. <view class="unbind-title">你还没绑定手机号</view>
  169. <view class="unbind-about">兑换产品前要确定绑定了手机哦!</view>
  170. <view class="unbind-btn" bindtap="toBindTel">去绑定</view>
  171. </view>
  172. -->
  173. </view>