refactor: 调整登录表单样式和UnoCSS配置
This commit is contained in:
@ -12,6 +12,9 @@ export default defineNuxtConfig({
|
|||||||
|
|
||||||
ssr: true,
|
ssr: true,
|
||||||
modules: ['@unocss/nuxt', '@pinia/nuxt', '@element-plus/nuxt', 'pinia-plugin-persistedstate/nuxt'],
|
modules: ['@unocss/nuxt', '@pinia/nuxt', '@element-plus/nuxt', 'pinia-plugin-persistedstate/nuxt'],
|
||||||
|
unocss: {
|
||||||
|
nuxtLayers: true
|
||||||
|
},
|
||||||
elementPlus: {
|
elementPlus: {
|
||||||
importStyle: 'scss', // 或 'css',确保样式被全局导入
|
importStyle: 'scss', // 或 'css',确保样式被全局导入
|
||||||
themes: ['dark'], // 按需配置主题
|
themes: ['dark'], // 按需配置主题
|
||||||
|
|||||||
@ -50,7 +50,7 @@
|
|||||||
>免费注册</div
|
>免费注册</div
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="mt-[26px] box-border flex justify-between px-[18px]">
|
<div v-else class="mt-[24px] box-border flex justify-between px-[18px]">
|
||||||
<div
|
<div
|
||||||
class="h-[37px] w-[101px] cursor-pointer border border-[#1A65FF] rounded-[2px] border-solid bg-[#1A65FF] text-center text-[14px] text-[#FFFFFF] font-normal line-height-[37px]"
|
class="h-[37px] w-[101px] cursor-pointer border border-[#1A65FF] rounded-[2px] border-solid bg-[#1A65FF] text-center text-[14px] text-[#FFFFFF] font-normal line-height-[37px]"
|
||||||
@click="handleDrawe"
|
@click="handleDrawe"
|
||||||
|
|||||||
Reference in New Issue
Block a user