From 979c1d8110ac84e20f2fbfc8511fdad61ad31f64 Mon Sep 17 00:00:00 2001 From: xiaomlove <353856593@qq.com> Date: Thu, 6 May 2021 19:37:07 +0800 Subject: [PATCH] admin-add-setting --- admin/src/App.vue | 3 + admin/src/router/index.js | 6 +- admin/src/styles/common.scss | 3 + admin/src/utils/index.js | 1 + admin/src/views/setting/form-basic.vue | 130 ++++++++ admin/src/views/setting/form-main.vue | 418 +++++++++++++++++++++++++ admin/src/views/setting/form.vue | 225 +++++++++++++ admin/src/views/setting/index.vue | 74 +++++ 8 files changed, 859 insertions(+), 1 deletion(-) create mode 100644 admin/src/views/setting/form-basic.vue create mode 100644 admin/src/views/setting/form-main.vue create mode 100644 admin/src/views/setting/form.vue create mode 100644 admin/src/views/setting/index.vue diff --git a/admin/src/App.vue b/admin/src/App.vue index c96d4aea..90eb1ae7 100644 --- a/admin/src/App.vue +++ b/admin/src/App.vue @@ -38,6 +38,9 @@ Exam user + + Setting + diff --git a/admin/src/router/index.js b/admin/src/router/index.js index 7e21cd7f..c928e27e 100644 --- a/admin/src/router/index.js +++ b/admin/src/router/index.js @@ -54,7 +54,11 @@ const router = createRouter({ name: 'agent-allow-form', component: () => import('../views/agent-allow/form.vue') }, - + { + path: '/setting', + name: 'setting', + component: () => import('../views/setting/index.vue') + }, ] }) diff --git a/admin/src/styles/common.scss b/admin/src/styles/common.scss index 754257f3..d2fdccc0 100644 --- a/admin/src/styles/common.scss +++ b/admin/src/styles/common.scss @@ -2,3 +2,6 @@ display: flex; justify-content: space-between; } +.nexus-help-text { + color: #aaa; +} diff --git a/admin/src/utils/index.js b/admin/src/utils/index.js index 953c49a0..15fe508e 100644 --- a/admin/src/utils/index.js +++ b/admin/src/utils/index.js @@ -46,4 +46,5 @@ export const pathMap = { 'exam': 'Exam', 'exam-form': 'Exam form', 'exam-user': 'Exam user', + 'setting': "Setting", } diff --git a/admin/src/views/setting/form-basic.vue b/admin/src/views/setting/form-basic.vue new file mode 100644 index 00000000..7f68be20 --- /dev/null +++ b/admin/src/views/setting/form-basic.vue @@ -0,0 +1,130 @@ + + + + + diff --git a/admin/src/views/setting/form-main.vue b/admin/src/views/setting/form-main.vue new file mode 100644 index 00000000..acb6c119 --- /dev/null +++ b/admin/src/views/setting/form-main.vue @@ -0,0 +1,418 @@ + + + + + diff --git a/admin/src/views/setting/form.vue b/admin/src/views/setting/form.vue new file mode 100644 index 00000000..d8eb1ab0 --- /dev/null +++ b/admin/src/views/setting/form.vue @@ -0,0 +1,225 @@ + + + + + diff --git a/admin/src/views/setting/index.vue b/admin/src/views/setting/index.vue new file mode 100644 index 00000000..a8b0d9c2 --- /dev/null +++ b/admin/src/views/setting/index.vue @@ -0,0 +1,74 @@ + + + + +