index.wxml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  1. <view class="ucenter-page">
  2. <view class="top">
  3. <!-- <image class='profile-info-backimg' src='/static/images/myinfo.png' mode="aspectFit"/> -->
  4. <view class="profile-info" bindtap="goLogin">
  5. <image class="avatar" src="{{userInfo.avatarUrl?userInfo.avatarUrl:'/static/images/new/icon-user.png'}}" mode="aspectFit"></image>
  6. <view class="info">
  7. <view class="user-name-wrapper">
  8. <text class="name">{{userInfo.nickName}}</text>
  9. <view class="jz-badge" wx:if="{{hasLogin&&isMember}}">J</view>
  10. </view>
  11. <text class="cert">{{userInfo.mobile}}</text>
  12. <button wx:if="{{!issign}}" bindtap="wxLogin" class="plus">完善信息</button>
  13. <!-- open-type="getUserInfo"-->
  14. <!--<progress percent="50" wx:if="{{hasLogin}}" class="process" activeColor="white" backgroundColor="#808080" stroke-width="8rpx"></progress>-->
  15. </view>
  16. <!-- 超级鲸会员
  17. <view class="jz-member-wrapper" wx:if="{{hasLogin}}">
  18. <view class="is-member" wx:if="{{isMember}}" bindtap="goMemberCenter">
  19. <view class="is-member-right">
  20. <text>超级鲸会员</text>
  21. <van-icon name="arrow" color="#5D3A11" />
  22. </view>
  23. </view>
  24. <view class="not-member" wx:else bindtap="goMemberCenter">
  25. <text>开通超级鲸会员</text>
  26. <van-icon name="arrow" color="#5D3A11" />
  27. </view>
  28. </view> -->
  29. <!-- <view>
  30. <image class='profile-info-qr-image' wx:if="{{hasLogin}}" src='/static/images/qrcode.png'
  31. bindtap="createQrcode"></image>
  32. </view> -->
  33. </view>
  34. </view>
  35. <!-- 引荐人 -->
  36. <view class="recommend-module" wx:if="{{hasLogin&&isdis}}">
  37. <view class="recommend-main">
  38. <view class="recommend-top">
  39. <image src='/static/images/new/icon-recommend.png'></image>
  40. <text>鲸致团长</text>
  41. <view class="recomend-center" bindtap="goReferee">
  42. <text>鲸致团长</text>
  43. <van-icon name="arrow" color="#2A2A2A" />
  44. </view>
  45. </view>
  46. <view class="adv-text">鲸致团长|合作安心·月月分佣</view>
  47. </view>
  48. </view>
  49. <view class="container">
  50. <view class="main-module">
  51. <view class="coupon-block" bindtap='goCoupon'>
  52. <text class="num">{{couponCount}}</text>
  53. <text class="module-text">优惠券</text>
  54. </view>
  55. <!-- <view class="devide-line">
  56. </view> -->
  57. <view class="favor-good" bindtap='goCollect'>
  58. <text class="num">{{collectCount}}</text>
  59. <text class="module-text">收藏商品</text>
  60. </view>
  61. </view>
  62. <!-- 我的订单 -->
  63. <view class="order-block">
  64. <view class="my-order-title">
  65. <view>我的订单</view>
  66. <view class="whole-order" bindtap='goOrder'>
  67. <text>全部订单</text>
  68. <van-icon name="arrow" color="##85868A" />
  69. </view>
  70. </view>
  71. <view class="order-module">
  72. <view class="tool-item" bindtap='goOrderIndex' data-index='1' data-route='/pages/ucenter/order/order'>
  73. <image class="tool-img" mode="aspectFit"
  74. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-01.png'></image>
  75. <text class="tool-text">待付款</text>
  76. </view>
  77. <view class="tool-item" bindtap='goOrderIndex' data-index='3' data-route='/pages/ucenter/order/order'>
  78. <image class="tool-img" mode="aspectFit"
  79. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-02.png'></image>
  80. <text class="tool-text">服务中</text>
  81. </view>
  82. <view class="tool-item" bindtap='goOrderIndex' data-index='4' data-route='/pages/ucenter/order/order'>
  83. <image class="tool-img" mode="aspectFit"
  84. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-03.png'></image>
  85. <text class="tool-text">待评价</text>
  86. </view>
  87. <view class="tool-item" bindtap='goAftersaleList'>
  88. <image class="tool-img" mode="aspectFit"
  89. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-04.png'></image>
  90. <text class="tool-text">退款售后</text>
  91. </view>
  92. </view>
  93. </view>
  94. <view class="middle-module-wrapper">
  95. <view class="tool-module middle-module">
  96. <view class="tool-item" bindtap='goAddress'>
  97. <image class="tool-img" mode="aspectFit"
  98. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-05.png'></image>
  99. <text class="tool-text">服务地址</text>
  100. </view>
  101. <view class="tool-item">
  102. <contact-button style="opacity:0;position:absolute;" type="default-dark" session-from="weapp" size="27"> </contact-button>
  103. <image class="tool-img" mode="aspectFit"
  104. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-06.png'></image>
  105. <text class="tool-text">联系客服</text>
  106. </view>
  107. <view class="tool-item" bindtap='goFeedback'>
  108. <image class="tool-img" mode="aspectFit"
  109. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-07.png'></image>
  110. <text class="tool-text">意见反馈</text>
  111. </view>
  112. <!-- <view class="tool-item" bindtap='aboutUs'>
  113. <image class="tool-img" mode="aspectFit"
  114. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-08.png'></image>
  115. <text class="tool-text">关于我们</text>
  116. </view> -->
  117. <view class="tool-item" bindtap='goHelp'>
  118. <image class="tool-img" mode="aspectFit"
  119. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-09.png'></image>
  120. <text class="tool-text">服务说明</text>
  121. </view>
  122. </view>
  123. <view class="tool-module bottom-module">
  124. <view class="tool-item" bindtap='aboutUs'>
  125. <image class="tool-img" mode="aspectFit"
  126. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-08.png'></image>
  127. <text class="tool-text">关于我们</text>
  128. </view>
  129. </view>
  130. <!-- <view class="tool-module bottom-module"> -->
  131. <!-- <view class="tool-item" bindtap='goHelp'>
  132. <image class="tool-img" mode="aspectFit"
  133. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-09.png'></image>
  134. <text class="tool-text">帮助中心</text>
  135. </view> -->
  136. <!-- <view class="tool-item" bindtap='goStar'>
  137. <image class="tool-img" mode="aspectFit"
  138. src='/static/images/mycenter-10.png'></image>
  139. <text class="tool-text">引荐人</text>
  140. </view> -->
  141. <!-- <view class="tool-item" bindtap='goAftersaleList'>
  142. <image class="tool-img" mode="aspectFit"
  143. src='/static/images/mycenter-04.png'></image>
  144. <text class="tool-text">售后列表</text>
  145. </view> -->
  146. <!-- <view class="tool-item">
  147. </view>
  148. <view class="tool-item">
  149. </view>
  150. <view class="tool-item">
  151. </view>
  152. </view> -->
  153. </view>
  154. <!-- <view class="tool-module">
  155. <view class="tool-item" bindtap='goOrderIndex' data-index='1' data-route='/pages/ucenter/order/order'>
  156. <image class="tool-img" mode="aspectFit"
  157. src='/static/images/mycenter-01.png'></image>
  158. <text class="tool-text">待付款</text>
  159. </view>
  160. <view class="tool-item" bindtap='goOrderIndex' data-index='3' data-route='/pages/ucenter/order/order'>
  161. <image class="tool-img" mode="aspectFit"
  162. src='/static/images/mycenter-02.png'></image>
  163. <text class="tool-text">待上门</text>
  164. </view>
  165. <view class="tool-item" bindtap='goOrderIndex' data-index='4' data-route='/pages/ucenter/order/order'>
  166. <image class="tool-img" mode="aspectFit"
  167. src='/static/images/mycenter-03.png'></image>
  168. <text class="tool-text">待评价</text>
  169. </view>
  170. <view class="tool-item" bindtap='goOrder'>
  171. <image class="tool-img" mode="aspectFit"
  172. src='/static/images/mycenter-04.png'></image>
  173. <text class="tool-text">全部订单</text>
  174. </view>
  175. </view>
  176. <view class="tool-module">
  177. <view class="tool-item" bindtap='goAddress'>
  178. <image class="tool-img" mode="aspectFit"
  179. src='/static/images/mycenter-05.png'></image>
  180. <text class="tool-text">服务地址</text>
  181. </view>
  182. <view class="tool-item">
  183. <contact-button style="opacity:0;position:absolute;" type="default-dark" session-from="weapp" size="27"> </contact-button>
  184. <image class="tool-img" mode="aspectFit"
  185. src='/static/images/mycenter-06.png'></image>
  186. <text class="tool-text">联系客服</text>
  187. </view>
  188. <view class="tool-item" bindtap='goFeedback'>
  189. <image class="tool-img" mode="aspectFit"
  190. src='/static/images/mycenter-07.png'></image>
  191. <text class="tool-text">意见反馈</text>
  192. </view>
  193. <view class="tool-item" bindtap='aboutUs'>
  194. <image class="tool-img" mode="aspectFit"
  195. src='/static/images/mycenter-08.png'></image>
  196. <text class="tool-text">关于我们</text>
  197. </view>
  198. </view>
  199. <view class="tool-module">
  200. <view class="tool-item" bindtap='goHelp'>
  201. <image class="tool-img" mode="aspectFit"
  202. src='/static/images/mycenter-09.png'></image>
  203. <text class="tool-text">帮助中心</text>
  204. </view>
  205. <view class="tool-item" bindtap='goStar'>
  206. <image class="tool-img" mode="aspectFit"
  207. src='/static/images/mycenter-10.png'></image>
  208. <text class="tool-text">引荐人</text>
  209. </view>
  210. <view class="tool-item" bindtap='goAftersaleList'>
  211. <image class="tool-img" mode="aspectFit"
  212. src='/static/images/mycenter-04.png'></image>
  213. <text class="tool-text">售后列表</text>
  214. </view>
  215. <view class="tool-item">
  216. </view>
  217. <view class="tool-item">
  218. </view>
  219. </view> -->
  220. <!-- <view class='user_tool'>
  221. <view class='user_tool_row' bindtap='goOrder'>
  222. <view class='user_row_left'>我的订单</view>
  223. <van-icon class='user_row_right' name="arrow" />
  224. </view> -->
  225. <!-- <view class='user_column'>
  226. <view class='user_column_item' bindtap='goOrderIndex' data-index='1' data-route='/pages/ucenter/order/order'>
  227. <text class="user_column_item_badge" wx:if="{{order.unpaid != 0}}">{{order.unpaid}}</text>
  228. <image class='user_column_item_image' src='/static/images/money.png'>
  229. </image>
  230. <view class='user_column_item_text'>待付款</view>
  231. </view> -->
  232. <!-- <view class='user_column_item' bindtap='goOrderIndex' data-index='2' data-route='/pages/ucenter/order/order'>
  233. <text class="user_column_item_badge" wx:if="{{order.unship != 0}}">{{order.unship}}</text>
  234. <image class='user_column_item_image' src='/static/images/car.png'></image>
  235. <view class='user_column_item_text'>待发货</view>
  236. </view> -->
  237. <!-- <view class='user_column_item' bindtap='goOrderIndex' data-index='3' data-route='/pages/ucenter/order/order'>
  238. <text class="user_column_item_badge" wx:if="{{order.unrecv != 0}}">{{order.unrecv}}</text>
  239. <image class='user_column_item_image' src='/static/images/box.png'></image>
  240. <view class='user_column_item_text'>待上门</view>
  241. </view>
  242. <view class='user_column_item' bindtap='goOrderIndex' data-index='4' data-route='/pages/ucenter/order/order'>
  243. <text class="user_column_item_badge" wx:if="{{order.uncomment != 0}}">{{order.uncomment}}</text>
  244. <image class='user_column_item_image' src='/static/images/msg.png'></image>
  245. <view class='user_column_item_text'>待评价</view>
  246. </view>
  247. <view class='user_column_item' bindtap='goAfterSale'>
  248. <image class='user_column_item_image' src='/static/images/sale.png'></image>
  249. <view class='user_column_item_text'>售后</view>
  250. </view>
  251. </view>
  252. </view>
  253. <view class='user_tool'>
  254. <view class='user_tool_row'>
  255. <view class='user_tool_row_title'>核心服务</view>
  256. </view>
  257. <view class='user_column'>
  258. <view class='user_column_item' bindtap='goStar'>
  259. <image class='user_column_item_image' src='/static/images/group.png'></image>
  260. <view class='user_column_item_text' wx:if="{{isdis}}">合伙人</view>
  261. <view class='user_column_item_text' wx:if="{{!isdis}}">加入合伙人</view>
  262. </view> -->
  263. <!-- <view class='user_column_item' bindtap='goCoupon'>
  264. <image class='user_column_item_image' src='/static/images/coupon.png'></image>
  265. <view class='user_column_item_text'>优惠卷</view>
  266. </view>
  267. <view class='user_column_item' bindtap='goCollect'>
  268. <image class='user_column_item_image' src='/static/images/collect.png'></image>
  269. <view class='user_column_item_text'>商品收藏</view>
  270. </view> -->
  271. <!--<view class='user_column_item' bindtap='goFootprint'>
  272. <image class='user_column_item_image' src='https://zc-oss-wechat.oss-cn-zhangjiakou.aliyuncs.com/icon/footprint.png'></image>
  273. <view class='user_column_item_text'>浏览足迹</view>
  274. </view>
  275. <view class='user_column_item' bindtap='goGroupon'>
  276. <image class='user_column_item_image' src='/static/images/peoples.png'></image>
  277. <view class='user_column_item_text'>我的拼团</view>
  278. </view>-->
  279. <!-- <view class='user_column_item' bindtap='goAddress'>
  280. <image class='user_column_item_image' src='/static/images/address.png'></image>
  281. <view class='user_column_item_text'>地址管理</view>
  282. </view>
  283. </view>
  284. </view> -->
  285. <!-- <view class="user_tool">
  286. <view class='user_tool_row'>
  287. <view class='user_tool_row_title'>必备工具</view>
  288. </view>
  289. <view class='user_tool_column'> -->
  290. <!--<view class='user_tool_column_item' bindtap='goRegistr' wx:if="{{!isnid}}">
  291. <image class='user_tool_column_item_image' src='/static/images/ic.png'></image>
  292. <view class='user_tool_column_item_text'>实名认证</view>
  293. </view>-->
  294. <!-- <view class='user_column_item' bindtap='goHelp'>
  295. <image class='user_column_item_image' src='/static/images/help.png'></image>
  296. <view class='user_column_item_text'>帮助中心</view>
  297. </view>
  298. <view class='user_column_item' bindtap='goFeedback'>
  299. <image class='user_column_item_image' src='/static/images/feedback.png'></image>
  300. <view class='user_column_item_text'>意见反馈</view>
  301. </view>
  302. <view class='user_column_item'>
  303. <contact-button style="opacity:0;position:absolute;" type="default-dark" session-from="weapp" size="27">
  304. </contact-button>
  305. <image class='user_column_item_image' src='/static/images/customer.png'></image>
  306. <view class='user_column_item_text'>联系客服</view>
  307. </view>
  308. <view class='user_column_item' bindtap='aboutUs'>
  309. <image class='user_column_item_image' src='/static/images/about.png'></image>
  310. <view class='user_column_item_text'>关于我们</view>
  311. </view>
  312. </view> -->
  313. <!-- </view> -->
  314. <view class="logout" wx:if="{{hasLogin}}" bindtap="exitLogin">退出登录</view>
  315. </view>
  316. </view>