From 38a6a1c0ce7588cd07d9e97438a99385989984a4 Mon Sep 17 00:00:00 2001 From: liuhua <3207586618@qq.com> Date: Fri, 30 Jul 2021 16:50:14 +0700 Subject: [PATCH 1/6] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=BA=86=E6=B7=BB=E5=8A=A0=E5=92=8C=E4=BF=AE=E6=94=B9=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=85=AC=E5=8F=B8=E7=AE=80=E4=BB=8B=E5=92=8C?= =?UTF-8?q?=E5=85=B3=E4=BA=8E=E6=88=91=E4=BB=AC=E7=9A=84=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cms-admin-frontend/src/components/Layout.vue | 4 ++ cms-admin-frontend/src/router/routes.js | 21 +++++++-- cms-admin-frontend/src/views/about.vue | 15 ++++++ cms-admin-frontend/src/views/users/index.vue | 48 +++++++++++--------- 4 files changed, 63 insertions(+), 25 deletions(-) create mode 100644 cms-admin-frontend/src/views/about.vue diff --git a/cms-admin-frontend/src/components/Layout.vue b/cms-admin-frontend/src/components/Layout.vue index 8640e74..02833f6 100644 --- a/cms-admin-frontend/src/components/Layout.vue +++ b/cms-admin-frontend/src/components/Layout.vue @@ -26,6 +26,7 @@ + @@ -177,4 +178,7 @@ export default { justify-content: center; font-size: 12px; } +.keji{ + margin-left: 45px; +} diff --git a/cms-admin-frontend/src/router/routes.js b/cms-admin-frontend/src/router/routes.js index ee34fbb..239e97f 100644 --- a/cms-admin-frontend/src/router/routes.js +++ b/cms-admin-frontend/src/router/routes.js @@ -37,7 +37,8 @@ const routes = [ { path: 'Webset', meta: { - title: '系统管理' + title: '系统管理', + icon: 'el-icon-setting' }, component: () => import('../views/sys/Webset') } @@ -137,10 +138,24 @@ const routes = [ }, { path: '/about', + component: Layout, meta: { - title: '关于我们' + title: '关于我们', + icon: 'el-icon-user-solid' }, - component: Layout + alwaysShow: true, + children: [ + { + path: 'about', + meta: { + title: '关于我们', + icon: 'el-icon-user-solid' + }, + component: () => import('../views/about') + + } + ] + }, // 这个路由一定要放在最后,匹配不到上面的路由,就匹配404路由 diff --git a/cms-admin-frontend/src/views/about.vue b/cms-admin-frontend/src/views/about.vue new file mode 100644 index 0000000..ef6df73 --- /dev/null +++ b/cms-admin-frontend/src/views/about.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/cms-admin-frontend/src/views/users/index.vue b/cms-admin-frontend/src/views/users/index.vue index c96c179..cad9d80 100644 --- a/cms-admin-frontend/src/views/users/index.vue +++ b/cms-admin-frontend/src/views/users/index.vue @@ -62,8 +62,8 @@ - - + + -- Gitee From 6ce9a2d4fe1fc7de5d7a90771596ae57749e1097 Mon Sep 17 00:00:00 2001 From: liuhua <3207586618@qq.com> Date: Sat, 31 Jul 2021 08:05:57 +0700 Subject: [PATCH 2/6] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E6=9C=AC?= =?UTF-8?q?=E6=9C=BA=E5=9C=B0=E5=9D=80=E7=9A=84=E5=B0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CMS-Admin.Backend.Api/Data/AdminDb.cs | 15 +++++++++++++-- cms-admin-frontend/src/views/about.vue | 16 +++++++++++++++- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/CMS-admin-Backend/CMS-Admin.Backend.Api/Data/AdminDb.cs b/CMS-admin-Backend/CMS-Admin.Backend.Api/Data/AdminDb.cs index 0144a2e..2797ebd 100644 --- a/CMS-admin-Backend/CMS-Admin.Backend.Api/Data/AdminDb.cs +++ b/CMS-admin-Backend/CMS-Admin.Backend.Api/Data/AdminDb.cs @@ -29,8 +29,12 @@ namespace CMS_Admin.Backend.Api.Db - protected override void OnConfiguring(DbContextOptionsBuilder builder) - => builder.UseSqlServer(@"server=LAPTOP-NT2O3C2R\SQLEXPRESS;database=CMS;uid=xiaoyou;pwd=5a2699yu;"); + // protected override void OnConfiguring(DbContextOptionsBuilder builder) + // => builder.UseSqlServer(@"server=LAPTOP-NT2O3C2R\SQLEXPRESS;database=CMS;uid=xiaoyou;pwd=5a2699yu;"); + + + // protected override void OnConfiguring(DbContextOptionsBuilder builder) + // => builder.UseSqlServer(@"server=LAPTOP-NT2O3C2R\SQLEXPRESS;database=CMS;uid=xiaoyou;pwd=5a2699yu;"); @@ -41,5 +45,12 @@ namespace CMS_Admin.Backend.Api.Db // protected override void OnConfiguring(DbContextOptionsBuilder builder) // => builder.UseSqlServer(@"server=DESKTOP-B0M4KE7;database=CMS;uid=sa;pwd=123456;"); + + // 刘 + protected override void OnConfiguring(DbContextOptionsBuilder builder) + => builder.UseSqlServer(@"server=LAPTOP-47B7TGQ4\SQLEXPRESS;database=CMS;uid=sa;pwd=123456;"); + + + } } \ No newline at end of file diff --git a/cms-admin-frontend/src/views/about.vue b/cms-admin-frontend/src/views/about.vue index ef6df73..81a68ae 100644 --- a/cms-admin-frontend/src/views/about.vue +++ b/cms-admin-frontend/src/views/about.vue @@ -1,6 +1,10 @@ @@ -12,4 +16,14 @@ export default { -- Gitee From 40ea04bc3c982021ac13979f228319acee7f5d8e Mon Sep 17 00:00:00 2001 From: liuhua <3207586618@qq.com> Date: Sat, 31 Jul 2021 10:00:03 +0700 Subject: [PATCH 3/6] =?UTF-8?q?=E5=85=B3=E4=BA=8E=E6=88=91=E4=BB=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cms-admin-frontend/src/views/about.vue | 94 ++++++++++++++++++++++---- 1 file changed, 79 insertions(+), 15 deletions(-) diff --git a/cms-admin-frontend/src/views/about.vue b/cms-admin-frontend/src/views/about.vue index 81a68ae..b480d9e 100644 --- a/cms-admin-frontend/src/views/about.vue +++ b/cms-admin-frontend/src/views/about.vue @@ -1,29 +1,93 @@ -- Gitee From 167166e6da1f9133e73a71ae10e1be8d0ca097b3 Mon Sep 17 00:00:00 2001 From: liuhua <3207586618@qq.com> Date: Sat, 31 Jul 2021 11:12:33 +0700 Subject: [PATCH 4/6] =?UTF-8?q?=E5=85=B3=E4=BA=8E=E6=88=91=E4=BB=AC?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=BC=96=E8=BE=91=E5=A4=A7=E4=BD=93=E5=AE=8C?= =?UTF-8?q?=E6=88=90=EF=BC=8C=E6=9C=89=E5=BE=85=E4=BF=AE=E6=94=B9=E7=BB=86?= =?UTF-8?q?=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cms-admin-frontend/src/views/about.vue | 110 ++++++++++++++++--------- 1 file changed, 69 insertions(+), 41 deletions(-) diff --git a/cms-admin-frontend/src/views/about.vue b/cms-admin-frontend/src/views/about.vue index b480d9e..03e9197 100644 --- a/cms-admin-frontend/src/views/about.vue +++ b/cms-admin-frontend/src/views/about.vue @@ -1,43 +1,71 @@ @@ -62,32 +90,32 @@ export default {} /* 内容区 */ .content { - padding-top: 20px; + background-color: #ffffff; + margin-top: 10px; } -.contents{ - /* background-color:#d7def3; */ + +.filleted { + border-radius: 15px; + background-color: #def0d0; } /* 底部版权信息 */ .bg-purple-darks { /* background: #eeee; */ - background-color:#000000; - + background-color: #000000; } .grid-contents { border-radius: 4px; min-height: 150px; - margin-top: 270px; - + margin-top: 100px; } -.pod_bottom{ +.pod_bottom { text-align: center; line-height: 20px; - color:#919399; + color: #919399; font-size: 14px; - } -- Gitee From 964e75f51ebf1a60ff719b54d5beac5f661902a1 Mon Sep 17 00:00:00 2001 From: liuhua <3207586618@qq.com> Date: Sat, 31 Jul 2021 14:08:30 +0700 Subject: [PATCH 5/6] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86=E5=85=B3?= =?UTF-8?q?=E4=BA=8E=E6=88=91=E4=BB=AC=E7=9A=84=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cms-admin-frontend/src/views/about.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/cms-admin-frontend/src/views/about.vue b/cms-admin-frontend/src/views/about.vue index 03e9197..904e9e1 100644 --- a/cms-admin-frontend/src/views/about.vue +++ b/cms-admin-frontend/src/views/about.vue @@ -23,11 +23,14 @@ height="300px" style="padding: 0px 50px" /> + + 公司办公环境 + Date: Sat, 31 Jul 2021 14:31:22 +0700 Subject: [PATCH 6/6] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=90=88=E5=B9=B6?= =?UTF-8?q?=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CMS-Admin.Backend.Api/Data/AdminDb.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/CMS-admin-Backend/CMS-Admin.Backend.Api/Data/AdminDb.cs b/CMS-admin-Backend/CMS-Admin.Backend.Api/Data/AdminDb.cs index effce69..8386e70 100644 --- a/CMS-admin-Backend/CMS-Admin.Backend.Api/Data/AdminDb.cs +++ b/CMS-admin-Backend/CMS-Admin.Backend.Api/Data/AdminDb.cs @@ -33,10 +33,6 @@ namespace CMS_Admin.Backend.Api.Db // => builder.UseSqlServer(@"server=LAPTOP-NT2O3C2R\SQLEXPRESS;database=CMS;uid=xiaoyou;pwd=5a2699yu;"); - // protected override void OnConfiguring(DbContextOptionsBuilder builder) - // => builder.UseSqlServer(@"server=LAPTOP-NT2O3C2R\SQLEXPRESS;database=CMS;uid=xiaoyou;pwd=5a2699yu;"); - - protected override void OnModelCreating(ModelBuilder model) { @@ -174,12 +170,10 @@ namespace CMS_Admin.Backend.Api.Db - // protected override void OnConfiguring(DbContextOptionsBuilder builder) // => builder.UseSqlServer(@"server=.;database=CMS;uid=sa;pwd=123456;"); -<<<<<<< HEAD // protected override void OnConfiguring(DbContextOptionsBuilder builder) // => builder.UseSqlServer(@"server=DESKTOP-B0M4KE7;database=CMS;uid=sa;pwd=123456;"); @@ -190,10 +184,5 @@ namespace CMS_Admin.Backend.Api.Db -======= - - // protected override void OnConfiguring(DbContextOptionsBuilder builder) - // => builder.UseSqlServer(@"server=DESKTOP-B0M4KE7;database=CMS;uid=sa;pwd=123456;"); ->>>>>>> 6cbfbc8e7761c84028b47eb304dd5afd63e24020 } } \ No newline at end of file -- Gitee