all.wxml 8.2 KB

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