<script setup>
import { reactive, toRefs } from "vue";

const data = reactive({
  form: {},
});
const { form } = toRefs(data);

const handleSave = () => {};
</script>

<template>
  <div class="app-container">
    <el-card style="width: 50%; margin: 0 auto">
      <el-form :model="form" label-width="120px">
        <el-form-item label="身份证类型">
          <el-select v-model="form.type" placeholder="请选择">
            <el-option value="身份证">身份证</el-option>
            <el-option value="护照">护照</el-option>
          </el-select>
          <el-form-item label="姓名" prop="name">
            <el-input v-model="form.name" placeholder="请输入" />
          </el-form-item>
        </el-form-item>
        <el-form-item label="身份证号">
          <el-input v-model="form.number" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="银行卡号">
          <el-input v-model="form.bank" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="银行名称">
          <el-input v-model="form.bankName" placeholder="请输入" />
        </el-form-item>
      </el-form>
      <div>
        <!--保存-->
        <el-button type="primary" @click="handleSave">保存</el-button>
      </div>
    </el-card>
  </div>
</template>

<style lang="scss" scoped>
//:deep(.el-table--large) {
//font-size: 18px;
//th {
//font-size: 18px;
//}
//}
</style>
