<!--pages/storedValue/index.wxml-->
<view class="listker-content">
  <view class="line-20rpx"></view>
  <view class="listker-wallet-top">
    <image src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220317/listker-wallet-bg.png" class="wallet-img"></image>
    <view class="listker-wallet-content">

      <view class="wallet-desc">可用余额<text>{{inserllAmount}}</text>元</view>
      <navigator url="/pages/rechange/index" class="wallet-detail">查看详情<image class="wallet-d-img" src="/images/list-ker-right.png"></image>
      </navigator>
    </view>
  </view>


  <view class="listker-rechange">
    <view class="line-20rpx"></view>

    <view class="re-title">充值金额</view>

    <view class="line-20rpx"></view>

    <!-- reChargeList -->

    <view class="list-re-content">

      <view class="re-title-item {{selectRe==index?'re-select':''}}" catchtap="selectRe" data-index="{{index}}" wx:for="{{reChargeList}}" wx:key="index">
        <view class="re-number">{{item.amount}}<text>元</text></view>
        <view class="re-send">充值送{{item.give_amount}}元</view>
      </view>
      <!-- 自定义金额 -->
      <view wx:if="{{isShow}}" class="re-title-item" catchtap="selectRe" data-index="{{reChargeList.length}}">
        <input class="re-money" placeholder='自定义金额' placeholder-style='color:#FA7D22;font-size:32rpx;text-align:center' maxlength='6' model:value="{{money}}" type="number" bindinput='getInput' />
      </view>
    </view>
    <view class="line-20rpx"></view>

  </view>

  <view class="listker-rechange" style="margin-bottom: 30rpx;">
    <view class="line-20rpx"></view>
    <view class="re-title">充值限时活动</view>
    <view class="re-guild">1、充值 3000,卡扣单次项目、美妆产品享8折</view>
    <view class="re-guild">活动时间：5月6日-6月18日</view>
    <!-- <view class="re-guild">2、充值5000  赠送国潮口红1支；享产品、项目9折</view>
    <view class="re-guild">3、充值10000  赠送国潮彩妆1套；享产品、项目9折</view>
    <view class="re-guild">4、充值20000  赠送大牌香水1瓶；医美项目5折券一张；享产品、项目8折</view>
    <view class="re-guild">5、充值30000  赠送大牌化妆品一套；医美项目5折券一张；享产品、项目8折</view>
    <view class="re-guild">6、充值50000  赠送IPAD一台套；医美项目5折券一张；享产品、项目8折</view>
    <view class="re-guild">7、充值本金不可转增</view>
    <view class="re-guild">8、充值金额不退款</view>
    <view class="re-guild">9、赠送产品需联系门店店员领取</view> -->
    <view class="line-20rpx"></view>
  </view>
  <view class="listker-rechange">
    <view class="line-20rpx"></view>
    <view class="re-title">充值规则</view>
    <view class="re-guild">1.充值本金不可转赠；</view>
    <view class="re-guild">2.赠送金额不可提现；</view>
    <!-- <view class="re-guild">3.相关解释权由jolijoli所有。</view> -->
    <view class="line-20rpx"></view>
  </view>
  <!-- calculateDiscount -->
    <view class="select-Now" catchtap="agree">
      <image class="agreeImg" src="{{agree?'/images/icon_13.png':'/images/icon_12.png'}}"></image>勾选同意<text>jolijoli充值协议</text>
    </view>

    <view class="listker-submit">
      <view class="sps"></view>
      <view class="submit-now" catchtap="submitRe">立即充值</view>
    </view>

</view>