35 lines
948 B
Vue
35 lines
948 B
Vue
<script setup lang="ts">
|
|
import {
|
|
InputGroup,
|
|
InputGroupInput,
|
|
InputGroupPrefix,
|
|
InputGroupSuffix,
|
|
Label,
|
|
TextField,
|
|
} from "@heroui-vue/components";
|
|
import { IconEye, IconMail } from "@tabler/icons-vue";
|
|
</script>
|
|
|
|
<template>
|
|
<div class="w-[400px] space-y-4">
|
|
<TextField full-width name="email">
|
|
<Label>邮箱地址</Label>
|
|
<InputGroup full-width>
|
|
<InputGroupPrefix>
|
|
<IconMail class="size-4 text-muted" aria-hidden="true" />
|
|
</InputGroupPrefix>
|
|
<InputGroupInput placeholder="name@email.com" />
|
|
</InputGroup>
|
|
</TextField>
|
|
<TextField full-width name="password">
|
|
<Label>密码</Label>
|
|
<InputGroup full-width>
|
|
<InputGroupInput placeholder="输入密码" type="password" />
|
|
<InputGroupSuffix>
|
|
<IconEye class="size-4 text-muted" aria-hidden="true" />
|
|
</InputGroupSuffix>
|
|
</InputGroup>
|
|
</TextField>
|
|
</div>
|
|
</template>
|