You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
<template>
|
|
<el-form :model="form" label-width="auto" size="large" label-position="top">
|
|
<el-form-item label="手机号码" class="px-4">
|
|
<el-input disabled v-model="form.mobile"/>
|
|
</el-form-item>
|
|
<el-form-item label="昵称" class="px-4">
|
|
<el-input v-model="form.nickname"/>
|
|
</el-form-item>
|
|
<el-form-item label="邮箱账号" class="px-4">
|
|
<el-input v-model="form.email" placeholder="邮箱账号"/>
|
|
</el-form-item>
|
|
<el-form-item label="性别" class="px-4">
|
|
<el-radio-group v-model="form.sex">
|
|
<el-radio value="1">男</el-radio>
|
|
<el-radio value="2">女</el-radio>
|
|
</el-radio-group>
|
|
</el-form-item>
|
|
<el-form-item label="个人签名" class="px-4">
|
|
<el-input v-model="form.comments" type="textarea" placeholder="个人签名" :rows="4"/>
|
|
</el-form-item>
|
|
<el-form-item class="px-4">
|
|
<el-button type="primary" class="sm:w-auto w-full" size="large" @click="onSubmit">保存</el-button>
|
|
</el-form-item>
|
|
</el-form>
|
|
</template>
|
|
<script setup lang="ts">
|
|
|
|
withDefaults(
|
|
defineProps<{
|
|
form?: any;
|
|
title?: string;
|
|
desc?: string;
|
|
}>(),
|
|
{}
|
|
);
|
|
</script>
|
|
|
|
<style scoped lang="less">
|
|
|
|
</style>
|