<!--packageH/Advertising/advertisingAdDetails/advertisingAdDetails.wxml-->
<view id="Advertising-advertisersDetail">
    <view class="top-info" style="padding-top:0.875rem">
      <view class="info-name">{{ info.put_in_type_text || "---" }}ID</view>
      <view class="info-data">ID{{ info.top_info && info.top_info.id }}</view>
    </view>
    <view class="top-info">
      <view class="info-name">{{ info.put_in_type_text || "---" }}标题</view>
      <view class="info-data">{{ (info.top_info && info.top_info.title) || "---" }}</view>
    </view>
    <view class="top-info">
      <view class="info-name">奖励人数</view>
      <view class="info-data">{{ info.reward_total || "---" }}</view>
    </view>
    <view class="top-info">
      <view class="info-name">奖励总额</view>
      <view class="info-data">{{ info.reward_amount_total || "---" }}</view>
    </view>
    <view class="top-info">
      <view class="info-name">奖励方式</view>
      <view class="info-data">{{ info.reward_type_text || "---" }}</view>
    </view>

    <van-tabs active="{{activeName}}" bind:click="handleClick" sticky offset-top="40">
      <van-tab title="{{items}}" wx:for="{{titleArr}}" wx:for-item="items" wx:for-index="ind">
        <view class="content" wx:if="{{dataList[ind] && dataList[ind].list.length>0}}">
          <view class="li" wx:for="{{dataList[ind].list}}" wx:for-item="item">
            <view class="member-img">
              <image src="{{item.has_one_member && item.has_one_member.avatar_image}}" alt="" />
            </view>
            <view class="member-info">
              <view class="member-name">{{ item.has_one_member && item.has_one_member.nickname }}</view>
              <view class="order-time">{{ item.created_at }}</view>
            </view>
            <view class="time-or-price" wx:if="{{activeName == '1' && item.reward_amount}}">{{ item.reward_amount }}</view>
          </view>
        </view>
        <view class="blank-box" wx:if="{{dataList[ind] && dataList[ind].list.length==0}}">
          <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png" mode='widthFix' />
        </view>
      </van-tab>
    </van-tabs>
  </view>
