mine.wxml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <view class="mine" style="height:100%;">
  2. <view class="user" style="background:#24D9B8 url('{{imgUrl}}') no-repeat;background-size:100% 100%;">
  3. <view class="back" bindtap="skipIndex" style="top:{{menuTop}}px">
  4. <image src="{{img}}weapp/leftArrow.png"></image>
  5. <text>{{title}}</text>
  6. </view>
  7. <view class="userPhoto">
  8. <image src="{{user.avatarUrl ? user.avatarUrl : user.avatar_url}}"></image>
  9. <view class="flexC">
  10. <view>{{user.nickname ? user.nickname : user.nickName}}</view>
  11. <view class="state flexC" wx:if="{{user.user.is_register==1 && user.user.is_card_certified==0}}" bindtap="realname">{{state}}</view>
  12. <button open-type="getUserInfo" bindgetuserinfo="getUserInfo" class="state" wx:if="{{user.user.is_register==0}}">同步微信信息</button>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="riding_card" wx:if="{{arr=='' && show}}">
  17. <!-- <view class="riding_card" > -->
  18. <view class="view1">
  19. <text class="text1">骑行卡套餐</text>
  20. <text class="text2">购买套餐 骑行更划算</text>
  21. </view>
  22. <view class="view2" bindtap="buy">
  23. <text>购买</text>
  24. </view>
  25. </view>
  26. <view class="riding_card" wx:if="{{arr!=''}}">
  27. <view class="view1">
  28. <view class="text1" wx:if="{{arr.is_limit_times==1}}">骑行卡剩余
  29. <text style="color:red;padding-left:15rpx;">{{arr.can_ridding_times}}次</text>
  30. </view>
  31. <view class="text1" wx:if="{{arr.is_limit_times==0}}">每天<text style="color:red;">{{arr.day_can_ridding_times}}</text>次,<text wx:if="{{setting.star}}">每次可抵<text style="color:red;">{{arr.deduction_money}}</text>元</text> <text wx:if="{{!setting.star}}"> 每次<text style="color:red;">{{arr.deduction_money / setting.per_money * setting.per_minute}}</text>分钟</text>
  32. </view>
  33. <text class="text2">有效期至:{{arr.expiration_time}}</text>
  34. </view>
  35. <view class="view3" bindtap="look">
  36. <text>查看</text>
  37. </view>
  38. </view>
  39. <view class="list" style="margin-top:{{arr!=''?'0rpx':'60rpx'}}">
  40. <navigator url="/pages/personal/wallet/wallet" hover-class="none">
  41. <view class="flexB special">
  42. <view style="display:flex;align-items:center;">
  43. <image src="{{img}}weapp/wallet.png"></image>
  44. <text class="name">我的钱包</text>
  45. </view>
  46. <view>
  47. <text class="gary">¥ {{user.wallet_money}}</text>
  48. <text class="iconfont iconarrow-right"></text>
  49. </view>
  50. </view>
  51. </navigator>
  52. <navigator url="/pages/personal/order/order" hover-class="none">
  53. <view class="flexB special">
  54. <view style="display:flex;align-items:center;">
  55. <image src="{{img}}weapp/order.png"></image>
  56. <text class="name">我的订单</text>
  57. </view>
  58. <view>
  59. <text class="iconfont iconarrow-right"></text>
  60. </view>
  61. </view>
  62. </navigator>
  63. <navigator url="/pages/coupon/coupon" hover-class="none">
  64. <view class="flexB special">
  65. <view style="display:flex;align-items:center;">
  66. <image src="/img/yhq.png" style="width:42rpx;height:42rpx;margin-left:8rpx;"></image>
  67. <text class="name">我的优惠券</text>
  68. </view>
  69. <view>
  70. <text class="iconfont iconarrow-right"></text>
  71. </view>
  72. </view>
  73. </navigator>
  74. <navigator url="/pages/fine/fine" hover-class="none">
  75. <view class="flexB special">
  76. <view style="display:flex;align-items:center;">
  77. <image src="/img/weiyue.png"></image>
  78. <text class="name">违章记录</text>
  79. </view>
  80. <view>
  81. <text class="iconfont iconarrow-right"></text>
  82. </view>
  83. </view>
  84. </navigator>
  85. <view class="flexB" bindtap="showService" wx:if="{{showOnlinePhone.is_online_customer_service_status==1}}">
  86. <view class="service" style="display:flex;align-items:center;">
  87. <image src="{{img}}weapp/call.png"></image>
  88. <text class="{{open==false ? 'showService' : ''}}">人工客服</text>
  89. </view>
  90. <text class="iconfont iconarrow-right" wx:if="{{open}}"></text>
  91. <text class="iconfont iconiconfontxiangxiajiantou down" wx:if="{{!open}}"></text>
  92. </view>
  93. <view class="flexB" bindtap="phone1" wx:else>
  94. <view class="service" style="display:flex;align-items:center;">
  95. <image src="{{img}}weapp/call.png"></image>
  96. <text class="{{open==false ? 'showService' : ''}}">人工客服</text>
  97. </view>
  98. <text class="iconfont iconarrow-right"></text>
  99. </view>
  100. <view class="serviceCon flexCC " hidden="{{open}}">
  101. <button class="view" open-type="contact" hover-class="btn-hover" style="color:black;font-size:28rpx;" >
  102. <image src="{{img}}weapp/service1.png"></image>
  103. <text>在线客服</text>
  104. </button>
  105. <view bindtap="phone1" class="view">
  106. <image src="{{img}}weapp/phone.png" style="margin-right:30rpx;"></image>
  107. <text>客服热线</text>
  108. </view>
  109. <view class="view" style="padding-top:20rpx;font-size:26rpx;color:#999;">
  110. 客服工作时间:{{time}}
  111. </view>
  112. </view>
  113. </view>
  114. <view class="list" style="margin-top:20rpx">
  115. <view class="flexB" data-idx="{{index}}" wx:for="{{list}}" wx:key="index" bindtap="jumpPage">
  116. <view style="display:flex;align-items:center;">
  117. <image src="{{item.imgUrl}}"></image>
  118. <text class="name">{{item.name}}</text>
  119. </view>
  120. <view>
  121. <text class="gary">{{item.remind}}</text>
  122. <text class="iconfont iconarrow-right"></text>
  123. </view>
  124. </view>
  125. </view>
  126. <view bindtap="tuichu" class="return">
  127. <text>退出登录</text>
  128. </view>
  129. </view>