index.wxml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <view class='member-center'>
  3. <view class='header'>
  4. <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" bindchange="bindchange" previous-margin="30px" next-margin="30px">
  5. <block wx:for="{{VipList}}" wx:key='index'>
  6. <swiper-item>
  7. <view class="memberBg {{swiperIndex == index ? 'active' : 'quiet'}}" style='background-image:url({{item.image}})' mode='aspectFill'>
  8. <view class='name'>{{item.name}}</view>
  9. <view class='discount'>可享受商品折扣:{{item.discount}}折<text class='iconfont icon-zhekou'></text></view>
  10. <view class='nav acea-row' wx:if="{{grade==item.grade}}">
  11. <view class='item' wx:for="{{item.task_list}}" wx:if="{{index <= 3}}" wx:key='index'>
  12. <view class='num'>{{item.number}}</view>
  13. <view>{{item.real_name}}</view>
  14. </view>
  15. </view>
  16. <view class='lock' wx:if="{{grade<item.grade}}"><text class='iconfont icon-quanxianguanlisuozi'></text>该会员等级尚未解锁</view>
  17. <view class='lock' wx:if="{{grade>item.grade}}"><text class='iconfont icon-xuanzhong1'></text>已解锁更高等级</view>
  18. </view>
  19. </swiper-item>
  20. </block>
  21. </swiper>
  22. </view>
  23. <view class='wrapper'>
  24. <view class='title acea-row row-between-wrapper'>
  25. <view><text class='iconfont icon-jingyanzhi'></text>会员升级要求</view>
  26. <view class='num'><text class='current'>{{reach_count || 0}}</text>/{{task.length || 0}}</view>
  27. </view>
  28. <view class='list'>
  29. <view class='item' wx:for="{{task}}" wx:key='index'>
  30. <view class='top acea-row row-between-wrapper'>
  31. <view class='name' bindtap='opHelp' data-index='{{index}}'>{{item.name}}<text wx:if='{{item.illustrate}}' class='iconfont icon-wenti'></text></view>
  32. <view wx:if="{{item.finish}}">已满足条件</view>
  33. <view wx:else>未满足条件</view>
  34. </view>
  35. <view class="cu-progress">
  36. <view class='bg-red' style="width:{{item.speed}}%;"></view>
  37. </view>
  38. <view class='experience acea-row row-between-wrapper'>
  39. <view>{{item.task_type_title}}</view>
  40. <view><text class='num'>{{item.new_number || 0}}</text>/{{item.number || 0}}</view>
  41. </view>
  42. </view>
  43. </view>
  44. </view>
  45. <recommend host_product="{{host_product}}"></recommend>
  46. <view class='growthValue {{growthValue==false?"on":""}}'>
  47. <view class='pictrue'><image src='/images/value.jpg'></image><text class='iconfont icon-guanbi3' bindtap='growthValue'></text></view>
  48. <view class='conter'>{{illustrate}}</view>
  49. </view>
  50. <view class='mask' hidden='{{growthValue}}' bindtap='growthValue'></view>
  51. </view>
  52. <authorize bind:onLoadFun="onLoadFun"></authorize>