<!--pages/balance_recharge/balance_recharge.wxml-->
<view class="balance_recharge">
	<view class="content">
		<view class="li ul transfer_info">
			<view class="info_a">
				<view class="span">当前{{ balanceLang }}：</view>
				<view class="span">{{ credit2 }}</view>
			</view>
		</view>
		<view class="transfer_sum">
			<view class="span">充值金额</view>
			<view class="sum">
				{{language['money']}}<input type="digit" value="{{money}}" placeholder="0.00" bindinput="moneyinp" />
			</view>
		</view>


		<view class="activity_des" wx:if="{{activatDes.sale.length > 0}}">
        <text class="title">活动说明</text>
        <view>
          <view class="activity-item">
            活动时间：
						<text class="start-time">{{activatDes.recharge_activity_start}}</text>
            -
            <text class="end-time">{{activatDes.recharge_activity_end}}</text>
          </view>
          <view class="activity-item">
            参与次数：
            <text wx:if="{{activatDes.recharge_activity_fetter == -1 || activatDes.recharge_activity_fetter == 0}}">不限</text>
            <text wx:else>每人最多参与{{activatDes.recharge_activity_fetter}}次</text>
          </view>
          <view class="activity-item">
            活动优惠：
            <text wx:for="{{activatDes.sale}}" wx:key="{{index}}" class="discount">
							<text>充值满{{item.enough}}元赠送</text>
							<text style="color: red; font-weight: 600;">{{item.give ? item.give : 0}}{{activatDes.proportion_status == 0 ? "元" : "%"}}</text>
							<text wx:if="{{index < activatDes.sale.length - 1}}">，</text>
            </text>
          </view>
					<view class="activity-item" wx:if="{{activatDes.reward_points}}">
            <text class="discount">
							<text>充值赠送</text>
							<text style="color: red; font-weight: 600;">{{activatDes.reward_points.rate}}%</text>{{ activatDes.reward_points.name }}
            </text>
          </view>
        </view>
      </view>


		<view class="recharge_way" wx:if="{{recharge == 1}}">
			<view class="h1">充值方式</view>
			<view class="ul choose_box">
				<view class="li" wx:for-item="btn" catchtap="confirm" data-val="{{btn.value}}"  wx:for="{{buttons}}"  wx:key="index">
					<icon class="iconfont {{btn.btclass?btn.btclass:''}}"> </icon>
					{{ btn.name }}{{ typename }}
				</view>
			</view>
		</view>
	</view>
</view>
