feat: 更新 PrimeVue 组件,添加城市选择下拉框并优化按钮布局
This commit is contained in:
@ -1,8 +1,20 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="pppppppp">
|
<div class="pppppppp">
|
||||||
<InputText />
|
<InputText />
|
||||||
<button>button</button>
|
|
||||||
<Button>Button</Button>
|
<Button>PButton</Button>
|
||||||
<PButton>PButton</PButton>
|
|
||||||
|
<Select
|
||||||
|
:options="[
|
||||||
|
{ name: 'New York', code: 'NY' },
|
||||||
|
{ name: 'Rome', code: 'RM' },
|
||||||
|
{ name: 'London', code: 'LDN' },
|
||||||
|
{ name: 'Istanbul', code: 'IST' },
|
||||||
|
{ name: 'Paris', code: 'PRS' },
|
||||||
|
]"
|
||||||
|
optionLabel="name"
|
||||||
|
placeholder="Select a City"
|
||||||
|
class="min-w-[200px]"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -115,7 +115,7 @@ function Plugins() {
|
|||||||
}), // https://github.com/unplugin/unplugin-icons?tab=readme-ov-file#auto-importing
|
}), // https://github.com/unplugin/unplugin-icons?tab=readme-ov-file#auto-importing
|
||||||
TDesignResolver({ library: 'mobile-vue', esm: true }),
|
TDesignResolver({ library: 'mobile-vue', esm: true }),
|
||||||
VantResolver({ importStyle: true }),
|
VantResolver({ importStyle: true }),
|
||||||
PrimeVueResolver({ components: { prefix: 'P' } }),
|
PrimeVueResolver(/* { components: { prefix: 'P' } } */),
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
Icons({
|
Icons({
|
||||||
|
Reference in New Issue
Block a user