From 8e162b97a6f09c6ab10cea11f4c4bbcb5b754e8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=96=E5=A7=90?= <2981176548@qq.com> Date: Tue, 16 Jan 2024 01:08:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=95=8C=E9=9D=A2=E5=AE=8C?= =?UTF-8?q?=E5=96=841?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 114 ++++++++++++++++++ package.json | 2 + src/main.js | 4 +- src/manager/Data/CarouselManagement.vue | 3 + src/manager/Data/DailyReportManage.vue | 3 + src/manager/Data/LogManage.vue | 3 + src/manager/Data/MessageManage.vue | 3 + src/manager/Data/NewsDisplay.vue | 3 + .../Data/NewsInformationManagement.vue | 3 + src/manager/Data/PermissionsManage.vue | 3 + .../Data/ProjectInformationManagement.vue | 3 + src/manager/Data/ProjectRecommendations.vue | 3 + src/manager/Data/RoleManage.vue | 3 + .../Data/TeamInformationManagement.vue | 3 + src/manager/Data/TeamIntroduction.vue | 3 + src/manager/Data/UserManage.vue | 3 + src/manager/Data/UserRecommendations.vue | 3 + src/manager/LeftBar.vue | 71 +++++++++++ src/manager/Main.vue | 16 +++ src/manager/MyData.vue | 10 ++ src/manager/header.vue | 71 +++++++++++ src/manager/manager.vue | 16 +++ src/router/index.js | 50 ++++++++ 23 files changed, 395 insertions(+), 1 deletion(-) create mode 100644 src/manager/Data/CarouselManagement.vue create mode 100644 src/manager/Data/DailyReportManage.vue create mode 100644 src/manager/Data/LogManage.vue create mode 100644 src/manager/Data/MessageManage.vue create mode 100644 src/manager/Data/NewsDisplay.vue create mode 100644 src/manager/Data/NewsInformationManagement.vue create mode 100644 src/manager/Data/PermissionsManage.vue create mode 100644 src/manager/Data/ProjectInformationManagement.vue create mode 100644 src/manager/Data/ProjectRecommendations.vue create mode 100644 src/manager/Data/RoleManage.vue create mode 100644 src/manager/Data/TeamInformationManagement.vue create mode 100644 src/manager/Data/TeamIntroduction.vue create mode 100644 src/manager/Data/UserManage.vue create mode 100644 src/manager/Data/UserRecommendations.vue create mode 100644 src/manager/LeftBar.vue create mode 100644 src/manager/Main.vue create mode 100644 src/manager/MyData.vue create mode 100644 src/manager/header.vue create mode 100644 src/manager/manager.vue diff --git a/package-lock.json b/package-lock.json index 27fb69d..9692cb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,8 @@ "dependencies": { "axios": "^1.6.2", "flowbite": "^2.2.1", + "p": "^0.2.0", + "view-ui-plus": "^1.3.15", "vue": "^3.3.11", "vue-router": "^4.2.5" }, @@ -817,6 +819,11 @@ "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", "dev": true }, + "node_modules/async-validator": { + "version": "3.5.2", + "resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-3.5.2.tgz", + "integrity": "sha512-8eLCg00W9pIRZSB781UUX/H6Oskmm8xloZfr09lz5bikRpBVDlJ3hRVuxxP1SxcwsEYfJ4IU8Q19Y8/893r3rQ==" + }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -875,6 +882,11 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "node_modules/batch-processor": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/batch-processor/-/batch-processor-1.0.0.tgz", + "integrity": "sha512-xoLQD8gmmR32MeuBHgH0Tzd5PuSZx71ZsbhVxOCRbgktZEPe4SQy7s9Z50uPp0F/f7iw2XmkHN2xkgbMfckMDA==" + }, "node_modules/binary-extensions": { "version": "2.2.0", "resolved": "https://mirrors.cloud.tencent.com/npm/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -1032,6 +1044,11 @@ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, + "node_modules/countup.js": { + "version": "1.9.3", + "resolved": "https://registry.npmmirror.com/countup.js/-/countup.js-1.9.3.tgz", + "integrity": "sha512-UHf2P/mFKaESqdPq+UdBJm/1y8lYdlcDd0nTZHNC8cxWoJwZr1Eldm1PpWui446vDl5Pd8PtRYkr3q6K4+Qa5A==" + }, "node_modules/cssesc": { "version": "3.0.0", "resolved": "https://mirrors.cloud.tencent.com/npm/cssesc/-/cssesc-3.0.0.tgz", @@ -1049,6 +1066,19 @@ "resolved": "https://mirrors.cloud.tencent.com/npm/csstype/-/csstype-3.1.3.tgz", "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" }, + "node_modules/dayjs": { + "version": "1.11.10", + "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.10.tgz", + "integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==" + }, + "node_modules/deepmerge": { + "version": "2.2.1", + "resolved": "https://registry.npmmirror.com/deepmerge/-/deepmerge-2.2.1.tgz", + "integrity": "sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -1075,6 +1105,14 @@ "integrity": "sha512-/bKPPcgZVUziECqDc+0HkT87+0zhaWSZHNXqF8FLd2lQcptpmUFwoCSWjCdOng9Gdq+afKArPdEg/0ZW461Eng==", "dev": true }, + "node_modules/element-resize-detector": { + "version": "1.2.4", + "resolved": "https://registry.npmmirror.com/element-resize-detector/-/element-resize-detector-1.2.4.tgz", + "integrity": "sha512-Fl5Ftk6WwXE0wqCgNoseKWndjzZlDCwuPTcoVZfCP9R3EHQF8qUtr3YUPNETegRBOKqQKPW3n4kiIWngGi8tKg==", + "dependencies": { + "batch-processor": "1.0.0" + } + }, "node_modules/esbuild": { "version": "0.19.10", "resolved": "https://mirrors.cloud.tencent.com/npm/esbuild/-/esbuild-0.19.10.tgz", @@ -1382,6 +1420,11 @@ "jiti": "bin/jiti.js" } }, + "node_modules/js-calendar": { + "version": "1.2.3", + "resolved": "https://registry.npmmirror.com/js-calendar/-/js-calendar-1.2.3.tgz", + "integrity": "sha512-dAA1/Zbp4+c5E+ARCVTIuKepXsNLzSYfzvOimiYD4S5eeP9QuplSHLcdhfqFSwyM1o1u6ku6RRRCyaZ0YAjiBw==" + }, "node_modules/lilconfig": { "version": "2.1.0", "resolved": "https://mirrors.cloud.tencent.com/npm/lilconfig/-/lilconfig-2.1.0.tgz", @@ -1397,6 +1440,16 @@ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "dev": true }, + "node_modules/lodash.chunk": { + "version": "4.2.0", + "resolved": "https://registry.npmmirror.com/lodash.chunk/-/lodash.chunk-4.2.0.tgz", + "integrity": "sha512-ZzydJKfUHJwHa+hF5X66zLFCBrWn5GeF28OHEr4WVWtNDXlQ/IjWKPBiikqKo2ne0+v6JgCgJ0GzJp8k8bHC7w==" + }, + "node_modules/lodash.throttle": { + "version": "4.1.1", + "resolved": "https://registry.npmmirror.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz", + "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==" + }, "node_modules/magic-string": { "version": "0.30.5", "resolved": "https://mirrors.cloud.tencent.com/npm/magic-string/-/magic-string-0.30.5.tgz", @@ -1521,6 +1574,14 @@ "node": ">=0.10.0" } }, + "node_modules/numeral": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/numeral/-/numeral-2.0.6.tgz", + "integrity": "sha512-qaKRmtYPZ5qdw4jWJD6bxEf1FJEqllJrwxCLIm0sQU/A7v2/czigzOb+C2uSiFsa9lBUzeH7M1oK+Q+OLxL3kA==", + "engines": { + "node": "*" + } + }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://mirrors.cloud.tencent.com/npm/object-assign/-/object-assign-4.1.1.tgz", @@ -1548,6 +1609,14 @@ "wrappy": "1" } }, + "node_modules/p": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/p/-/p-0.2.0.tgz", + "integrity": "sha512-+FO3CEcP1no7VLm9widissk+aKCXjdx3kH59TUe8rJdGttZ0wbIPGKwW81g3H7aoIoUcl+iUrhODM1zfYE9/Zg==", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://mirrors.cloud.tencent.com/npm/path-is-absolute/-/path-is-absolute-1.0.1.tgz", @@ -1598,6 +1667,12 @@ "node": ">= 6" } }, + "node_modules/popper.js": { + "version": "1.16.1", + "resolved": "https://registry.npmmirror.com/popper.js/-/popper.js-1.16.1.tgz", + "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", + "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1" + }, "node_modules/postcss": { "version": "8.4.32", "resolved": "https://mirrors.cloud.tencent.com/npm/postcss/-/postcss-8.4.32.tgz", @@ -1868,6 +1943,11 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/select": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/select/-/select-1.1.2.tgz", + "integrity": "sha512-OwpTSOfy6xSs1+pwcNrv0RBMOzI39Lp3qQKUTPVVPRjCdNa5JH/oPRiqsesIskK8TVgmRiHwO4KXlV2Li9dANA==" + }, "node_modules/source-map-js": { "version": "1.0.2", "resolved": "https://mirrors.cloud.tencent.com/npm/source-map-js/-/source-map-js-1.0.2.tgz", @@ -1968,6 +2048,11 @@ "node": ">=0.8" } }, + "node_modules/tinycolor2": { + "version": "1.6.0", + "resolved": "https://registry.npmmirror.com/tinycolor2/-/tinycolor2-1.6.0.tgz", + "integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==" + }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://mirrors.cloud.tencent.com/npm/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -2022,6 +2107,35 @@ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, + "node_modules/v-click-outside-x": { + "version": "3.7.1", + "resolved": "https://registry.npmmirror.com/v-click-outside-x/-/v-click-outside-x-3.7.1.tgz", + "integrity": "sha512-WmUgmcIXr9clVpm1AYS/FgHtcDicfnfoxgQCNg4O6vfk9GVnxA0vSqO321ogUo0b7czYTidj7fQENvWFMWOkUg==", + "engines": { + "node": ">=8.11.4", + "npm": "6.4.1" + } + }, + "node_modules/view-ui-plus": { + "version": "1.3.15", + "resolved": "https://registry.npmmirror.com/view-ui-plus/-/view-ui-plus-1.3.15.tgz", + "integrity": "sha512-dbi3uTk8twgtpino0QFIvCb3Gck135czbnvxs2M0lOmUQMKAK7GqJ3m8IobwyWXAxkoA1+Ek8QMeC3a+InOWpQ==", + "dependencies": { + "async-validator": "^3.3.0", + "countup.js": "^1.9.3", + "dayjs": "^1.11.0", + "deepmerge": "^2.2.1", + "element-resize-detector": "^1.2.0", + "js-calendar": "^1.2.3", + "lodash.chunk": "^4.2.0", + "lodash.throttle": "^4.1.1", + "numeral": "^2.0.6", + "popper.js": "^1.14.6", + "select": "^1.1.2", + "tinycolor2": "^1.4.1", + "v-click-outside-x": "^3.7.1" + } + }, "node_modules/vite": { "version": "5.0.10", "resolved": "https://mirrors.cloud.tencent.com/npm/vite/-/vite-5.0.10.tgz", diff --git a/package.json b/package.json index a56731a..9a03e23 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,8 @@ "dependencies": { "axios": "^1.6.2", "flowbite": "^2.2.1", + "p": "^0.2.0", + "view-ui-plus": "^1.3.15", "vue": "^3.3.11", "vue-router": "^4.2.5" }, diff --git a/src/main.js b/src/main.js index 534f296..0f1282b 100644 --- a/src/main.js +++ b/src/main.js @@ -2,11 +2,13 @@ import './assets/main.css' import 'flowbite'; import { createApp } from 'vue' +import ViewUIPlus from 'view-ui-plus' import App from './App.vue' import router from './router' +import 'view-ui-plus/dist/styles/viewuiplus.css' const app = createApp(App) app.use(router) - +app.use(ViewUIPlus) app.mount('#app') diff --git a/src/manager/Data/CarouselManagement.vue b/src/manager/Data/CarouselManagement.vue new file mode 100644 index 0000000..13c68f8 --- /dev/null +++ b/src/manager/Data/CarouselManagement.vue @@ -0,0 +1,3 @@ + + 轮播图管理 + \ No newline at end of file diff --git a/src/manager/Data/DailyReportManage.vue b/src/manager/Data/DailyReportManage.vue new file mode 100644 index 0000000..6522273 --- /dev/null +++ b/src/manager/Data/DailyReportManage.vue @@ -0,0 +1,3 @@ + + this is 日报消息管理 + \ No newline at end of file diff --git a/src/manager/Data/LogManage.vue b/src/manager/Data/LogManage.vue new file mode 100644 index 0000000..88b7e76 --- /dev/null +++ b/src/manager/Data/LogManage.vue @@ -0,0 +1,3 @@ + + this is 日志消息 + \ No newline at end of file diff --git a/src/manager/Data/MessageManage.vue b/src/manager/Data/MessageManage.vue new file mode 100644 index 0000000..06c311f --- /dev/null +++ b/src/manager/Data/MessageManage.vue @@ -0,0 +1,3 @@ + + this is 消息管理 + \ No newline at end of file diff --git a/src/manager/Data/NewsDisplay.vue b/src/manager/Data/NewsDisplay.vue new file mode 100644 index 0000000..039797e --- /dev/null +++ b/src/manager/Data/NewsDisplay.vue @@ -0,0 +1,3 @@ + + this is 消息展示 + \ No newline at end of file diff --git a/src/manager/Data/NewsInformationManagement.vue b/src/manager/Data/NewsInformationManagement.vue new file mode 100644 index 0000000..0b6fbff --- /dev/null +++ b/src/manager/Data/NewsInformationManagement.vue @@ -0,0 +1,3 @@ + + this is 新闻信息管理 + \ No newline at end of file diff --git a/src/manager/Data/PermissionsManage.vue b/src/manager/Data/PermissionsManage.vue new file mode 100644 index 0000000..d137151 --- /dev/null +++ b/src/manager/Data/PermissionsManage.vue @@ -0,0 +1,3 @@ + + this is permission + \ No newline at end of file diff --git a/src/manager/Data/ProjectInformationManagement.vue b/src/manager/Data/ProjectInformationManagement.vue new file mode 100644 index 0000000..804486a --- /dev/null +++ b/src/manager/Data/ProjectInformationManagement.vue @@ -0,0 +1,3 @@ + + this is 项目信息管理 + \ No newline at end of file diff --git a/src/manager/Data/ProjectRecommendations.vue b/src/manager/Data/ProjectRecommendations.vue new file mode 100644 index 0000000..2ae1bb7 --- /dev/null +++ b/src/manager/Data/ProjectRecommendations.vue @@ -0,0 +1,3 @@ + + this is 项目推荐 + \ No newline at end of file diff --git a/src/manager/Data/RoleManage.vue b/src/manager/Data/RoleManage.vue new file mode 100644 index 0000000..39f405e --- /dev/null +++ b/src/manager/Data/RoleManage.vue @@ -0,0 +1,3 @@ + + this role + \ No newline at end of file diff --git a/src/manager/Data/TeamInformationManagement.vue b/src/manager/Data/TeamInformationManagement.vue new file mode 100644 index 0000000..43022c0 --- /dev/null +++ b/src/manager/Data/TeamInformationManagement.vue @@ -0,0 +1,3 @@ + + this is 团队信息管理 + \ No newline at end of file diff --git a/src/manager/Data/TeamIntroduction.vue b/src/manager/Data/TeamIntroduction.vue new file mode 100644 index 0000000..7fdc7d9 --- /dev/null +++ b/src/manager/Data/TeamIntroduction.vue @@ -0,0 +1,3 @@ + + this is 团队简介 + \ No newline at end of file diff --git a/src/manager/Data/UserManage.vue b/src/manager/Data/UserManage.vue new file mode 100644 index 0000000..5499424 --- /dev/null +++ b/src/manager/Data/UserManage.vue @@ -0,0 +1,3 @@ + + this usermanage + \ No newline at end of file diff --git a/src/manager/Data/UserRecommendations.vue b/src/manager/Data/UserRecommendations.vue new file mode 100644 index 0000000..840b009 --- /dev/null +++ b/src/manager/Data/UserRecommendations.vue @@ -0,0 +1,3 @@ + + this is 用户推荐 + \ No newline at end of file diff --git a/src/manager/LeftBar.vue b/src/manager/LeftBar.vue new file mode 100644 index 0000000..cf4ac59 --- /dev/null +++ b/src/manager/LeftBar.vue @@ -0,0 +1,71 @@ + + + + + + + + + + + + 系统管理 + + 用户管理 + 角色管理 + 权限管理 + 日志管理 + 日报管理 + 消息管理 + + + + + 首页管理 + + 轮播图管理 + 团队简介 + 项目推荐 + 新闻展示 + 用户推荐 + + + + + 信息管理 + + 项目信息管理 + 团队信息管理 + 新闻信息管理 + + + + + + + + + diff --git a/src/manager/Main.vue b/src/manager/Main.vue new file mode 100644 index 0000000..0e5cdd2 --- /dev/null +++ b/src/manager/Main.vue @@ -0,0 +1,16 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/manager/MyData.vue b/src/manager/MyData.vue new file mode 100644 index 0000000..6fd8edb --- /dev/null +++ b/src/manager/MyData.vue @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/src/manager/header.vue b/src/manager/header.vue new file mode 100644 index 0000000..8b1565e --- /dev/null +++ b/src/manager/header.vue @@ -0,0 +1,71 @@ + + + + + + + + 管理中心界面 + + + + + Item 1 + + + + Item 2 + + + + Item 3 + + + + Item 4 + + + + + + + + + diff --git a/src/manager/manager.vue b/src/manager/manager.vue new file mode 100644 index 0000000..03e10f9 --- /dev/null +++ b/src/manager/manager.vue @@ -0,0 +1,16 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index c1ad48c..a9d250f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -24,6 +24,56 @@ const router = createRouter({ name:'success', component:()=>import('../components/success.vue') }, + { + path:'/manager', + name:'manager', + component:()=>import('../manager/manager.vue'), + children:[{ + path:'/manager/UserManage', + component:()=>import('../manager/Data/UserManage.vue') + }, + { + path:'/manager/RoleManage', + component:()=>import('../manager/Data/RoleManage.vue') + }, { + path:'/manager/PermissionsManage', + component:()=>import('../manager/Data/PermissionsManage.vue') + }, { + path:'/manager/LogManage', + component:()=>import('../manager/Data/LogManage.vue') + }, { + path:'/manager/MessageManage', + component:()=>import('../manager/Data/MessageManage.vue') + }, { + path:'/manager/DailyReportManage', + component:()=>import('../manager/Data/DailyReportManage.vue') + }, { + path:'/manager/CarouselManagement', + component:()=>import('../manager/Data/CarouselManagement.vue') + }, { + path:'/manager/TeamIntroduction', + component:()=>import('../manager/Data/TeamIntroduction.vue') + },{ + path:'/manager/ProjectRecommendations', + component:()=>import('../manager/Data/ProjectRecommendations.vue') + }, { + path:'/manager/NewsDisplay', + component:()=>import('../manager/Data/NewsDisplay.vue') + }, { + path:'/manager/UserRecommendations', + component:()=>import('../manager/Data/UserRecommendations.vue') + }, { + path:'/manager/ProjectInformationManagement', + component:()=>import('../manager/Data/ProjectInformationManagement.vue') + }, { + path:'/manager/TeamInformationManagement', + component:()=>import('../manager/Data/TeamInformationManagement.vue') + }, { + path:'/manager/NewsInformationManagement', + component:()=>import('../manager/Data/NewsInformationManagement.vue') + }, + ] + } ] })