<popup show="{{show}}" opacity='5' bind:close="closeTip">
  <view class="content">
    <view class="modu">
      <view class="popup-title">
        <text>提前时间</text>
        <view class="ins-icon font14" bindtap="jumpPage"><text class='icon icon-exclamatory font16'></text></view>
      </view>
      <view class="popup-content">
        <view class="time-list">
          <view class="list-item {{checkedTime==item.time?'checkedTime':''}}" wx:for="{{timeList}}" wx:key="time" data-time="{{item.time}}" bindtap="selectTime">
            {{item.timeContent}}
          </view>
        </view>
      </view>
    </view>
    <view class="modu">
      <view class="popup-title">
        <text>兑换要求</text>
      </view>
      <view class="popup-content" wx:for="{{needLevel}}" wx:key="consume_coin">
        <block wx:if="{{checkedTime==item.time}}">
          <view class="content-item">
            <text class="content-item-label">所需等级</text>
            <text class="content-item-value {{item.level>vip_info.level?'none-accord':''}}">{{item.levelName}} / {{vip_info.levelName}}{{item.level>vip_info.level?'（等级不足）':''}} <text class="item-value-icon"><text class='icon icon-mini-ok font16'></text></text></text>
          </view>
          <view class="content-item">
            <text class="content-item-label">消耗宝贝币</text>
            <text class="content-item-value {{item.consume_coin>vip_info.allCoin?'none-accord':''}}">{{item.consume_coin}} / {{vip_info.allCoin}}{{item.consume_coin>vip_info.allCoin?'（宝贝币不足）':''}} <text class="item-value-icon"><text class='icon icon-mini-ok font16'></text></text></text>
          </view>
        </block>
      </view>
    </view>
    <view class="modu">
      <view class="tip">注：该特权仅适用于当前活动，其他活动无法共享</view>
      <view class="bottom-btn">
        <button class="cancel" bindtap="close">取消</button>
        <button class="sub" disabled="{{disabled}}" type="warn" bindtap="sub">立即兑换</button>
      </view>
    </view>
  </view>
</popup>