<!--packageI/newGroup/redeem/redeem.wxml-->
<view id="redeem">
  <image class="redeem-top-img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/pearl_bg.png" alt="" mode="widthFix"></image>
  <view class="redeem-main">
    <view class="redeem-num-box">
      <image class="redeem-icon1" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/pearl_img1.png" alt=""></image>
      <view class="redeem-num-box-left">
        <view class="redeem-num-h2">{{ plugin_name }}奖励</view>
        <view class="redeem-num-h3">当前拥有{{ plugin_name }}数量：{{ pearl }}</view>
      </view>
    </view>

    <view class="redeem-btn" catchtap="exchangeIntegral">激活兑换{{ plugin_name }}</view>
    <view class="dhTxt" catchtap="gotoLog">兑换明细 <icon class="iconfont icon-member_right"></icon>
    </view>
    <view style="text-align:left;">
      <text>
        {{ plugin_name }}璀璨时刻！{{zy}}
        {{ plugin_name }}可在商城等价现金使用。
      </text>
    </view>
  </view>

  <van-popup show="{{show}}" class="redeem-popup" bind:close="showCloseTap" duration="800">
    <view class="redeem-popup-main">
      <view class="redeem-popup-h1">恭喜您</view>
      <view class="redeem-popup-h3">成功兑换{{ plugin_name }}</view>
      <view class="redeem-popup-total">{{ exchange_pearl }}</view>
      <view class="redeem-popup-text">已发放到您的个人财务</view>
      <view class="redeem-popup-btn" catchtap="gotoUrl" data-key="Integral_love">点击查看</view>
    </view>
  </van-popup>
</view>