index.wxml 3.0 KB

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