diff --git a/public/color.less b/public/color.less index f35eea8..fb50e1b 100644 --- a/public/color.less +++ b/public/color.less @@ -5091,9 +5091,6 @@ form .ant-upload { .ant-layout { background: #f0f2f5; } -.ant-layout-header { - background: #001529; -} .ant-layout-footer { background: #f0f2f5; color: rgba(0, 0, 0, 0.65); diff --git a/src/assets/img/MenuSecDefault.png b/src/assets/img/MenuSecDefault.png index 4030677..62e746f 100644 Binary files a/src/assets/img/MenuSecDefault.png and b/src/assets/img/MenuSecDefault.png differ diff --git a/src/assets/img/analysisBG.png b/src/assets/img/analysisBG.png new file mode 100644 index 0000000..b16929b Binary files /dev/null and b/src/assets/img/analysisBG.png differ diff --git a/src/assets/img/buttonbg.png b/src/assets/img/buttonbg.png index f2a2456..277a79f 100644 Binary files a/src/assets/img/buttonbg.png and b/src/assets/img/buttonbg.png differ diff --git a/src/assets/img/header_bg.png b/src/assets/img/header_bg.png index ed4d432..710131f 100644 Binary files a/src/assets/img/header_bg.png and b/src/assets/img/header_bg.png differ diff --git a/src/assets/img/layoutbg.png b/src/assets/img/layoutbg.png index 603a0a8..02e82ae 100644 Binary files a/src/assets/img/layoutbg.png and b/src/assets/img/layoutbg.png differ diff --git a/src/assets/img/leftMenu.png b/src/assets/img/leftMenu.png new file mode 100644 index 0000000..de526b7 Binary files /dev/null and b/src/assets/img/leftMenu.png differ diff --git a/src/assets/img/main-logo.png b/src/assets/img/main-logo.png index 0738578..fa38917 100644 Binary files a/src/assets/img/main-logo.png and b/src/assets/img/main-logo.png differ diff --git a/src/assets/img/menuSelect.png b/src/assets/img/menuSelect.png index 3f57335..3214c32 100644 Binary files a/src/assets/img/menuSelect.png and b/src/assets/img/menuSelect.png differ diff --git a/src/assets/img/任务管理.png b/src/assets/img/任务管理.png index 897d165..f35ecab 100644 Binary files a/src/assets/img/任务管理.png and b/src/assets/img/任务管理.png differ diff --git a/src/assets/img/数据导入.png b/src/assets/img/数据导入.png index d6a68d7..0db0c3d 100644 Binary files a/src/assets/img/数据导入.png and b/src/assets/img/数据导入.png differ diff --git a/src/assets/img/数据接入.png b/src/assets/img/数据接入.png index 08e82a7..c0b4ebd 100644 Binary files a/src/assets/img/数据接入.png and b/src/assets/img/数据接入.png differ diff --git a/src/assets/img/数据统计.png b/src/assets/img/数据统计.png index 11e2f88..936f6c5 100644 Binary files a/src/assets/img/数据统计.png and b/src/assets/img/数据统计.png differ diff --git a/src/assets/img/系统管理.png b/src/assets/img/系统管理.png index 30f9f89..aa9fe4a 100644 Binary files a/src/assets/img/系统管理.png and b/src/assets/img/系统管理.png differ diff --git a/src/assets/less/Suless.less b/src/assets/less/Suless.less index ace6a38..25d664f 100644 --- a/src/assets/less/Suless.less +++ b/src/assets/less/Suless.less @@ -1,14 +1,14 @@ @bordercolor : rgb(98,133,151); @headercolor : #ffffff; @backcolor : #ffffff; -@inpuitbordercolor: rgb(45,103,132); -@inpuitbackcolor : rgb(4,27,43); +@inpuitbordercolor: #C3C3C3; +@inpuitbackcolor : #C3C3C346; @labelDeaultColor : rgb(98,133,151); @defaultWhiteColor: rgb(98,133,151); @fontfamily : 'MyCustomFont3', sans-serif; -@tableheadColor : #E5E8EB; -@tableheadBgColor : linear-gradient(180deg, rgb(20,108,173),rgb(11,57,90)); -@tableColor : rgb(98,133,151); +@tableheadColor : #363F56; +@tableheadBgColor : linear-gradient(180deg, #D6DAE2,#B0B6C2); +@tableColor : #6C758B; @font-face { font-family: 'MyCustomFont1'; @@ -41,7 +41,7 @@ body{ } .echartsTitle{ height: 36px; - background: linear-gradient(90deg, rgb(9,62,81),rgb(9,62,81),rgb(8,43,62)); + background: linear-gradient(90deg, #788095,#c5cad6); color: #ffffff; font-size: 16px; line-height: 34px; @@ -56,9 +56,9 @@ body{ .linese{ width: 100%; - height: 2px; + height: 1px; margin: 10px 0; - background: linear-gradient(90deg, rgb(49,112,157) 20px,rgb(26,63,86) 20px,rgb(26,63,86) calc(100% - 20px),rgb(49,112,157) calc(100% - 20px)); + background: linear-gradient(90deg, #1671DB 20px,#a2c6f1 20px,#a2c6f1 calc(100% - 20px),#1671DB calc(100% - 20px)); } /* 滚动条优化 start */ @@ -127,11 +127,24 @@ body { } .ant-layout-header { - // background-image: url('~@/assets/img/header_bg.png') !important; - // background-size: 100% 100%; background: transparent !important; height: 130px !important; } +.header-nowTime{ + background-image: url('~@/assets/img/header_bg.png') !important; + background-size: 100% 66px; + background-repeat: no-repeat !important; + + color: #fff; + font-family: 'Microsoft YaHei'; + font-size: 28px; + letter-spacing: 3px; + font-weight: 700; + height:70px; + img{ + margin-right: 10px; + } +} .signdiv, @@ -260,9 +273,6 @@ ul li { color : @tableColor !important; } -.table-page-search-wrapper { - padding: 30px 10px 10px 20px; -} @@ -296,6 +306,12 @@ ul li { background-color: transparent !important; } +.ant-menu.ant-menu-dark .ant-menu-item-selected, +.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected { + background-color: transparent !important; + background: linear-gradient(180deg, transparent 5px,#11B3FF 5px,#1E30A2 45px,transparent 45px); +} + .ant-radio-inner, .ant-checkbox-inner { border-color: @bordercolor !important; @@ -685,7 +701,7 @@ textarea, .ant-table-content .ant-table-thead>tr>th, .ant-table-content .ant-table-tbody>tr>td { border-right : 0 !important; - border-bottom: 1px solid #31343d !important; + border-bottom: 0 solid #31343d !important; line-height : 22px; background: @tableheadBgColor; } @@ -815,15 +831,11 @@ textarea, border-bottom: none !important; } -.ant-menu-item>a>span, -.ant-menu-submenu { - color: rgb(28,204,253) !important; -} .ant-menu-item-selected>a>span, .ant-menu-item-active>a>span, .ant-menu-submenu:hover, -.ant-menu-submenu-selected .ant-menu-submenu-title, +.ant-menu-submenu-title, .ant-menu-submenu-title:hover { color: @headercolor !important; } @@ -838,18 +850,34 @@ textarea, background: transparent !important; } +.ant-menu{ + border-radius: 0 !important; + box-shadow: none !important; + border-bottom: 1px dotted #00CBFF; +} +.ant-menu-submenu, .ant-menu-submenu-inline +{ + transition: 0 !important; + +} .ant-menu-vertical .ant-menu-item, .ant-menu-submenu.ant-menu-submenu-vertical { - background-image: url('~@/assets/img/MenuSecDefault.png'); + // background-image: url('~@/assets/img/MenuSecDefault.png'); background-size: 100% 100%; - width : 165px !important; - height : 40px !important; + width : 263px !important; + height : 50px !important; margin-bottom: 0 !important; margin-top : -1px !important; + line-height: 50px !important; text-align: left; float: left; margin-right: 20px; - padding: 0 0 0 10px !important; + padding: 0 0 0 20px !important; + border-top: 1px dotted #00CBFF; +} +.ant-menu-item > a > span +{ + color: #ffffff !important; } .ant-menu-vertical .ant-menu-submenu-title { @@ -860,7 +888,7 @@ textarea, .ant-menu-submenu-vertical.ant-menu-submenu-open, .ant-menu-vertical .ant-menu-item-selected, .ant-menu-vertical .ant-menu-item-active { - background-image: url('~@/assets/img/MenuSecSelect.png'); + // background-image: url('~@/assets/img/MenuSecSelect.png'); background-size: 100% 100%; } @@ -875,13 +903,13 @@ textarea, } .ant-modal-content{ - background-image: url('~@/assets/img/文件上传.png') !important; + // background-image: url('~@/assets/img/文件上传.png') !important; background-size: 100% 100%; - background-color: transparent !important; + background-color: #ffffff !important; } .ant-modal-header{ - background: transparent !important; + background: #1671DB !important; border-bottom: none !important; } .ant-modal-title{ @@ -1051,7 +1079,7 @@ tr.ant-table-expanded-row:hover { .ant-table-thead>tr>th, .ant-table-tbody>tr>td { border-right : 0px solid #096A87 !important; - border-bottom: 1px solid rgb(10,49,75) !important; + border-bottom: 1px solid #1671DB48 !important; } .ant-table-tbody>tr>td { diff --git a/src/components/menu/SideMenu.vue b/src/components/menu/SideMenu.vue index 22dd722..e01c8ff 100644 --- a/src/components/menu/SideMenu.vue +++ b/src/components/menu/SideMenu.vue @@ -1,7 +1,7 @@ @@ -217,14 +220,6 @@ export default { height: 64px; line-height: 64px; } -.header-nowTime { - color: #fff; - font-family: 'Microsoft YaHei'; - font-size: 28px; - letter-spacing: 3px; - font-weight: 700; - height:70px; -} .header-index-right{ position: absolute; right: 10px; diff --git a/src/components/page/GlobalLayout.vue b/src/components/page/GlobalLayout.vue index 11b528e..602638f 100644 --- a/src/components/page/GlobalLayout.vue +++ b/src/components/page/GlobalLayout.vue @@ -92,7 +92,8 @@ export default { //this.menus = this.mainRouters.find((item) => item.path === '/').children; // var cc = this.permissionMenuList.shift() this.menus = this.permissionMenuList - console.log('顶部菜单',this.permissionMenuList) + // console.log('顶部菜单',this.permissionMenuList) + this.collapsed=!this.sidebarOpened; // 根据后台配置菜单,重新排序加载路由信息 //console.log('----加载菜单逻辑----') //console.log(this.mainRouters) @@ -135,7 +136,6 @@ export default { }, } - diff --git a/src/components/page/PageHeader.vue b/src/components/page/PageHeader.vue index 7924b9e..de0af8d 100644 --- a/src/components/page/PageHeader.vue +++ b/src/components/page/PageHeader.vue @@ -1,14 +1,14 @@