all.wxml 11 KB

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