mirror of
https://gitee.com/yiming_chang/vue-pure-admin.git
synced 2024-11-29 17:57:37 +08:00
chore: 升级代码规范风格相关库至最新 (#736)
This commit is contained in:
parent
64ea088fe1
commit
4415f12025
4
.browserslistrc
Normal file
4
.browserslistrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
> 1%
|
||||||
|
last 2 versions
|
||||||
|
not dead
|
||||||
|
not ie 11
|
@ -3,4 +3,6 @@
|
|||||||
# shellcheck source=./_/husky.sh
|
# shellcheck source=./_/husky.sh
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
npx --no-install commitlint --edit "$1"
|
PATH="/usr/local/bin:$PATH"
|
||||||
|
|
||||||
|
npx --no-install commitlint --edit "$1"
|
@ -1,8 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
"*.{js,jsx,ts,tsx}": ["eslint --fix", "prettier --write"],
|
|
||||||
"{!(package)*.json}": ["prettier --write--parser json"],
|
|
||||||
"package.json": ["prettier --write"],
|
|
||||||
"*.vue": ["eslint --fix", "prettier --write", "stylelint --fix"],
|
|
||||||
"*.{vue,css,scss,postcss,less}": ["stylelint --fix", "prettier --write"],
|
|
||||||
"*.md": ["prettier --write"]
|
|
||||||
};
|
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
[ -n "$CI" ] && exit 0
|
[ -n "$CI" ] && exit 0
|
||||||
|
|
||||||
# Format and submit code according to lintstagedrc.js configuration
|
PATH="/usr/local/bin:$PATH"
|
||||||
npm run lint:lint-staged
|
|
||||||
|
|
||||||
npm run lint:pretty
|
# Perform lint check on files in the staging area through .lintstagedrc configuration
|
||||||
|
pnpm exec lint-staged
|
16
.lintstagedrc
Normal file
16
.lintstagedrc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"*.{js,jsx,ts,tsx}": [
|
||||||
|
"prettier --cache --ignore-unknown --write",
|
||||||
|
"eslint --cache --fix"
|
||||||
|
],
|
||||||
|
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
|
||||||
|
"prettier --cache --write--parser json"
|
||||||
|
],
|
||||||
|
"package.json": ["prettier --cache --write"],
|
||||||
|
"*.vue": ["prettier --write", "eslint --cache --fix", "stylelint --fix"],
|
||||||
|
"*.{css,scss,html}": [
|
||||||
|
"prettier --cache --ignore-unknown --write",
|
||||||
|
"stylelint --fix"
|
||||||
|
],
|
||||||
|
"*.md": ["prettier --cache --ignore-unknown --write"]
|
||||||
|
}
|
69
package.json
69
package.json
@ -2,6 +2,30 @@
|
|||||||
"name": "vue-pure-admin",
|
"name": "vue-pure-admin",
|
||||||
"version": "4.5.0",
|
"version": "4.5.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"keywords": [
|
||||||
|
"vue-pure-admin",
|
||||||
|
"element-plus",
|
||||||
|
"tailwindcss",
|
||||||
|
"pure-admin",
|
||||||
|
"typescript",
|
||||||
|
"pinia",
|
||||||
|
"vue3",
|
||||||
|
"vite"
|
||||||
|
],
|
||||||
|
"homepage": "https://github.com/pure-admin/vue-pure-admin",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/pure-admin/vue-pure-admin/issues"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/pure-admin/vue-pure-admin.git"
|
||||||
|
},
|
||||||
|
"license": "MIT",
|
||||||
|
"author": {
|
||||||
|
"name": "xiaoxian521",
|
||||||
|
"email": "pureadmin@163.com",
|
||||||
|
"url": "https://github.com/xiaoxian521"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",
|
"dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",
|
||||||
"serve": "pnpm dev",
|
"serve": "pnpm dev",
|
||||||
@ -13,21 +37,14 @@
|
|||||||
"typecheck": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck",
|
"typecheck": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck",
|
||||||
"svgo": "svgo -f src/assets/svg -o src/assets/svg",
|
"svgo": "svgo -f src/assets/svg -o src/assets/svg",
|
||||||
"cloc": "NODE_OPTIONS=--max-old-space-size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML",
|
"cloc": "NODE_OPTIONS=--max-old-space-size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML",
|
||||||
"clean:cache": "rimraf node_modules && rimraf .eslintcache && pnpm install",
|
"clean:cache": "rimraf .eslintcache && rimraf node_modules && pnpm install",
|
||||||
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix",
|
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix",
|
||||||
"lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"",
|
"lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"",
|
||||||
"lint:stylelint": "stylelint --cache --fix \"**/*.{html,vue,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
"lint:stylelint": "stylelint --cache --fix \"**/*.{html,vue,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
||||||
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
|
|
||||||
"lint:pretty": "pretty-quick --staged",
|
|
||||||
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
|
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"preinstall": "npx only-allow pnpm"
|
"preinstall": "npx only-allow pnpm"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
|
||||||
"> 1%",
|
|
||||||
"not ie 11",
|
|
||||||
"not op_mini all"
|
|
||||||
],
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@amap/amap-jsapi-loader": "^1.0.1",
|
"@amap/amap-jsapi-loader": "^1.0.1",
|
||||||
"@howdyjs/mouse-menu": "^2.0.9",
|
"@howdyjs/mouse-menu": "^2.0.9",
|
||||||
@ -44,7 +61,7 @@
|
|||||||
"animate.css": "^4.1.1",
|
"animate.css": "^4.1.1",
|
||||||
"axios": "^1.5.0",
|
"axios": "^1.5.0",
|
||||||
"china-area-data": "^5.0.1",
|
"china-area-data": "^5.0.1",
|
||||||
"cropperjs": "^1.6.0",
|
"cropperjs": "^1.6.1",
|
||||||
"dayjs": "^1.11.9",
|
"dayjs": "^1.11.9",
|
||||||
"echarts": "^5.4.3",
|
"echarts": "^5.4.3",
|
||||||
"el-table-infinite-scroll": "^3.0.1",
|
"el-table-infinite-scroll": "^3.0.1",
|
||||||
@ -90,7 +107,7 @@
|
|||||||
"@iconify-icons/ep": "^1.2.12",
|
"@iconify-icons/ep": "^1.2.12",
|
||||||
"@iconify-icons/ri": "^1.2.10",
|
"@iconify-icons/ri": "^1.2.10",
|
||||||
"@iconify/vue": "^4.1.1",
|
"@iconify/vue": "^4.1.1",
|
||||||
"@intlify/unplugin-vue-i18n": "^0.11.0",
|
"@intlify/unplugin-vue-i18n": "^1.2.0",
|
||||||
"@pureadmin/theme": "^3.1.0",
|
"@pureadmin/theme": "^3.1.0",
|
||||||
"@types/intro.js": "^5.1.1",
|
"@types/intro.js": "^5.1.1",
|
||||||
"@types/js-cookie": "^3.0.4",
|
"@types/js-cookie": "^3.0.4",
|
||||||
@ -100,27 +117,26 @@
|
|||||||
"@types/qrcode": "^1.5.2",
|
"@types/qrcode": "^1.5.2",
|
||||||
"@types/qs": "^6.9.8",
|
"@types/qs": "^6.9.8",
|
||||||
"@types/sortablejs": "^1.15.2",
|
"@types/sortablejs": "^1.15.2",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
||||||
"@typescript-eslint/parser": "^5.62.0",
|
"@typescript-eslint/parser": "^6.7.0",
|
||||||
"@vitejs/plugin-vue": "^4.3.4",
|
"@vitejs/plugin-vue": "^4.3.4",
|
||||||
"@vitejs/plugin-vue-jsx": "^3.0.2",
|
"@vitejs/plugin-vue-jsx": "^3.0.2",
|
||||||
"@vue/eslint-config-prettier": "^7.1.0",
|
"@vue/eslint-config-prettier": "^8.0.0",
|
||||||
"@vue/eslint-config-typescript": "^11.0.3",
|
"@vue/eslint-config-typescript": "^12.0.0",
|
||||||
"autoprefixer": "^10.4.15",
|
"autoprefixer": "^10.4.15",
|
||||||
"cloc": "^2.11.0",
|
"cloc": "^2.11.0",
|
||||||
"cssnano": "^6.0.1",
|
"cssnano": "^6.0.1",
|
||||||
"eslint": "^8.49.0",
|
"eslint": "^8.49.0",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "^5.0.0",
|
||||||
"eslint-plugin-vue": "^9.17.0",
|
"eslint-plugin-vue": "^9.17.0",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
"lint-staged": "^13.3.0",
|
"lint-staged": "^14.0.1",
|
||||||
"picocolors": "^1.0.0",
|
"picocolors": "^1.0.0",
|
||||||
"postcss": "^8.4.29",
|
"postcss": "^8.4.29",
|
||||||
"postcss-html": "^1.5.0",
|
"postcss-html": "^1.5.0",
|
||||||
"postcss-import": "^15.1.0",
|
"postcss-import": "^15.1.0",
|
||||||
"postcss-scss": "^4.0.8",
|
"postcss-scss": "^4.0.8",
|
||||||
"prettier": "^2.8.8",
|
"prettier": "^3.0.3",
|
||||||
"pretty-quick": "^3.1.3",
|
|
||||||
"rimraf": "^5.0.1",
|
"rimraf": "^5.0.1",
|
||||||
"rollup-plugin-visualizer": "^5.9.2",
|
"rollup-plugin-visualizer": "^5.9.2",
|
||||||
"sass": "^1.67.0",
|
"sass": "^1.67.0",
|
||||||
@ -128,18 +144,18 @@
|
|||||||
"stylelint": "^15.10.3",
|
"stylelint": "^15.10.3",
|
||||||
"stylelint-config-html": "^1.1.0",
|
"stylelint-config-html": "^1.1.0",
|
||||||
"stylelint-config-recess-order": "^4.3.0",
|
"stylelint-config-recess-order": "^4.3.0",
|
||||||
"stylelint-config-recommended": "^12.0.0",
|
"stylelint-config-recommended": "^13.0.0",
|
||||||
"stylelint-config-recommended-scss": "^12.0.0",
|
"stylelint-config-recommended-scss": "^13.0.0",
|
||||||
"stylelint-config-recommended-vue": "^1.5.0",
|
"stylelint-config-recommended-vue": "^1.5.0",
|
||||||
"stylelint-config-standard": "^33.0.0",
|
"stylelint-config-standard": "^34.0.0",
|
||||||
"stylelint-config-standard-scss": "^9.0.0",
|
"stylelint-config-standard-scss": "^11.0.0",
|
||||||
"stylelint-order": "^6.0.3",
|
"stylelint-order": "^6.0.3",
|
||||||
"stylelint-prettier": "^3.0.0",
|
"stylelint-prettier": "^4.0.2",
|
||||||
"stylelint-scss": "^5.2.1",
|
"stylelint-scss": "^5.2.1",
|
||||||
"svgo": "^3.0.2",
|
"svgo": "^3.0.2",
|
||||||
"tailwindcss": "^3.3.3",
|
"tailwindcss": "^3.3.3",
|
||||||
"terser": "^5.19.4",
|
"terser": "^5.19.4",
|
||||||
"typescript": "5.0.4",
|
"typescript": "^5.2.2",
|
||||||
"vite": "^4.4.9",
|
"vite": "^4.4.9",
|
||||||
"vite-plugin-cdn-import": "^0.3.5",
|
"vite-plugin-cdn-import": "^0.3.5",
|
||||||
"vite-plugin-compression": "^0.5.1",
|
"vite-plugin-compression": "^0.5.1",
|
||||||
@ -162,8 +178,5 @@
|
|||||||
"w3c-hr-time": "*",
|
"w3c-hr-time": "*",
|
||||||
"stable": "*"
|
"stable": "*"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"repository": "git@github.com:pure-admin/vue-pure-admin.git",
|
|
||||||
"author": "xiaoxian521",
|
|
||||||
"license": "MIT"
|
|
||||||
}
|
}
|
||||||
|
9018
pnpm-lock.yaml
9018
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,7 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iconfont"; /* Project id 2208059 */
|
font-family: "iconfont"; /* Project id 2208059 */
|
||||||
src: url("iconfont.woff2?t=1671895108120") format("woff2"),
|
src:
|
||||||
|
url("iconfont.woff2?t=1671895108120") format("woff2"),
|
||||||
url("iconfont.woff?t=1671895108120") format("woff"),
|
url("iconfont.woff?t=1671895108120") format("woff"),
|
||||||
url("iconfont.ttf?t=1671895108120") format("truetype");
|
url("iconfont.ttf?t=1671895108120") format("truetype");
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
animation: move 0.3s linear infinite,
|
animation:
|
||||||
|
move 0.3s linear infinite,
|
||||||
bounce-in-down 1s calc(var(--delay) * 1s) forwards;
|
bounce-in-down 1s calc(var(--delay) * 1s) forwards;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iconfont";
|
font-family: "iconfont";
|
||||||
src: url("iconfont.eot?t=1618544337340"); /* IE9 */
|
src: url("iconfont.eot?t=1618544337340"); /* IE9 */
|
||||||
src: url("iconfont.eot?t=1618544337340#iefix") format("embedded-opentype"),
|
src:
|
||||||
|
url("iconfont.eot?t=1618544337340#iefix") format("embedded-opentype"),
|
||||||
/* IE6-IE8 */
|
/* IE6-IE8 */
|
||||||
url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAZ0AAsAAAAADKgAAAYmAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDZAqLQIldATYCJAMgCxIABCAFhG0HgQkb6ApRlA9Sk+xngd1wXQyjTXRCW7pkEvLB0N9/pZhyo7nvIIK1Nisnipg3omjUREiURDXNNEL/jDRCI5H/riTu/9q0D5OakT05VaM3E4kMJI2QhanZillesmYnVT0pD5+399suTrCEkjDhqLtAxyURhIU6Ser/1tp8aDPgI2g7ex2ah+Q7i0rI+Gy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v7saR0sn5MfEzhinC2Dizcv5xHycyChG33pcskigbRkvXnDaurRjRuIeDdu4rnSgPQ/L196FHQg6FGs7266c82aTtDT1jU0CqzWoG2Ndf91wRo1g/0wo9b4VPtV+2iwl/fjvxq4f83CBZeYgx6njp8mb7jzou9FfPdwBBpffvyUx6XARoc/1umGwtrl034lryLH/YCEwly/XrrckYHsd+/YWY/u3EGI085rV6RD5+Bw7dqnoAvBjzifw3S3zdaNZL/dRnfz7XZup232DX4VtD6Cn+AzkqFgBq6unr/gwtCDuydN51fk76ocHS/nN25Y/WqMe1fzBRgEQHPEjqE0gIbkR1CKM/zYUukn9ItRVMHwLfuO1kaP2mlUivpAUpbb8f5wZS1eib+cs3/qlD9r8DU2NEccqhPVFos3SRGSKtb4hyJEcX6VZhArj8Y+edgVpHICKD9tt8ddsvuYpNLZfQGoyBiY2CzKm1chkFmHUGwbUityTs70kCCSE2DZZADRaSeo0heYTpdQ3vwIAv0+QagzEKTOQnnOzHzoXTMkrCJYy6q7Wb1GNPO6hLi6keVYaDeqpDDFGarGkqy3sLFRMXFPDjZjqYsD5A6BI4RneUk0sdlwM2w0iqxFEtuwhkTpCLHER0fzWQ+I0ogmcLVPgqkQmBZLrdvC1tMQmfGTE66J3y+HCdoZqUgFBd/Y1TCJTL92VqwoMRVQOUxzpYJTiZd1EHAIyXmskS4RmbCySY4ZpVPEsmRv1QbTIKLoGtgt4kVTI74qM2p4tulMzwFS4qPiUDFxCSSUSGJJKJd2ozFS1kgYmyN1snOnimh0brybVuw0G0WV9iF3xeYjFAg4LcEi4Q692C7TUI8omiJRZAN3M+4ikTLBlosAAAA=")
|
||||||
format("woff2"),
|
format("woff2"),
|
||||||
|
@ -28,9 +28,12 @@
|
|||||||
padding: 4px 0;
|
padding: 4px 0;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
box-shadow: 0 2px 8px -2px rgb(0 0 0 / 5%), 0 1px 4px -1px rgb(0 0 0 / 7%),
|
box-shadow:
|
||||||
|
0 2px 8px -2px rgb(0 0 0 / 5%),
|
||||||
|
0 1px 4px -1px rgb(0 0 0 / 7%),
|
||||||
0 0 1px rgb(0 0 0 / 7%);
|
0 0 1px rgb(0 0 0 / 7%);
|
||||||
transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1),
|
transition:
|
||||||
|
transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1),
|
||||||
width 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
|
width 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||||
will-change: transform, width;
|
will-change: transform, width;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iconfont"; /* Project id 3268330 */
|
font-family: "iconfont"; /* Project id 3268330 */
|
||||||
src: url("iconfont.woff2?t=1647939915215") format("woff2"),
|
src:
|
||||||
|
url("iconfont.woff2?t=1647939915215") format("woff2"),
|
||||||
url("iconfont.woff?t=1647939915215") format("woff"),
|
url("iconfont.woff?t=1647939915215") format("woff"),
|
||||||
url("iconfont.ttf?t=1647939915215") format("truetype");
|
url("iconfont.ttf?t=1647939915215") format("truetype");
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,9 @@ const { device } = useNav();
|
|||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
box-shadow: inset 0 -2px #cdcde6, inset 0 0 1px 1px #fff,
|
box-shadow:
|
||||||
|
inset 0 -2px #cdcde6,
|
||||||
|
inset 0 0 1px 1px #fff,
|
||||||
0 1px 2px 1px #1e235a66;
|
0 1px 2px 1px #1e235a66;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,9 +56,9 @@ onMounted(() => {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.frame {
|
.frame {
|
||||||
z-index: 998;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
|
z-index: 998;
|
||||||
|
|
||||||
.frame-iframe {
|
.frame-iframe {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -122,8 +122,10 @@ html.dark {
|
|||||||
.pure-message {
|
.pure-message {
|
||||||
background-color: rgb(36 37 37) !important;
|
background-color: rgb(36 37 37) !important;
|
||||||
background-image: initial !important;
|
background-image: initial !important;
|
||||||
box-shadow: rgb(13 13 13 / 12%) 0 3px 6px -4px,
|
box-shadow:
|
||||||
rgb(13 13 13 / 8%) 0 6px 16px 0, rgb(13 13 13 / 5%) 0 9px 28px 8px !important;
|
rgb(13 13 13 / 12%) 0 3px 6px -4px,
|
||||||
|
rgb(13 13 13 / 8%) 0 6px 16px 0,
|
||||||
|
rgb(13 13 13 / 5%) 0 9px 28px 8px !important;
|
||||||
|
|
||||||
& .el-message__content {
|
& .el-message__content {
|
||||||
color: $color-white !important;
|
color: $color-white !important;
|
||||||
@ -142,7 +144,9 @@ html.dark {
|
|||||||
/* 自定义菜单搜索样式 */
|
/* 自定义菜单搜索样式 */
|
||||||
.pure-search-dialog {
|
.pure-search-dialog {
|
||||||
.el-dialog__footer {
|
.el-dialog__footer {
|
||||||
box-shadow: 0 -1px 0 0 #555a64, 0 -3px 6px 0 rgb(69 98 155 / 12%);
|
box-shadow:
|
||||||
|
0 -1px 0 0 #555a64,
|
||||||
|
0 -3px 6px 0 rgb(69 98 155 / 12%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-footer {
|
.search-footer {
|
||||||
|
@ -63,7 +63,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
& .peg {
|
& .peg {
|
||||||
box-shadow: 0 0 10px var(--el-color-primary),
|
box-shadow:
|
||||||
|
0 0 10px var(--el-color-primary),
|
||||||
0 0 5px var(--el-color-primary) !important;
|
0 0 5px var(--el-color-primary) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,7 +106,9 @@
|
|||||||
height: 24px;
|
height: 24px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
outline: none;
|
outline: none;
|
||||||
transition: background-color 0.2s, color 0.2s;
|
transition:
|
||||||
|
background-color 0.2s,
|
||||||
|
color 0.2s;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: rgb(0 0 0 / 88%) !important;
|
color: rgb(0 0 0 / 88%) !important;
|
||||||
@ -124,7 +127,9 @@
|
|||||||
padding: 10px 13px !important;
|
padding: 10px 13px !important;
|
||||||
background: #fff !important;
|
background: #fff !important;
|
||||||
border-width: 0 !important;
|
border-width: 0 !important;
|
||||||
box-shadow: 0 3px 6px -4px #0000001f, 0 6px 16px #00000014,
|
box-shadow:
|
||||||
|
0 3px 6px -4px #0000001f,
|
||||||
|
0 6px 16px #00000014,
|
||||||
0 9px 28px 8px #0000000d !important;
|
0 9px 28px 8px #0000000d !important;
|
||||||
|
|
||||||
&.el-message.is-closable .el-message__content {
|
&.el-message.is-closable .el-message__content {
|
||||||
@ -145,7 +150,9 @@
|
|||||||
right: 9px !important;
|
right: 9px !important;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
outline: none;
|
outline: none;
|
||||||
transition: background-color 0.2s, color 0.2s;
|
transition:
|
||||||
|
background-color 0.2s,
|
||||||
|
color 0.2s;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: rgb(0 0 0 / 6%);
|
background-color: rgb(0 0 0 / 6%);
|
||||||
@ -170,6 +177,8 @@
|
|||||||
|
|
||||||
.el-dialog__footer {
|
.el-dialog__footer {
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
box-shadow: 0 -1px 0 0 #e0e3e8, 0 -3px 6px 0 rgb(69 98 155 / 12%);
|
box-shadow:
|
||||||
|
0 -1px 0 0 #e0e3e8,
|
||||||
|
0 -3px 6px 0 rgb(69 98 155 / 12%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,10 @@
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
margin: 15px 0;
|
margin: 15px 0;
|
||||||
color: #999;
|
color: #999;
|
||||||
font: bold 200% Consolas, Monaco, monospace;
|
font:
|
||||||
|
bold 200% Consolas,
|
||||||
|
Monaco,
|
||||||
|
monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1180px) {
|
@media screen and (max-width: 1180px) {
|
||||||
|
@ -107,7 +107,7 @@ watch(
|
|||||||
:show-icon="state.showIcon"
|
:show-icon="state.showIcon"
|
||||||
:show-line-number="state.showLineNumber"
|
:show-line-number="state.showLineNumber"
|
||||||
:editable="state.editable"
|
:editable="state.editable"
|
||||||
:editable-trigger="(state.editableTrigger as any)"
|
:editable-trigger="state.editableTrigger as any"
|
||||||
/>
|
/>
|
||||||
</el-card>
|
</el-card>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user