w
This commit is contained in:
1 parent
59a41b5a12
commit
be64f519b5
6 files changed
+54
-31
No files matched your search
+2
-1
@@ -8,4 +8,5 @@ env/
|
||||
.vscode/
|
||||
/docs/.vitepress/
|
||||
/docs/src
|
||||
/node_modules/
|
||||
/node_modules/
|
||||
/.husky/
|
||||
File renamed without changes.
Generated
+21
@@ -4,6 +4,10 @@
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"husky": "^9.1.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.19.0",
|
||||
"eslint": "^9.19.0",
|
||||
@@ -11,6 +15,7 @@
|
||||
"eslint-plugin-prettier": "^5.2.3",
|
||||
"eslint-plugin-vue": "^9.32.0",
|
||||
"globals": "^15.14.0",
|
||||
"husky": "^8.0.0",
|
||||
"lint-staged": "^15.4.3",
|
||||
"prettier": "^3.4.2",
|
||||
"vitepress": "^1.6.3"
|
||||
@@ -2717,6 +2722,22 @@
|
||||
"node": ">=16.17.0"
|
||||
}
|
||||
},
|
||||
"node_modules/husky": {
|
||||
"version": "8.0.3",
|
||||
"resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz",
|
||||
"integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"husky": "lib/bin.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/typicode"
|
||||
}
|
||||
},
|
||||
"node_modules/ignore": {
|
||||
"version": "5.3.2",
|
||||
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
|
||||
|
||||
+8
-3
@@ -4,8 +4,9 @@
|
||||
"docs:build": "vitepress build docs",
|
||||
"docs:preview": "vitepress preview docs",
|
||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
||||
"postinstall": "git config core.hooksPath .git-hooks",
|
||||
"lint-staged": "lint-staged"
|
||||
"postinstall": "npx husky-init && xcopy /E /I /Y sys\\hooks\\* .husky\\",
|
||||
"lint-staged": "lint-staged",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.19.0",
|
||||
@@ -16,12 +17,16 @@
|
||||
"globals": "^15.14.0",
|
||||
"lint-staged": "^15.4.3",
|
||||
"prettier": "^3.4.2",
|
||||
"vitepress": "^1.6.3"
|
||||
"vitepress": "^1.6.3",
|
||||
"husky": "^8.0.0"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,ts,vue}": [
|
||||
"prettier --write",
|
||||
"eslint --fix"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"husky": "^9.1.7"
|
||||
}
|
||||
}
|
||||
+20
-27
@@ -2,51 +2,44 @@
|
||||
<router-view />
|
||||
</template>
|
||||
|
||||
<script setup >
|
||||
import {useAccountStore} from '@/store/AccountStore'
|
||||
const accountStore = useAccountStore()
|
||||
accountStore.setUser(accountStore.getuserFromStorage())
|
||||
|
||||
<script setup>
|
||||
import { useAccountStore } from '@/store/AccountStore';
|
||||
const accountStore = useAccountStore();
|
||||
|
||||
accountStore.setUser(accountStore.getuserFromStorage());
|
||||
</script>
|
||||
<style>
|
||||
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 1px;
|
||||
height: 6px;
|
||||
width: 1px;
|
||||
height: 6px;
|
||||
}
|
||||
/* Track */
|
||||
::-webkit-scrollbar-track {
|
||||
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
/* Handle */
|
||||
::-webkit-scrollbar-thumb {
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
background: rgb(var(--v-theme-scrollbar))
|
||||
|
||||
-webkit-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
background: rgb(var(--v-theme-scrollbar));
|
||||
}
|
||||
::-webkit-scrollbar-thumb:window-inactive {
|
||||
background: rgb(var(--v-theme-scrollbar))
|
||||
background: rgb(var(--v-theme-scrollbar));
|
||||
}
|
||||
|
||||
|
||||
|
||||
.bggrad {
|
||||
background: linear-gradient(to top right, rgba(19,84,122,.8), rgba(128,208,199,.8));
|
||||
background: linear-gradient(to top right, rgba(19, 84, 122, 0.8), rgba(128, 208, 199, 0.8));
|
||||
}
|
||||
|
||||
.bgCard {
|
||||
/* #ffffff6b #ffffff8c*/
|
||||
background: #ffffff38 ;
|
||||
/* #ffffff6b #ffffff8c*/
|
||||
background: #ffffff38;
|
||||
}
|
||||
|
||||
.bgText {
|
||||
background: #ffffffb0;
|
||||
line-height: 2.1rem!important;
|
||||
|
||||
background: #ffffffb0;
|
||||
line-height: 2.1rem !important;
|
||||
}
|
||||
|
||||
.gap {
|
||||
@@ -54,11 +47,11 @@ import {useAccountStore} from '@/store/AccountStore'
|
||||
}
|
||||
|
||||
.w100 {
|
||||
max-width: 100%!important
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
.bottom-alert {
|
||||
bottom: 10px;
|
||||
left: 40%;
|
||||
left: 40%;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
npm run lint-staged
|
||||
Reference in new issue
Block a user