member.wxml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <view class="user-info">
  2. <!-- <image class="bg" src="/images/background/my-background.png"></image> -->
  3. <view class="user-info-box flex flex-align-center {{ userInfo.is_vip == 1 ? 'active' : '' }}">
  4. <image class="avatar" src="{{userInfo.avatar_url || '/images/header.png'}}" bindtap="onAvatar"></image>
  5. <view class="info-right flex-column">
  6. <text class="nick-name">{{userInfo.nickname || '微信用户'}}</text>
  7. <!-- <view class="intro flex-align-center">
  8. <view class="gender flex-center" style="margin-right: 14rpx;" wx:if="{{ userInfo.sex == 1 || userInfo.sex == 2 }}">
  9. <image src="/images/icon_gender_{{userInfo.sex}}.png"></image>
  10. </view>
  11. <view class="city flex-center" style="margin-right: 16rpx;">深圳</view>
  12. <view class="vip-time flex-center" wx:if="{{userInfo.vip}}">
  13. <image src="/images/icon_vip_04.png"></image>
  14. <text>{{userInfo.vip.card_name}}({{userInfo.vip.store_time_alias}})</text>
  15. </view>
  16. </view>
  17. <text style="color: #666;font-size: 24rpx;" wx:if="{{userInfo.is_vip == 1}}">会员有效期时间:{{userInfo.vip.valid_time}}</text>
  18. <text style="color: #666;font-size: 28rpx;" wx:if="{{userInfo.is_vip == 0}}">您还没有开通会员哦~</text> -->
  19. </view>
  20. </view>
  21. </view>
  22. <!-- <view class="order item-radius" style="margin-top: -66rpx;">
  23. <navigator url="/pages/order/order?current=0" hover-class="none">
  24. <view class="item">
  25. <image src="/images/dfk.png"></image>
  26. <text>待付款</text>
  27. <view class="item-num flex-center" wx:if="{{userInfo.order_num && userInfo.order_num.wait_pay_num > 0}}">{{userInfo.order_num.wait_pay_num > 99 ? '99' : userInfo.order_num.wait_pay_num }}</view>
  28. </view>
  29. </navigator>
  30. <navigator url="/pages/order/order?current=1" hover-class="none">
  31. <view class="item">
  32. <image src="/images/yyy.png"></image>
  33. <text>已预约</text>
  34. <view class="item-num flex-center" wx:if="{{userInfo.order_num && userInfo.order_num.wait_use_num > 0}}">{{userInfo.order_num.wait_use_num > 99 ? '99' : userInfo.order_num.wait_use_num }}</view>
  35. </view>
  36. </navigator>
  37. <navigator url="/pages/order/order?current=2" hover-class="none">
  38. <view class="item">
  39. <image src="/images/jxz.png"></image>
  40. <text>进行中</text>
  41. <view class="item-num flex-center" wx:if="{{userInfo.order_num && userInfo.order_num.using_num > 0}}">{{userInfo.order_num.using_num > 99 ? '99' : userInfo.order_num.using_num }}</view>
  42. </view>
  43. </navigator>
  44. <navigator url="/pages/order/order?current=3" hover-class="none">
  45. <view class="item">
  46. <image src="/images/yjs.png"></image>
  47. <text>已结算</text>
  48. </view>
  49. </navigator>
  50. <navigator url="/pages/order/order?current=4" hover-class="none">
  51. <view class="item">
  52. <image src="/images/yqx.png"></image>
  53. <text>已取消</text>
  54. </view>
  55. </navigator>
  56. </view> -->
  57. <view class="tools">
  58. <view class="item-radius" style="margin-top: 20rpx;">
  59. <navigator url="/pages/recordList/recordList">
  60. <view class="item line">
  61. <image class="icon-left" src="/images/icon_tools_01.png"></image>
  62. <text class="flex1">门店检查记录</text>
  63. <!-- check_status -->
  64. <text class="active" style="color:#999999;">{{ userInfo.check_status == 1 ? '今日已检查' : '今日未检查' }}</text>
  65. <image class="icon-right" src="/images/right.png"></image>
  66. </view>
  67. </navigator>
  68. <navigator url="/pages/customerList/customerList">
  69. <view class="item line">
  70. <image class="icon-left" src="/images/icon_tools_02.png"></image>
  71. <text class="flex1">门店客户记录</text>
  72. <!-- <text class="active" wx:if="{{ userInfo.card_num>0 }}">{{userInfo.card_num}}张可用</text> -->
  73. <image class="icon-right" src="/images/right.png"></image>
  74. </view>
  75. </navigator>
  76. </view>
  77. <view class="item-radius" style="margin-top: 20rpx;">
  78. <navigator url="">
  79. <view class="item line">
  80. <image class="icon-left" src="/images/icon_tools_03.png"></image>
  81. <text class="flex1">扫一扫</text>
  82. </view>
  83. </navigator>
  84. <navigator url="">
  85. <view class="item line">
  86. <image class="icon-left" src="/images/icon_tools_03.png"></image>
  87. <text class="flex1">我的服务记录</text>
  88. </view>
  89. </navigator>
  90. </view>
  91. <view class="item-radius" style="margin-top: 20rpx;">
  92. <navigator url="/subpackage/user/pages/dossier/dossier">
  93. <view class="item line">
  94. <image class="icon-left" src="/images/icon_tools_03.png"></image>
  95. <text class="flex1">个人信息</text>
  96. <text class="active" style="color:#999999;">去修改</text>
  97. <image class="icon-right" src="/images/right.png"></image>
  98. </view>
  99. </navigator>
  100. <navigator url="/pages/role/role" hover-class="none">
  101. <view class="item line">
  102. <image class="icon-left" src="/images/icon_tools_04.png"></image>
  103. <text class="flex1">切换角色</text>
  104. <text class="active" style="color:#999999;" wx:if="{{ userInfo.role_name }}">{{ userInfo.role_name
  105. }}</text>
  106. <image class="icon-right" src="/images/right.png"></image>
  107. </view>
  108. </navigator>
  109. <navigator url="/pages/contact/contact" hover-class="none">
  110. <view class="item">
  111. <image class="icon-left" src="/images/icon_tools_05.png"></image>
  112. <text class="flex1">联系我们</text>
  113. <!-- <text class="active" style="color:#999999;">去修改</text> -->
  114. <image class="icon-right" src="/images/right.png"></image>
  115. </view>
  116. </navigator>
  117. </view>
  118. </view>
  119. <change-env visible="{{ visible }}"></change-env>