保存进度!

This commit is contained in:
Kane Wang 2023-01-07 18:26:15 +08:00
parent b4029677cf
commit 3eadf4a27a
7 changed files with 35 additions and 21 deletions

View File

@ -30,7 +30,7 @@
"@vue/cli-service": "~5.0.0", "@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3", "eslint-plugin-vue": "^8.0.3",
"svg-sprite-loader": "^2.0.3", "svg-sprite-loader": "^2.1.0",
"vue-cli-plugin-element-plus": "~0.0.13" "vue-cli-plugin-element-plus": "~0.0.13"
} }
}, },
@ -11407,17 +11407,18 @@
} }
}, },
"node_modules/svg-sprite-loader": { "node_modules/svg-sprite-loader": {
"version": "2.0.3", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/svg-sprite-loader/-/svg-sprite-loader-2.0.3.tgz", "resolved": "https://registry.npmmirror.com/svg-sprite-loader/-/svg-sprite-loader-2.1.0.tgz",
"integrity": "sha512-9NugfIFdCpPLti/y0E7jqYei2bS4rd6fx66u6QZx8HDmoSiyjdoRvK6pAXejBsFrQANSyW48qrC+dbSXLAXmJw==", "integrity": "sha512-AaavqU2TD1xdR1dYpobQ2JkQdBgE/PlkOprI/9UFFtPexabmtW7vPiOcEraNLA1dPowIrKdOmZ0s9hAQcZfnag==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"bluebird": "^3.5.0", "bluebird": "^3.5.0",
"deepmerge": "1.3.2", "deepmerge": "1.3.2",
"domready": "1.0.8", "domready": "1.0.8",
"escape-string-regexp": "1.0.5",
"loader-utils": "^1.1.0", "loader-utils": "^1.1.0",
"svg-baker": "^1.2.0", "svg-baker": "^1.2.7",
"svg-baker-runtime": "^1.2.1", "svg-baker-runtime": "^1.2.96",
"url-slug": "2.0.0" "url-slug": "2.0.0"
} }
}, },
@ -21891,17 +21892,18 @@
} }
}, },
"svg-sprite-loader": { "svg-sprite-loader": {
"version": "2.0.3", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/svg-sprite-loader/-/svg-sprite-loader-2.0.3.tgz", "resolved": "https://registry.npmmirror.com/svg-sprite-loader/-/svg-sprite-loader-2.1.0.tgz",
"integrity": "sha512-9NugfIFdCpPLti/y0E7jqYei2bS4rd6fx66u6QZx8HDmoSiyjdoRvK6pAXejBsFrQANSyW48qrC+dbSXLAXmJw==", "integrity": "sha512-AaavqU2TD1xdR1dYpobQ2JkQdBgE/PlkOprI/9UFFtPexabmtW7vPiOcEraNLA1dPowIrKdOmZ0s9hAQcZfnag==",
"dev": true, "dev": true,
"requires": { "requires": {
"bluebird": "^3.5.0", "bluebird": "^3.5.0",
"deepmerge": "1.3.2", "deepmerge": "1.3.2",
"domready": "1.0.8", "domready": "1.0.8",
"escape-string-regexp": "1.0.5",
"loader-utils": "^1.1.0", "loader-utils": "^1.1.0",
"svg-baker": "^1.2.0", "svg-baker": "^1.2.7",
"svg-baker-runtime": "^1.2.1", "svg-baker-runtime": "^1.2.96",
"url-slug": "2.0.0" "url-slug": "2.0.0"
}, },
"dependencies": { "dependencies": {

View File

@ -30,7 +30,7 @@
"@vue/cli-service": "~5.0.0", "@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3", "eslint-plugin-vue": "^8.0.3",
"svg-sprite-loader": "^2.0.3", "svg-sprite-loader": "^2.1.0",
"vue-cli-plugin-element-plus": "~0.0.13" "vue-cli-plugin-element-plus": "~0.0.13"
} }
} }

View File

@ -2,20 +2,32 @@
* @Author: Kane * @Author: Kane
* @Date: 2023-01-06 20:33:57 * @Date: 2023-01-06 20:33:57
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2023-01-06 20:42:29 * @LastEditTime: 2023-01-07 17:10:07
* @FilePath: \admin_system\src\components\svg\SvgIcon.vue * @FilePath: \admin_system\src\components\svg\SvgIcon.vue
* @Description: * @Description:
* *
* Copyright (c) ${2022} by Kane, All Rights Reserved. * Copyright (c) ${2022} by Kane, All Rights Reserved.
--> -->
<template> <template>
svg-icon svg-icon:{{ this.iconName }}
</template> </template>
<script> <script>
export default { export default {
name: "svg-icon", name: "svg-icon",
data()
{
return {
iconName: ""
};
},
props: ["icon"],
created()
{
console.log("svg");
console.log(this.icon);
this.iconName = this.icon;
},
}; };
</script> </script>

View File

@ -2,14 +2,14 @@
* @Author: Kane * @Author: Kane
* @Date: 2023-01-04 11:30:33 * @Date: 2023-01-04 11:30:33
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2023-01-07 11:53:26 * @LastEditTime: 2023-01-07 16:44:11
* @FilePath: \admin_system\src\layout\components\Aside.vue * @FilePath: \admin_system\src\layout\components\Aside.vue
* @Description: * @Description:
* *
* Copyright (c) ${2022} by Kane, All Rights Reserved. * Copyright (c) ${2022} by Kane, All Rights Reserved.
--> -->
<template> <template>
<el-menu id="side-bar" router default-active="/desktop" unique-opened="true" background-color="#223142" <el-menu id="side-bar" router default-active="/desktop" unique-opened=true background-color="#223142"
text-color="#fff" active-text-color="#ffd04b"> text-color="#fff" active-text-color="#ffd04b">
<template v-for="route in this.routers" :key="route.path"> <template v-for="route in this.routers" :key="route.path">
<template v-if="!route.hidden"> <template v-if="!route.hidden">

View File

@ -31,7 +31,7 @@ export default {
// }, // },
mounted() mounted()
{ {
console.log("banner请求数据"); //console.log("banner");
}, },
}; };
</script> </script>

View File

@ -2,7 +2,7 @@
* @Author: Kane * @Author: Kane
* @Date: 2022-12-14 15:12:46 * @Date: 2022-12-14 15:12:46
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2023-01-07 15:03:29 * @LastEditTime: 2023-01-07 16:44:45
* @FilePath: \admin_system\src\main.js * @FilePath: \admin_system\src\main.js
* @Description: * @Description:
* *

View File

@ -2,7 +2,7 @@
* @Author: Kane * @Author: Kane
* @Date: 2023-01-06 19:05:53 * @Date: 2023-01-06 19:05:53
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2023-01-06 20:44:41 * @LastEditTime: 2023-01-07 17:12:25
* @FilePath: \admin_system\src\views\news\NewsEdit.vue * @FilePath: \admin_system\src\views\news\NewsEdit.vue
* @Description: * @Description:
* *
@ -10,7 +10,7 @@
--> -->
<template> <template>
信息编辑 信息编辑
<SvgIcon></SvgIcon> <SvgIcon icon="house"></SvgIcon>
</template> </template>
<script> <script>