logs.wxml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <view class="mine" style="height:100%;">
  2. <view class="user">
  3. <view class="userPhoto" wx:if="{{user!=''}}">
  4. <image src="{{user.avatar ? user.avatar : user.avatar_url}}"></image>
  5. <view class="flexC">
  6. <view>{{user.nickname}}</view>
  7. </view>
  8. </view>
  9. <button class="userPhoto" open-type="getUserInfo" bindgetuserinfo="onGotUserInfo" wx:else>
  10. <image src="/img/user1.png"></image>
  11. <view class="flexC">
  12. <view>微信一键授权</view>
  13. </view>
  14. </button>
  15. </view>
  16. <view class="list" style="margin-top:{{show?'0rpx':'60rpx'}}">
  17. <view class="flexB special" bindtap="tap" data-url="wallet">
  18. <view style="display:flex;align-items:center;">
  19. <image src="/img/qianbao.png"></image>
  20. <text class="name">我的钱包</text>
  21. </view>
  22. <view>
  23. <text class="iconfont iconarrow-right"></text>
  24. </view>
  25. </view>
  26. <view class="flexB special" bindtap="tap" data-url="record">
  27. <view style="display:flex;align-items:center;">
  28. <image src="/img/jilu.png"></image>
  29. <text class="name">预约记录</text>
  30. </view>
  31. <view>
  32. <text class="iconfont iconarrow-right"></text>
  33. </view>
  34. </view>
  35. <view class="flexB special" bindtap="tap" data-url="discount">
  36. <view style="display:flex;align-items:center;">
  37. <image src="/img/youhui.png"></image>
  38. <text class="name">优惠券</text>
  39. </view>
  40. <view>
  41. <text class="iconfont iconarrow-right"></text>
  42. </view>
  43. </view>
  44. <view class="flexB special" bindtap="tap" data-url="my_discount">
  45. <view style="display:flex;align-items:center;">
  46. <image src="/img/my_youhui.png"></image>
  47. <text class="name">我的优惠券</text>
  48. </view>
  49. <view>
  50. <text class="iconfont iconarrow-right"></text>
  51. </view>
  52. </view>
  53. <view class="flexB special" bindtap="tap" data-url="admin" wx:if="{{identity=='A'}}">
  54. <view style="display:flex;align-items:center;">
  55. <image src="/img/guanli.png"></image>
  56. <text class="name">管理员</text>
  57. </view>
  58. <view>
  59. <text class="iconfont iconarrow-right"></text>
  60. </view>
  61. </view>
  62. </view>
  63. </view>