<!--pages/integral-pay/integral-pay.wxml-->
<view class="container">
  <view class="card">
    <view class="card-title">您需要支付</view>
    <view class="money">
      <text class="money-symbol">￥</text>
      <text>{{money}}</text>
    </view>
  </view>
  <view class="content">
    <view class="title">请选择支付方式</view>
    <view class="pay">
      <view class="pay-cell" data-index="0" bindtap="choose">
        <view class="left">
          <image class="wallet" src="../../images/wallet.png"></image>
          <view class="pay-title">钱包支付</view>
        </view>
        <view class="right">
          <view class="right-text">余额: ￥{{moneyBalance}}</view>
          <view class="choose" >
            <view class="choose-no" hidden="{{choose_index==='0'}}"></view>
            <image class="choose-do" hidden="{{choose_index!=='0'}}" src="../../images/choose.png"></image>
          </view>
        </view>
      </view>

      <view class="pay-cell"  data-index="1" bindtap="choose">
        <view class="left">
          <image class="wechat" src="../../images/wechat.png"></image>
          <view class="pay-title">微信支付</view>
        </view>
        <view class="right">
          <view class="choose">
            <view class="choose-no" hidden="{{choose_index==='1'}}"></view>
            <image class="choose-do" hidden="{{choose_index!=='1'}}" src="../../images/choose.png"></image>
          </view>
        </view>
      </view>
      <view class="pay-button">
        <view class="pay-btn {{choose_index&&'do'}}" bindtap="buy">确认支付</view>
      </view>
    </view>
  </view>


</view>