<view class='page' wx:if="{{flags=='have'}}">
  <view class='title'>生成规则</view>
  <view class='scroll'>
    <scroll-view scroll-x class="scroll-header">
      <view class="scroll-view-item" wx:for="{{rules}}" wx:key="index">
        <view class='thin_circle last' wx:if="{{item.id!=2}}">
          <view class="view">
            <text>{{item.title}}{{item.desc}}</text>
          </view>
        </view>
        <text wx:if="{{item.id!=2}}">{{item.score}}成长值</text>
      </view>
    </scroll-view>
  </view>
  <view class='title'>成长值权益</view>
  <view class='quanyi'>
    <view class='part' wx:for="{{levelList}}" wx:key="{{index}}">
      <view class='clearfix'>
        <image wx:if="{{index==0}}" class="grade fl" mode='widthFix' src="./../../assets/img/grade.png"></image>
        <image wx:if="{{index==1}}" class="grade fl" mode='widthFix' src="./../../assets/img/grade1.png"></image>
        <image wx:if="{{index==2}}" class="grade fl" mode='widthFix' src="./../../assets/img/grade2.png"></image>
        <image wx:if="{{index==3}}" class="grade fl" mode='widthFix' src="./../../assets/img/grade3.png"></image>
        <image wx:if="{{index==4}}" class="grade fl" mode='widthFix' src="./../../assets/img/grade3.png"></image>
        <view class='titles fl clearfix'>
          <text>{{item.level}}</text>
          <text wx:if="{{index==0}}">{{item.points}}成长值</text>
          <text wx:if="{{index==1}}">{{item.points}}成长值</text>
          <text wx:if="{{index==2}}">{{item.points}}成长值</text>
          <text wx:if="{{index==3}}">{{item.points}}成长值</text>
          <text wx:if="{{index==4}}">{{item.points}}成长值</text>
          <text wx:if="{{index==5}}">{{item.points}}成长值</text>
        </view>
      </view>
      <view class='des' wx:if="{{item.description==''}}">无</view>
      <view class='des' wx:if="{{item.description!=''}}">{{item.description}}</view>
    </view>
  </view>
</view>
<view wx:if="{{flags=='nothave'}}">
  <image class='img' src='./../../assets/img/act.png' mode='widthFix'></image>
  <text class="txt">暂无配置信息</text>
</view>
<view class='growthbg' bindtap='gotospecialcourtesy' wx:if="{{discountEnable}}">
  <image src='./../../assets/img/growthbg.png'  mode='widthFix'></image>
</view>