This commit is contained in:
zclzone 2023-10-12 15:48:44 +08:00
commit 07d5ab4837
3 changed files with 534 additions and 760 deletions

View File

@ -31,30 +31,30 @@
]
},
"dependencies": {
"@unocss/eslint-config": "^0.55.3",
"@vueuse/core": "^10.4.0",
"@unocss/eslint-config": "^0.55.7",
"@vueuse/core": "^10.4.1",
"@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "5.1.12",
"axios": "^1.5.0",
"dayjs": "^1.11.9",
"axios": "^1.5.1",
"dayjs": "^1.11.10",
"echarts": "^5.4.3",
"lodash-es": "^4.17.21",
"md-editor-v3": "^4.4.0",
"md-editor-v3": "^4.7.0",
"mockjs": "^1.1.0",
"pinia": "^2.1.6",
"vite": "^4.4.9",
"vite": "^4.4.11",
"vue": "3.3.4",
"vue-echarts": "^6.6.1",
"vue-router": "^4.2.4",
"vue-router": "^4.2.5",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@iconify/json": "^2.2.106",
"@iconify/json": "^2.2.125",
"@iconify/vue": "^4.1.1",
"@unocss/preset-rem-to-px": "^0.55.3",
"@vitejs/plugin-vue": "^4.3.3",
"@unocss/preset-rem-to-px": "^0.55.7",
"@vitejs/plugin-vue": "^4.4.0",
"@vue/compiler-sfc": "^3.3.4",
"@zclzone/eslint-config": "^0.0.4",
"chalk": "^5.3.0",
@ -66,13 +66,13 @@
"fs-extra": "^11.1.1",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"naive-ui": "^2.34.4",
"naive-ui": "^2.35.0",
"rollup-plugin-visualizer": "^5.9.2",
"sass": "^1.66.1",
"sass": "^1.69.0",
"unocss": "0.55.3",
"unplugin-auto-import": "^0.16.6",
"unplugin-icons": "^0.16.5",
"unplugin-vue-components": "^0.25.1",
"unplugin-icons": "^0.16.6",
"unplugin-vue-components": "^0.25.2",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.0",
"vite-plugin-mock": "2.9.6",

1238
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -14,25 +14,33 @@
<img src="@/assets/images/logo.png" height="50" class="mr-10" />
{{ title }}
</h5>
<div mt-30>
<div mt-32>
<n-input
v-model:value="loginInfo.name"
autofocus
class="h-50 items-center pl-10 text-16"
placeholder="admin"
class="h-48 items-center text-16"
placeholder="name"
:maxlength="20"
/>
>
<template #prefix>
<icon-material-symbols:account-circle-outline class="mr-8 text-20 opacity-40" />
</template>
</n-input>
</div>
<div mt-30>
<div mt-32>
<n-input
v-model:value="loginInfo.password"
class="h-50 items-center pl-10 text-16"
class="h-48 items-center text-16"
type="password"
show-password-on="mousedown"
placeholder="123456"
placeholder="password"
:maxlength="20"
@keypress.enter="handleLogin"
/>
@keydown.enter="handleLogin"
>
<template #prefix>
<icon-ri:lock-password-line class="mr-8 text-20 opacity-40" />
</template>
</n-input>
</div>
<div mt-20>