<view class="integral_transfer">
  <view class="content">
    <view class="transfer_info ul">
      <view class="info_a li">
        <text class="span">当前{{ integral_name }}：</text>
        <text class="span">{{ integral }}</text>
      </view>
      <view class="info_b li">
        <van-radio-group value="{{checkRadio}}" bind:change="onChange">
          <div class="radioStyle">
            <van-radio name="1" checked-color="#ee0a24">转化给自己</van-radio>
            <van-radio name="2" checked-color="#ee0a24" style="margin-left:0.85rem" wx:if="{{!shiftPoint}}">转赠他人</van-radio>
          </div>
        </van-radio-group>
      </view>
      <view class="info_b li" wx:if="{{checkRadio == '2'}}">
        <text class="span">受让人ID：</text>
        <van-field style="width: 430rpx;" value="{{ recipientId }}" placeholder="请输入您要转账的会员ID" border="{{ false }}" bind:change="idChange" />
      </view>
      <view class="info_b li" wx:if="{{checkRadio == '2'}}">
        <text class="span">昵称：</text>
        <text>{{nickname}}</text>
      </view>
    </view>
    <view class="transfer_sum">
      <text class="span">转化{{ integral_name }}</text>
      <view class="sum">
        <van-field style="width: 430rpx;" type="number" value="{{ changeIntegral }}" placeholder="0.00" border="{{ false }}" bind:change="integralChange" />
      </view>
    </view>
    <van-cell-group border>
      <!-- 例如：1个{{ integral_name }}等于2个{{ love_name }} #88700 -->
      <van-cell wx:if="{{!shiftPoint}}" title="例如：1个{{ integral_name }}等于2个{{ love_name }}" label="注：转化比例{{info.transformation_amount}}:{{info.transformation_ratio}},你实际到账数为 {{ actualIntegral }}" />
      <!-- 例如：1个{{ integral_name }}等于2个{{ info.point_name }} #88700 -->
      <van-cell wx:else title="" label="转化比例{{info.point_transformation_amount}}:{{info.point_transformation_ratio}},你实际到账数为 {{ actualIntegral }}" />
    </van-cell-group>
    <button type="button" class="btn custom_color" catchtap="sureChange" loading="{{ loading }}" disabled="{{ loading }}">确认转化</button>
  </view>
</view>