<script setup>
import {ref} from "vue";

const visible = ref(false);
</script>

<template>
    <a-link :hoverable="false" @click="visible=true">编辑</a-link>

    <a-modal
        ok-text="确定修改"
        title="编辑"
        title-align="start"
        v-model:visible="visible">
        <a-form layout="vertical">
            <a-form-item label="ID">
                <a-input placeholder="ID"></a-input>
            </a-form-item>
            <a-form-item label="昵称">
                <a-input placeholder="昵称"></a-input>
            </a-form-item>
            <a-form-item label="头像">
                <div class="flex flex-wrap gap-[12px]">
                    <a-image
                        width="62px"
                        height="62px"
                        src="https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/a8c8cdb109cb051163646151a4a5083b.png~tplv-uwbnlip3yd-webp.webp">
                    </a-image>
                    <a-image
                        width="62px"
                        height="62px"
                        src="https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/a8c8cdb109cb051163646151a4a5083b.png~tplv-uwbnlip3yd-webp.webp">
                    </a-image>
                </div>
            </a-form-item>
            <a-form-item label="手机号">
                <a-input placeholder="手机号"></a-input>
            </a-form-item>
            <a-form-item label="微信号">
                <a-input placeholder="微信号"></a-input>
            </a-form-item>
            <a-form-item label="状态">
                <a-input placeholder="状态"></a-input>
            </a-form-item>
            <a-form-item label="邀请人">
                <a-input placeholder="邀请人"></a-input>
            </a-form-item>
            <a-form-item label="入驻日期">
                <a-input placeholder="入驻日期"></a-input>
            </a-form-item>
        </a-form>
    </a-modal>
</template>

<style scoped lang="scss">

</style>
