index.wxml 5.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <view class='my-account'>
  3. <view class='wrapper'>
  4. <view class='header'>
  5. <view class='headerCon'>
  6. <view class='account acea-row row-top row-between'>
  7. <view class='assets'>
  8. <view>总资产(元)</view>
  9. <view class='money'>{{userInfo.now_money || 0}}</view>
  10. </view>
  11. <view wx:if='{{recharge_switch}}' bindtap="openSubscribe" hover-class='none' data-url='/pages/user_payment/index' class='recharge font-color'>充值</view>
  12. </view>
  13. <view class='cumulative acea-row row-top'>
  14. <view class='item' wx:if="{{recharge_switch}}">
  15. <view>累计充值(元)</view>
  16. <view class='money'>{{userInfo.recharge || 0}}</view>
  17. </view>
  18. <view class='item'>
  19. <view>累计消费(元)</view>
  20. <view class='money'>{{userInfo.orderStatusSum || 0}}</view>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. <view class='nav acea-row row-middle'>
  26. <navigator class='item' hover-class='none' url='/pages/user_bill/index'>
  27. <view class='pictrue'><image src='/images/record1.png'></image></view>
  28. <view>账单记录</view>
  29. </navigator>
  30. <navigator class='item' hover-class='none' url='/pages/user_bill/index?type=1'>
  31. <view class='pictrue'><image src='/images/record2.png'></image></view>
  32. <view>消费记录</view>
  33. </navigator>
  34. <navigator class='item' hover-class='none' url='/pages/user_bill/index?type=2' wx:if="{{recharge_switch}}">
  35. <view class='pictrue'><image src='/images/record3.png'></image></view>
  36. <view>充值记录</view>
  37. </navigator>
  38. <navigator class='item' hover-class='none' url='/pages/user_integral/index'>
  39. <view class='pictrue'><image src='/images/record4.png'></image></view>
  40. <view>积分中心</view>
  41. </navigator>
  42. </view>
  43. <view class='advert acea-row row-between-wrapper'>
  44. <navigator class='item acea-row row-between-wrapper' hover-class='none' url='/pages/user_sgin/index'>
  45. <view class='text'>
  46. <view class='name'>签到领积分</view>
  47. <view>赚积分抵现金</view>
  48. </view>
  49. <view class='pictrue'><image src='/images/gift.png'></image></view>
  50. </navigator>
  51. <navigator class='item on acea-row row-between-wrapper' hover-class='none' url='/pages/user_get_coupon/index'>
  52. <view class='text'>
  53. <view class='name'>领取优惠券</view>
  54. <view>满减享优惠</view>
  55. </view>
  56. <view class='pictrue'><image src='/images/money.png'></image></view>
  57. </navigator>
  58. </view>
  59. <view class='list'>
  60. <view class='item acea-row row-between-wrapper'>
  61. <view class='picTxt acea-row row-between-wrapper'>
  62. <view class='iconfont icon-hebingxingzhuang'></view>
  63. <view class='text'>
  64. <view class='line1'>最新拼团活动</view>
  65. <view class='infor line1'>最新的优惠商品上架拼团</view>
  66. </view>
  67. </view>
  68. <navigator hover-class='none' url='/pages/activity/goods_combination/index' class='bnt' wx:if="{{activity.is_pink}}">立即参与</navigator>
  69. <view class='bnt end' wx:else>已结束</view>
  70. </view>
  71. <view class='item acea-row row-between-wrapper'>
  72. <view class='picTxt acea-row row-between-wrapper'>
  73. <view class='iconfont icon-miaosha yellow'></view>
  74. <view class='text'>
  75. <view class='line1'>当前限时秒杀</view>
  76. <view class='infor line1'>最新商品秒杀进行中</view>
  77. </view>
  78. </view>
  79. <navigator hover-class='none' url='/pages/activity/goods_seckill/index' class='bnt' wx:if="{{activity.is_seckill}}">立即参与</navigator>
  80. <view class='bnt end' wx:else>已结束</view>
  81. </view>
  82. <view class='item acea-row row-between-wrapper'>
  83. <view class='picTxt acea-row row-between-wrapper'>
  84. <view class='iconfont icon-kanjia1 green'></view>
  85. <view class='text'>
  86. <view class='line1'>砍价活动</view>
  87. <view class='infor line1'>呼朋唤友来砍价</view>
  88. </view>
  89. </view>
  90. <navigator hover-class='none' url='/pages/activity/goods_bargain/index' class='bnt' wx:if="{{activity.is_bargin}}">立即参与</navigator>
  91. <view class='bnt end' wx:else>已结束</view>
  92. </view>
  93. </view>
  94. </view>
  95. <recommend host_product="{{host_product}}"></recommend>
  96. </view>
  97. <authorize bind:onLoadFun='onLoadFun'></authorize>