index.wxml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <view class='integral-details'>
  3. <view class='header'>
  4. <view class='currentScore'>当前积分</view>
  5. <view style='font-family: "Guildford Pro";'>{{userInfo.integral}}</view>
  6. <view class='line'></view>
  7. <view class='nav acea-row'>
  8. <view class='item'>
  9. <view class='num'>{{userInfo.sum_integral}}</view>
  10. <view>累计积分</view>
  11. </view>
  12. <view class='item'>
  13. <view class='num'>{{userInfo.deduction_integral}}</view>
  14. <view>累计消费</view>
  15. </view>
  16. <view class='item'>
  17. <view class='num'>{{userInfo.today_integral}}</view>
  18. <view>今日获得</view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class='wrapper'>
  23. <view class='nav acea-row'>
  24. <view class='item acea-row row-center-wrapper {{current==index?"on":""}}'
  25. wx:for='{{navList}}' bindtap='nav' data-idx='{{index}}' wx:key='index'><text class='iconfont {{item.icon}}'></text>{{item.name}}</view>
  26. </view>
  27. <view class='list' hidden='{{current!=0}}'>
  28. <view class='tip acea-row row-middle'><text class='iconfont icon-shuoming'></text>提示:积分数值的高低会直接影响您的会员等级</view>
  29. <view class='item acea-row row-between-wrapper' wx:for="{{integralList}}" wx:key='index'>
  30. <view>
  31. <view class='state'>{{item.mark}}</view>
  32. <view>{{item.add_time}}</view>
  33. </view>
  34. <view class='num font-color' wx:if="{{item.pm}}">+{{item.number}}</view>
  35. <view class='num' wx:else>-{{item.number}}</view>
  36. </view>
  37. <view class='loadingicon acea-row row-center-wrapper'>
  38. <text class='loading iconfont icon-jiazai' hidden='{{loading==false}}'></text>{{loadTitle}}
  39. </view>
  40. </view>
  41. <view class='list2' hidden='{{current!=1}}'>
  42. <navigator class='item acea-row row-between-wrapper' open-type='switchTab' hover-class='none' url='/pages/index/index'>
  43. <view class='pictrue'><image src='/images/score.png'></image></view>
  44. <view class='name'>购买商品可获得积分奖励</view>
  45. <view class='earn'>赚积分</view>
  46. </navigator>
  47. <navigator class='item acea-row row-between-wrapper' hover-class='none' url='/pages/user_sgin/index'>
  48. <view class='pictrue'><image src='/images/score.png'></image></view>
  49. <view class='name'>每日签到可获得积分奖励</view>
  50. <view class='earn'>赚积分</view>
  51. </navigator>
  52. </view>
  53. </view>
  54. </view>
  55. <authorize bind:onLoadFun="onLoadFun"></authorize>