前端优化
This commit is contained in:
parent
f8c748a15a
commit
5053d59f62
2
kinit-admin/.gitignore
vendored
2
kinit-admin/.gitignore
vendored
@ -5,3 +5,5 @@ dist-ssr
|
||||
*-lock.*
|
||||
pnpm-debug
|
||||
stats.html
|
||||
dist-pro
|
||||
.vscode
|
||||
|
3
kinit-admin/.vscode/extensions.json
vendored
3
kinit-admin/.vscode/extensions.json
vendored
@ -1,3 +0,0 @@
|
||||
{
|
||||
"recommendations": ["vue.volar", "lokalise.i18n-ally"]
|
||||
}
|
19
kinit-admin/.vscode/settings.json
vendored
19
kinit-admin/.vscode/settings.json
vendored
@ -1,19 +0,0 @@
|
||||
{
|
||||
"typescript.tsdk": "node_modules/typescript/lib",
|
||||
"prettier.enable": false,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": true
|
||||
},
|
||||
"[vue]": {
|
||||
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
||||
},
|
||||
"i18n-ally.localesPaths": ["src/locales"],
|
||||
"i18n-ally.keystyle": "nested",
|
||||
"i18n-ally.sortKeys": true,
|
||||
"i18n-ally.namespace": false,
|
||||
"i18n-ally.enabledParsers": ["ts"],
|
||||
"i18n-ally.sourceLanguage": "zh-CN",
|
||||
"i18n-ally.displayLanguage": "zh-CN",
|
||||
"i18n-ally.enabledFrameworks": ["vue", "react"],
|
||||
"god.tsconfig": "./tsconfig.json"
|
||||
}
|
@ -9,7 +9,7 @@ const prefixCls = getPrefixCls('footer')
|
||||
|
||||
const appStore = useAppStore()
|
||||
|
||||
const title = computed(() => appStore.getTitle)
|
||||
const footerContent = computed(() => appStore.getFooterContent)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@ -17,6 +17,6 @@ const title = computed(() => appStore.getTitle)
|
||||
:class="prefixCls"
|
||||
class="shrink-0 text-center text-[var(--el-text-color-placeholder)] bg-[var(--app-content-bg-color)] h-[var(--app-footer-height)] leading-[var(--app-footer-height)] dark:bg-[var(--el-bg-color)]"
|
||||
>
|
||||
Copyright ©2021-present {{ title }}
|
||||
{{ footerContent }}
|
||||
</div>
|
||||
</template>
|
||||
|
@ -9,6 +9,7 @@ import { useDesign } from '@/hooks/web/useDesign'
|
||||
import { ref } from 'vue'
|
||||
import { ElScrollbar } from 'element-plus'
|
||||
import { computed } from 'vue'
|
||||
import { ElButton } from 'element-plus'
|
||||
|
||||
const { getPrefixCls } = useDesign()
|
||||
|
||||
@ -28,6 +29,11 @@ const toTelephoneLogin = () => {
|
||||
const toPasswordLogin = () => {
|
||||
isPasswordLogin.value = true
|
||||
}
|
||||
|
||||
const icpNumber = computed(() => appStore.getIcpNumber)
|
||||
const toICO = () => {
|
||||
window.open('https://beian.miit.gov.cn/#/Integrated/index')
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@ -88,6 +94,9 @@ const toPasswordLogin = () => {
|
||||
/>
|
||||
</div>
|
||||
</Transition>
|
||||
<div class="text-14px text-white font-normal absolute bottom-5 right-10">
|
||||
<ElButton type="info" link @click="toICO">{{ icpNumber }}</ElButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ElScrollbar>
|
||||
|
Loading…
x
Reference in New Issue
Block a user