myhome.wxml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <!--pages/myhome/myhome.wxml-->
  2. <view class="myhome-wrp">
  3. <auth wx:if="{{!userInfo}}" bind:getAuth="getAuth"></auth>
  4. <view class="topbg"></view>
  5. <view class="header">
  6. <image src="{{memberInfo.member_avatar}}" class="avtor"></image>
  7. <view class="info">
  8. <view class="leftContent">
  9. <text class="nickname">{{memberInfo.member_nickname}}</text>
  10. <text class="qrcodeLabel">点击二维码面对面邀请</text>
  11. </view>
  12. <image src="/image/myhome/rcode.png" class="link" bindtap="onShowMiniCode"></image>
  13. </view>
  14. </view>
  15. <view class="limit" wx:if="{{memberInfo.is_vip}}">
  16. <image src="../../image/crown.png" class="crown"></image>
  17. <text class="label">尊敬的椰子会员</text>
  18. <text>您还剩{{memberInfo.vip_left_amount}}元额度</text>
  19. </view>
  20. <view class="order_list">
  21. <view class="order_list_box">
  22. <view class='order_title' bindtap='skip_all_order'>
  23. <text>我的订单</text>
  24. </view>
  25. <view class='order_info'>
  26. <view>
  27. <navigator url="/pages/vorderList/orderTabs?state_type=state_new" hover-class="none" class="pos_rel">
  28. <image style='width:70rpx;height: 70rpx;' src='../../image/wait_pay.png'></image>
  29. <view class="mt8">
  30. <text class="label">待付款</text>
  31. </view>
  32. <view class="sub_count" wx:if="{{pre_pay_count}}">{{pre_pay_count}}</view>
  33. </navigator>
  34. </view>
  35. <view>
  36. <navigator url="/pages/vorderList/orderTabs?state_type=state_pay" hover-class="none" class="pos_rel">
  37. <image style='width:70rpx;height: 70rpx;' src='../../image/paying.png'></image>
  38. <view class="mt8">
  39. <text class="label">充值中</text>
  40. </view>
  41. <view class="sub_count" wx:if="{{pre_send_count}}">{{pre_send_count}}</view>
  42. </navigator>
  43. </view>
  44. <view>
  45. <navigator url="/pages/vorderList/orderTabs?state_type=state_success" hover-class="none" class="pos_rel">
  46. <image style='width:70rpx;height: 70rpx;' src='../../image/completed.png'></image>
  47. <view class="mt8">
  48. <text class="label">已完成</text>
  49. </view>
  50. <view class="sub_count" wx:if="{{evaluate_count}}">{{evaluate_count}}</view>
  51. </navigator>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="cardList">
  57. <view class="card">
  58. <view class="card-title" bindtap="handleMore" data-cardtype="contact">
  59. <image src="/image/phone.png" class="icon icon-phone"></image>
  60. <button class="button" open-type="contact">联系客服</button>
  61. <image src="/image/myhome/arrow-right.png" class="more"></image>
  62. </view>
  63. </view>
  64. <view class="card">
  65. <view class="card-title" bindtap="handleMore" data-cardtype="phone">
  66. <image src="/image/phone.png" class="icon icon-phone"></image>
  67. <text class="text">我的手机号</text>
  68. <image src="/image/myhome/arrow-right.png" class="more"></image>
  69. </view>
  70. <!-- <view class="card-body">
  71. <view wx:if="{{phone.card_type==='phone'}}" class="card-item bg-blue">{{phone.card_no}}</view>
  72. </view> -->
  73. </view>
  74. <view class="card">
  75. <view class="card-title" bindtap="handleMore" data-cardtype="petrochina">
  76. <image src="/image/petrochina.png" class="icon icon-postage"></image>
  77. <text class="text">我的中石油油卡</text>
  78. <image src="/image/myhome/arrow-right.png" class="more"></image>
  79. </view>
  80. <!-- <view class="card-body">
  81. <view wx:if="{{petrochina.card_type==='petrochina'}}" class="card-item bg-orange">{{petrochina.card_no}}</view>
  82. </view> -->
  83. </view>
  84. <view class="card">
  85. <view class="card-title" bindtap="handleMore" data-cardtype="sinopec">
  86. <image src="/image/sinopec.png" class="icon icon-postage"></image>
  87. <text class="text">我的中石化油卡</text>
  88. <image src="/image/myhome/arrow-right.png" class="more"></image>
  89. </view>
  90. <!-- <view class="card-body">
  91. <view wx:if="{{sinopec.card_type==='sinopec'}}" class="card-item bg-orange">{{sinopec.card_no}}</view>
  92. </view> -->
  93. </view>
  94. <view class="card">
  95. <view class="card-title" bindtap="handleMore" data-cardtype="invitees">
  96. <image src="/image/friends.png" class="icon more"></image>
  97. <text class="text">我的好友列表</text>
  98. <image src="/image/myhome/arrow-right.png" class="more"></image>
  99. </view>
  100. </view>
  101. </view>
  102. </view>
  103. <showImage wx:if="{{showRCode}}" imageUrl="{{mini_code}}" bind:closeDialog="onCloseMiniDialog" />