24 lines
585 B
Vue
24 lines
585 B
Vue
<script setup lang="ts">
|
|
import {
|
|
Description,
|
|
InputGroup,
|
|
InputGroupInput,
|
|
InputGroupPrefix,
|
|
InputGroupSuffix,
|
|
Label,
|
|
TextField,
|
|
} from "@heroui-vue/components";
|
|
</script>
|
|
|
|
<template>
|
|
<TextField class="w-full max-w-[280px]" default-value="10" name="price">
|
|
<Label>设置价格</Label>
|
|
<InputGroup>
|
|
<InputGroupPrefix>$</InputGroupPrefix>
|
|
<InputGroupInput class="w-full max-w-[200px]" type="number" />
|
|
<InputGroupSuffix>USD</InputGroupSuffix>
|
|
</InputGroup>
|
|
<Description>客户将支付的价格</Description>
|
|
</TextField>
|
|
</template>
|