
<!--pages/chargemoney/chargemoney.wxml-->
<view class="money">
  <view class='title'><text class='blod'>充值金额</text></view>
  <view id='50' class="{{chargemoney_select==50?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
    <image wx:if='{{chargemoney_select!=50}}' src='/images/chargemoney1.png'></image>
    <view>
      <text>充50元</text>
    </view>
  </view>
  <view id='100' class="{{chargemoney_select==100?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
    <image wx:if='{{chargemoney_select!=100}}' src='/images/chargemoney1.png'></image>
    <view>
      <text>充100元</text>
    </view>
  </view>
  <view id='500' class="{{chargemoney_select==500?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
    <image wx:if='{{chargemoney_select!=500}}' src='/images/chargemoney1.png'></image>
    <view>
      <text>充500元</text>
    </view>
  </view>
  <view id='1000' class="{{chargemoney_select==1000?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
    <image wx:if='{{chargemoney_select!=1000}}' src='/images/chargemoney1.png'></image>
    <view>
      <text>充1000元</text>
    </view>
  </view>
  <!-- <view class='money_input'>
    <text>金额（元）</text>
    <input value='{{chargemoney_select}}' placeholder-class="section_phcolor" bindinput='saveMoney' type='number' placeholder="请输入充值金额" />
 </view> -->
  <view class='title1'><text class='blod'>选择支付方式</text></view>
  <view class='title2'>
    <!-- <view class='alipay' >
      <image src='/images/alipay.png'></image>
      <text>支付宝支付</text>
      <view><radio color="#00a8dc" disabled="true" /></view>
    </view> -->
    <view class="wechat" >
      <image src='/images/wechat.png'></image>
      <text>微信支付</text>
      <view><radio color="#00a8dc" checked="true"/></view>
    </view>
  </view>
  
</view>

<!-- <view style="width: 100%;margin-top:50rpx">
  <ad unit-id="adunit-8eb13875bcf592b0" ad-intervals="30"></ad>
</view> -->

<button class='{{chargemoney_select>0?"chargemoney_button":"chargemoney_button_disable"}}' bindtap="{{chargemoney_select>0?'beginChargemoney':''}}">立即充值</button>
<!-- <view class="foot"><text>点击立即充值即表示同意</text><text class='blue'>充值协议</text></view> -->
