<script setup>
import { ref } from 'vue'
import sHeader from "@/components/SimpleHeader";
const value = ref([
    { url: 'https://fastly.jsdelivr.net/npm/@vant/assets/leaf.jpeg' },
]);
</script>

<template>
    <div class="buyConf">
        <s-header :name="'交易买入确认'" :noback="false"></s-header>
        
        <!-- 买家操作，付款 -->
        <van-form @submit="onSubmit">
            <van-cell-group inset>
                <van-field name="uploader" label="买家上传付款截图">
                    <template #input>
                        <van-uploader v-model="value" />
                    </template>
                </van-field>
            </van-cell-group>
            <div style="margin: 16px;">
                <van-button round block type="primary" native-type="submit">
                    通知卖家
                </van-button>
            </div>
        </van-form>

    </div>
</template>

<style scoped></style>