<!--packageI/AdBright/AdBrightIndex/AdBrightIndex.wxml-->
<view class="AdBright-index">
  <!-- <view class="topTxt" style="padding-top:{{statusBarHeight}}rpx;">
    <i class="iconfont icon-member-left" style="font-size: 14px;padding-right: 6px;" catchtap="back"></i>
    会员等级
  </view> -->
  <view class="AdBrightIndex-papel">
    <view class="papel-title" catchtap="toPoint">
      <view>我的{{integral}}：{{member.credit1}}</view>
      <i class="iconfont icon-advertise-next"></i>
    </view>
    <view class="papel-main">
      <view class="papel-maini-text1">所获等级{{integral}}</view>
      <view class="member-level">
        <view class="member-level-cell" style="margin-right: 26px;">
          <view class="Circle">
            <image src="{{member.avater}}">
            </image>
          </view>
          <view class="text">{{member.nickname}}</view>
        </view>
        <view class="scroll-box">
          <view class="member-level-cell {{index<=level_index?'active-level':''}}"
            wx:for="{{level_data}}" wx:if="{{item.amount}}">
            <view class="Circle">{{item.day_max_point}}</view>
            <view class="text">{{item.level_name}}</view>
          </view>
        </view>
      </view>
    </view>
  </view>
  <view class="AdBrightIndex-papel">
    <view class="papel-title">
      <view style="font-weight: bold;">每日任务</view>
    </view>
    <view class="papel-main">
      <view class="ads-list">
        <view class="ads-list-item" wx:for="{{adv_list}}">
          <view class="icon"><i class="iconfont icon-fontclass-mendianguanggao"></i></view>
          <view class="ads-index">
            <view style="font-size: 15px;">观看第{{index+1}}个广告</view>
            <view wx:if="{{level_credit}}">+{{level_credit}}</view>
          </view>
          <view class="watch-ads" wx:if="{{item.state == 0}}" data-id="{{item.adv_id}}" catchtap="getADData">观看</view>
          <view class="watch-ads watched" wx:if="{{item.state == 1}}">已观看</view>
        </view>
      </view>
    </view>
  </view>
</view>
<!--  "adbright-parent": "../../components/adbright-parent/adbright-parent" -->
<!-- <adbright-parent wx:if="{{placementId}}" id="adbright-parent" placementid='{{placementId}}'></adbright-parent> -->
<!-- <adbright-ad mode="motivation-new" placementId="{{placementId}}" data="{{ADBRIGHTDATA}}" bindADBRIGHTEVENT="ADBRIGHTEVENTHANDLE"></adbright-ad> -->