<!--mycomponent/yz_pay_buttons/yz_pay_buttons.wxml-->
<view class="btna">
  <view class="sureBtn" bindtap="confirm" wx:if="{{money=='0.00'}}">{{confirmPayText}}</view>
  <view class="btnaTitle" wx:if="{{money !='0.00'}}"><text></text>支付方式</view>
  <block wx:if="{{money !='0.00'}}">
    <van-radio-group value="{{ radio }}" bind:change="onChange">
      <view class="dBtn" wx:for="{{buttons}}" wx:key="index" data-value="{{item.value}}" data-btn="{{item}}">
        <view class="btn-area">
          <view style="display: flex;align-items: center;">
            <icon class="iconfont {{item.icon}}" style="font-size:22px;color:{{item.color}}"></icon>
            <text class="conText" wx:if="{{item.value != 3}}">{{item.name}}</text>
            <view wx:else style="display: flex;flex-direction: column;font-size: 32rpx;">
              <text>{{item.name}}</text>
              <text style="font-size: 24rpx;" wx:if="{{balance}}">可用<text style="color: rgba(247, 109, 109, 1);">{{balance}}</text>{{language['元']}}</text>
            </view>
          </view>
          <van-radio name="{{item.value}}" checked-color="#f15353"></van-radio>
        </view>
      </view>
    </van-radio-group>
  </block>
</view>
<view style="width: 100%;height: 100rpx;"></view>
<block wx:if="{{buttons && buttons.length!=0}}">
  <view  class="conZFbtn" bindtap="confirm" wx:if="{{money !='0.00'}}" style="border-radius: 10rpx;">立即支付</view>
</block>
