index.wxml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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. <!-- 我的订单 -->
  51. <view class="order-block">
  52. <!-- <view class="my-order-title">
  53. <view>我的订单</view>
  54. <view class="whole-order" bindtap='goOrder'>
  55. <text>全部订单</text>
  56. <van-icon name="arrow" color="##85868A" />
  57. </view>
  58. </view> -->
  59. <view class="order-module">
  60. <view class="tool-item" bindtap='goOrderIndex' data-index='1' data-route='/pages/ucenter/order/order'>
  61. <image class="tool-img" mode="aspectFit"
  62. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-dfk.png'></image>
  63. <text class="tool-text">待付款</text>
  64. </view>
  65. <view class="tool-item" bindtap='goOrderIndex' data-index='2' data-route='/pages/ucenter/order/order'>
  66. <image class="tool-img" mode="aspectFit"
  67. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-fwz.png'></image>
  68. <text class="tool-text">服务中</text>
  69. </view>
  70. <!-- <view class="tool-item" bindtap='goOrderIndex' data-index='4' data-route='/pages/ucenter/order/order'>
  71. <image class="tool-img" mode="aspectFit"
  72. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-03.png'></image>
  73. <text class="tool-text">待评价</text>
  74. </view> -->
  75. <view class="tool-item" bindtap='goAftersaleList'>
  76. <image class="tool-img" mode="aspectFit"
  77. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-tksh.png'></image>
  78. <text class="tool-text">退款售后</text>
  79. </view>
  80. <image class="devide-img" mode="aspectFit"
  81. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-devide.png'></image>
  82. <view class="tool-item" bindtap='goOrderIndex' data-index='0' data-route='/pages/ucenter/order/order'>
  83. <image class="tool-img" mode="aspectFit"
  84. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-qbdd.png'></image>
  85. <text class="tool-text">全部订单</text>
  86. </view>
  87. </view>
  88. </view>
  89. <!-- <view class="main-module">
  90. <view class="coupon-block" bindtap='goCoupon'>
  91. <text class="num">{{couponCount}}</text>
  92. <text class="module-text">优惠券</text>
  93. </view>
  94. <view class="favor-good" bindtap='goCollect'>
  95. <text class="num">{{collectCount}}</text>
  96. <text class="module-text">收藏商品</text>
  97. </view>
  98. </view> -->
  99. <view class="middle-module-wrapper">
  100. <view class="middle-module">
  101. <view class="tool-item" bindtap='goCollect'>
  102. <image class="tool-img" mode="aspectFit"
  103. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-star.png'></image>
  104. <view class="line-right">
  105. <text class="tool-text">收藏商品</text>
  106. <image class="arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  107. </view>
  108. </view>
  109. <view class="tool-item" bindtap='goCoupon'>
  110. <image class="tool-img" mode="aspectFit"
  111. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-coupon.png'></image>
  112. <view class="line-right">
  113. <text class="tool-text">优惠券</text>
  114. <image class="arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  115. </view>
  116. </view>
  117. <view class="tool-item" bindtap='goAddress'>
  118. <image class="tool-img" mode="aspectFit"
  119. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-address.png'></image>
  120. <view class="line-right">
  121. <text class="tool-text">服务地址</text>
  122. <image class="arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  123. </view>
  124. </view>
  125. <view class="tool-item" bindtap="goIm">
  126. <image class="tool-img" mode="aspectFit"
  127. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-kf.png'></image>
  128. <view class="line-right">
  129. <text class="tool-text">联系客服</text>
  130. <image class="arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  131. </view>
  132. </view>
  133. <view class="tool-item" bindtap='goHelp'>
  134. <image class="tool-img" mode="aspectFit"
  135. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-info.png'></image>
  136. <view class="line-right">
  137. <text class="tool-text">服务说明</text>
  138. <image class="arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  139. </view>
  140. </view>
  141. <view class="tool-item" bindtap='aboutUs'>
  142. <image class="tool-img" mode="aspectFit"
  143. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-about.png'></image>
  144. <view class="line-right">
  145. <text class="tool-text">关于我们</text>
  146. <image class="arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  147. </view>
  148. </view>
  149. <view class="tool-item" bindtap='goFeedback'>
  150. <image class="tool-img" mode="aspectFit"
  151. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-07.png'></image>
  152. <view class="line-right">
  153. <text class="tool-text">意见反馈</text>
  154. <image class="arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  155. </view>
  156. </view>
  157. <!-- <contact-button style="opacity:0;position:absolute;" type="default-dark" session-from="weapp" size="27"> </contact-button> -->
  158. <!-- <view class="tool-item" bindtap="goIm">
  159. <image class="tool-img" mode="aspectFit"
  160. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-06.png'></image>
  161. <text class="tool-text">联系客服</text>
  162. </view>
  163. <view class="tool-item" bindtap='goFeedback'>
  164. <image class="tool-img" mode="aspectFit"
  165. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-07.png'></image>
  166. <text class="tool-text">意见反馈</text>
  167. </view>
  168. <view class="tool-item" bindtap='goHelp'>
  169. <image class="tool-img" mode="aspectFit"
  170. src='https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-09.png'></image>
  171. <text class="tool-text">服务说明</text>
  172. </view> -->
  173. </view>
  174. </view>
  175. <view class="switchaccount" wx:if="{{hasLogin}}" bindtap="exitLogin" data-type="1">切换账号</view>
  176. <view class="logout" wx:if="{{hasLogin}}" bindtap="exitLogin" data-type="2">退出登录</view>
  177. </view>
  178. </view>