user.wxml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <!--pages/user/user.wxml-->
  2. <view class='container'>
  3. <!-- 用户信息 -->
  4. <view class='userinfo-none' wx:if="{{isAuthInfo}}">
  5. <view class='default-pic' bindtap="toPersonalInfo">
  6. <image src="{{loginResult.pic? loginResult.pic : '../../images/icon/head04.png'}}"></image>
  7. </view>
  8. <view class='none-login'>
  9. <view class="nick-con">
  10. <text class="nick-name">{{loginResult.nickName}}</text>
  11. <!-- <button class="update-info-btn" open-type="getUserInfo" bindgetuserinfo="toPersonalInfo">更新用户信息</button> -->
  12. </view>
  13. <view class="canpany">
  14. 中数未来(广州)信息技术有限公司
  15. </view>
  16. <!-- <view class="level">
  17. <image class="l-bg" src="{{userLevelInfo.levelType==1?'../../images/icon/integral-icon.png':'../../images/icon/normal-icon.png'}}" role="img"></image>
  18. <view class="text">{{userLevelInfo.levelType==1?userLevelInfo.levelName:'普通会员'}}</view>
  19. </view> -->
  20. <!-- <view class="member-integral" bindtap="toMemberInteral">
  21. <image src="../../images/icon/jifen@2x.png"></image>
  22. <text class="score-amount">积分:{{userLevelInfo.score?userLevelInfo.score:'0'}} <text class="arrow"></text> </text>
  23. </view> -->
  24. <!-- <view class="buy-member" bindtap="toBuyMember">
  25. <image src="../../images/icon/goumaihuiyuan@2x.png"></image>
  26. <text>购买会员</text>
  27. </view> -->
  28. </view>
  29. </view>
  30. <view class='userinfo-none' wx:if="{{!isAuthInfo}}" bindtap="onGotUserInfo">
  31. <view class="default-pic">
  32. <image src="../../images/icon/head04.png"></image>
  33. </view>
  34. <view class="none-login">
  35. <!-- <button class="unlogin">未登录</button> -->
  36. <view class="click-login">请登录后使用完整功能</view>
  37. </view>
  38. </view>
  39. <!-- end 用户信息 -->
  40. <view class='list-cont'>
  41. <!-- 订单状态 -->
  42. <view class='total-order box'>
  43. <view class='order-tit'>
  44. <text style='font-weight:bold'>我的订单</text>
  45. <view class='checkmore' bindtap='toOrderListPage' data-sts="0">
  46. <text>查看全部 </text>
  47. <text class='arrowhead'></text>
  48. </view>
  49. </view>
  50. <view class='procedure'>
  51. <view class='items' bindtap='toOrderListPage' data-sts="1">
  52. <image src='../../images/icon/toPay.png'></image>
  53. <text>待支付</text>
  54. <text class='num-badge' wx:if="{{orderAmount.unPay>0}}">{{orderAmount.unPay}}</text>
  55. </view>
  56. <!-- <view class='items' bindtap='toOrderListPage' data-sts="2">
  57. <image src='../../images/icon/toDelivery.png'></image>
  58. <text>待发货</text>
  59. <text class='num-badge' wx:if="{{orderAmount.payed>0}}">{{orderAmount.payed}}</text>
  60. </view> -->
  61. <view class='items' bindtap='toOrderListPage' data-sts="3">
  62. <image src='../../images/icon/toTake.png'></image>
  63. <text>待收货</text>
  64. <text class='num-badge' wx:if="{{orderAmount.consignment>0}}">{{orderAmount.consignment}}</text>
  65. </view>
  66. <view class='items' bindtap='toOrderListPage' data-sts="5">
  67. <image src='../../images/icon/toComment.png'></image>
  68. <text>已完成</text>
  69. </view>
  70. <view class='items' bindtap='toAfterSalesPage'>
  71. <image src='../../images/icon/refund.png'></image>
  72. <text>退款/售后</text>
  73. <text class='num-badge' wx:if="{{orderAmount.refund>0}}">{{orderAmount.refund}}</text>
  74. </view>
  75. </view>
  76. </view>
  77. <!--end 订单状态 -->
  78. <!-- <view class="prod-col">
  79. <view class="col-item" bindtap='myCollectionHandle'>
  80. <view class="num">{{collectionCount}}</view>
  81. <view class="tit">我的收藏</view>
  82. </view>
  83. <view class="col-item">
  84. <view class="num">5</view>
  85. <view class="tit">我的消息</view>
  86. </view>
  87. <view class="col-item">
  88. <view class="num">3</view>
  89. <view class="tit">我的足迹</view>
  90. </view>
  91. </view> -->
  92. <view class='my-menu box'>
  93. <!-- wx:if="{{canDistribution}}" -->
  94. <!-- <view class='memu-item' bindtap='toCouponCenter'>
  95. <view class="i-name">
  96. <image src='../../images/icon/getCoupon.png'></image>
  97. <text>领券中心</text>
  98. </view>
  99. <view class='arrowhead'></view>
  100. </view>
  101. <view class='memu-item' bindtap='toMyCouponPage'>
  102. <view class="i-name">
  103. <image src='../../images/icon/myCoupon.png'></image>
  104. <text>我的优惠券</text>
  105. </view>
  106. <view class='arrowhead'></view>
  107. </view> -->
  108. <view class='memu-item' bindtap='toAddressList'>
  109. <view class="i-name">
  110. <image src='../../images/icon/myAddr.png'></image>
  111. <text>收货地址</text>
  112. </view>
  113. <view class='arrowhead'></view>
  114. </view>
  115. <!-- <view class='memu-item' bindtap='myCollectionHandle'>
  116. <view class="i-name">
  117. <image src='../../images/icon/myCol.png'></image>
  118. <text>我的收藏</text>
  119. </view>
  120. <view class='arrowhead'></view>
  121. </view> -->
  122. <button open-type="contact" class='memu-btn memu-item'>
  123. <view class="i-name">
  124. <image src='../../images/icon/customer-service.png'></image>
  125. <text>联系平台客服</text>
  126. </view>
  127. <view class='arrowhead'></view>
  128. </button>
  129. </view>
  130. <view class='my-menu box'>
  131. <view class='memu-item' bindtap='toMemberInteral'>
  132. <view class="i-name">
  133. <image src='../../images/icon/jifen.png'></image>
  134. <text>积分</text>
  135. </view>
  136. <view class='arrowhead'></view>
  137. </view>
  138. <view class='memu-item' bindtap='toReview'>
  139. <view class="i-name">
  140. <image src='../../images/icon/pingjia.png'></image>
  141. <text>评价</text>
  142. </view>
  143. <view class='arrowhead'></view>
  144. </view>
  145. </view>
  146. <!--end 列表项 -->
  147. <view class="log-out" bindtap="logout" wx:if="{{isAuthInfo}}">
  148. <text>退出登录</text>
  149. </view>
  150. </view>
  151. </view>