user.wxml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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" wx:if="{{shopName}}">
  14. {{shopName}}
  15. </view>
  16. </view>
  17. <!-- <view class="set-box" bind:tap="goSetting">
  18. <image class="set-icon" src="../../images/icon/setting.png" mode=""/>
  19. <view class="text">账户设置</view>
  20. </view> -->
  21. </view>
  22. <view class='userinfo-none' wx:if="{{!isAuthInfo}}" bindtap="onGotUserInfo">
  23. <view class="default-pic">
  24. <image src="../../images/icon/head04.png"></image>
  25. </view>
  26. <view class="none-login">
  27. <!-- <button class="unlogin">未登录</button> -->
  28. <view class="click-login">请登录后使用完整功能</view>
  29. </view>
  30. </view>
  31. <!-- end 用户信息 -->
  32. <view class='list-cont'>
  33. <!-- 订单状态 -->
  34. <view class='total-order box'>
  35. <view class='order-tit'>
  36. <text style='font-weight:bold'>我的订单</text>
  37. <view class='checkmore' bindtap='toOrderListPage' data-sts="9">
  38. <text>查看全部 </text>
  39. <text class='arrowhead'></text>
  40. </view>
  41. </view>
  42. <view class='procedure'>
  43. <view class='items' bindtap='toOrderListPage' data-sts="0">
  44. <image src='../../images/icon/toPay.png'></image>
  45. <text>待支付</text>
  46. <text class='num-badge' wx:if="{{orderAmount.unPay>0}}">{{orderAmount.unPay}}</text>
  47. </view>
  48. <!-- <view class='items' bindtap='toOrderListPage' data-sts="2">
  49. <image src='../../images/icon/toDelivery.png'></image>
  50. <text>待发货</text>
  51. <text class='num-badge' wx:if="{{orderAmount.payed>0}}">{{orderAmount.payed}}</text>
  52. </view> -->
  53. <view class='items' bindtap='toOrderListPage' data-sts="20">
  54. <image src='../../images/icon/toTake.png'></image>
  55. <text>待收货</text>
  56. <text class='num-badge' wx:if="{{orderAmount.consignment>0}}">{{orderAmount.consignment}}</text>
  57. </view>
  58. <view class='items' bindtap='toOrderListPage' data-sts="80">
  59. <image src='../../images/icon/toComment.png'></image>
  60. <text>已完成</text>
  61. <text class='num-badge' wx:if="{{orderAmount.success>0}}">{{orderAmount.success}}</text>
  62. </view>
  63. <view class='items' bindtap='toAfterSalesPage'>
  64. <image src='../../images/icon/refund.png'></image>
  65. <text>退款/售后</text>
  66. <text class='num-badge' wx:if="{{orderAmount.refund>0}}">{{orderAmount.refund}}</text>
  67. </view>
  68. </view>
  69. </view>
  70. <!--end 订单状态 -->
  71. <!-- <view class="prod-col">
  72. <view class="col-item" bindtap='myCollectionHandle'>
  73. <view class="num">{{collectionCount}}</view>
  74. <view class="tit">我的收藏</view>
  75. </view>
  76. <view class="col-item">
  77. <view class="num">5</view>
  78. <view class="tit">我的消息</view>
  79. </view>
  80. <view class="col-item">
  81. <view class="num">3</view>
  82. <view class="tit">我的足迹</view>
  83. </view>
  84. </view> -->
  85. <view class='my-menu box'>
  86. <!-- wx:if="{{canDistribution}}" -->
  87. <!-- <view class='memu-item' bindtap='toCouponCenter'>
  88. <view class="i-name">
  89. <image src='../../images/icon/getCoupon.png'></image>
  90. <text>领券中心</text>
  91. </view>
  92. <view class='arrowhead'></view>
  93. </view>
  94. <view class='memu-item' bindtap='toMyCouponPage'>
  95. <view class="i-name">
  96. <image src='../../images/icon/myCoupon.png'></image>
  97. <text>我的优惠券</text>
  98. </view>
  99. <view class='arrowhead'></view>
  100. </view> -->
  101. <view class='memu-item' bindtap='toAddressList'>
  102. <view class="i-name">
  103. <image src='../../images/icon/myAddr.png'></image>
  104. <text>收货地址</text>
  105. </view>
  106. <view class='arrowhead'></view>
  107. </view>
  108. <!-- <view class='memu-item' bindtap='myCollectionHandle'>
  109. <view class="i-name">
  110. <image src='../../images/icon/myCol.png'></image>
  111. <text>我的收藏</text>
  112. </view>
  113. <view class='arrowhead'></view>
  114. </view> -->
  115. <button open-type="contact" class='memu-btn memu-item'>
  116. <view class="i-name">
  117. <image src='../../images/icon/customer-service.png'></image>
  118. <text>联系平台客服</text>
  119. </view>
  120. <view class='arrowhead'></view>
  121. </button>
  122. </view>
  123. <view class='my-menu box'>
  124. <view class='memu-item' bindtap='toMemberInteral'>
  125. <view class="i-name">
  126. <image src='../../images/icon/jifen.png'></image>
  127. <text>积分</text>
  128. </view>
  129. <view class='arrowhead'></view>
  130. </view>
  131. <view class='memu-item' bindtap='toReview'>
  132. <view class="i-name">
  133. <image src='../../images/icon/pingjia.png'></image>
  134. <text>评价</text>
  135. </view>
  136. <view class='arrowhead'></view>
  137. </view>
  138. </view>
  139. <!--end 列表项 -->
  140. <view class="log-out" bindtap="logout" wx:if="{{isAuthInfo}}">
  141. <text>退出登录</text>
  142. </view>
  143. </view>
  144. <tabbar active="3"></tabbar>
  145. </view>