<!--pages/publicTransfer/index.wxml-->
<navigator title="对公转账" canBack="{{true}}" />
<van-cell-group>
    <van-field label="用户名称" value="{{ tenementName }}" border="{{ false }}" readonly />
    <van-field label="电表编号" value="{{ meter.code }}" border="{{ false }}" readonly />
    <van-field label="电表地址" value="{{ meter.address }}" border="{{ false }}" readonly />
    <van-field label="付款方式" value="{{ '对公支付' }}" border="{{ false }}" readonly />
    <van-field label="付款金额" value="{{ money }}" border="{{ false }}" readonly />
    <van-field label="充值凭证" border="{{ false }}" use-input-slot type="textarea">
        <van-button slot="input" size="small" type="info" bind:tap="onUpload">
            点击上传
        </van-button>
    </van-field>

</van-cell-group>

<view style="padding: 20rpx;">
    <van-uploader
        file-list="{{ fileList }}"
        show-upload="{{false}}"
        bind:delete="handleDelete"
        preview-size="220rpx"
    />

    <van-button bind:tap="handleSubmit" type="info" block style="margin-top: 20rpx;"> 提交 </van-button>
</view>
<van-dialog id="van-dialog" />

<view style="margin: 30rpx;">
    <view style="display: flex; justify-content: space-between;margin-bottom: 30rpx;"> 
        <view style="flex: 1;">
            请使用对公账号向以下账号汇款，并将付款成功截图上传至充值凭证。
        </view>
        <view class="primaryTextBtn" bind:tap="copy" style="width: 100rpx;"> 复制 </view> 
    </view>
    <view> 河北华昌宝能售电有限公司  </view>
    <view> 建行新石北路支行 </view>
    <view> 13050161563600000908 </view>
</view>