index.wxml 14 KB

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