Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a5e0414e
authored
2023-03-22 13:18:51 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:样式修改
1 parent
d91059fa
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
75 additions
and
122 deletions
src/components/Popup/index.vue
src/image/icons/svg/zhcx.svg
src/image/icons/svg/zsgl.svg
src/layout/components/Navbar.vue
src/layout/components/Sidebar/sidebarLeft.vue
src/layout/components/Sidebar/sidebarRight.vue
src/layout1/components/AppMain.vue
src/layout1/components/Navbar.vue
src/layout1/components/Sidebar/Item.vue
src/styles/_themes.scss
src/styles/jgPublic.scss
src/styles/sbElement-ui.scss
src/styles/sbSidebar.scss
src/styles/variables.scss
src/components/Popup/index.vue
View file @
a5e0414
...
...
@@ -141,7 +141,6 @@ export default {
.ls-title
{
padding
:
10px
;
color
:
#ffffff
;
//
background
:
linear-gradient
(
90deg
,
#1D66DC
0%
,
#081B56
100%
);
font-size
:
16px
;
}
...
...
src/image/icons/svg/zhcx.svg
View file @
a5e0414
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1660118828860"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2768"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"16"
height=
"16"
><defs><style
type=
"text/css"
>
@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path
d=
"M889.898667 98.730667c16.170667 0 29.269333 13.098667 29.269333 29.269333v719.232a114.602667 114.602667 0 0 1-114.602667 114.602667H128a71.936 71.936 0 0 1-71.936-71.936V213.333333A114.602667 114.602667 0 0 1 170.666667 98.730667z m-29.269334 58.496H170.666667c-30.976 0-56.064 25.173333-56.064 56.106666v676.565334c0 7.424 5.973333 13.397333 13.397333 13.397333h676.565333c30.976 0 56.064-25.088 56.064-56.064V157.226667zM597.333333 457.173333a146.304 146.304 0 0 1 134.826667 203.093334l68.693333 68.778666a29.269333 29.269333 0 0 1-37.717333 44.458667l-3.626667-3.114667-61.184-61.141333A146.304 146.304 0 1 1 597.333333 457.130667z m-219.434666 244.992a29.269333 29.269333 0 0 1 4.309333 58.197334l-4.266667 0.341333h-146.346666a29.269333 29.269333 0 0 1-4.266667-58.197333l4.266667-0.341334h146.346666zM597.333333 515.669333a87.765333 87.765333 0 1 0 0 175.530667 87.765333 87.765333 0 0 0 0-175.530667z m-219.434666 3.626667a29.269333 29.269333 0 0 1 4.309333 58.197333l-4.266667 0.341334h-146.346666a29.269333 29.269333 0 0 1-4.266667-58.197334l4.266667-0.341333h146.346666zM743.68 299.946667a29.269333 29.269333 0 0 1 4.266667 58.197333l-4.266667 0.298667h-512a29.269333 29.269333 0 0 1-4.352-58.197334l4.352-0.298666h512z"
fill=
"#ffffff"
p-id=
"2769"
></path></svg>
\ No newline at end of file
</style></defs><path
d=
"M889.898667 98.730667c16.170667 0 29.269333 13.098667 29.269333 29.269333v719.232a114.602667 114.602667 0 0 1-114.602667 114.602667H128a71.936 71.936 0 0 1-71.936-71.936V213.333333A114.602667 114.602667 0 0 1 170.666667 98.730667z m-29.269334 58.496H170.666667c-30.976 0-56.064 25.173333-56.064 56.106666v676.565334c0 7.424 5.973333 13.397333 13.397333 13.397333h676.565333c30.976 0 56.064-25.088 56.064-56.064V157.226667zM597.333333 457.173333a146.304 146.304 0 0 1 134.826667 203.093334l68.693333 68.778666a29.269333 29.269333 0 0 1-37.717333 44.458667l-3.626667-3.114667-61.184-61.141333A146.304 146.304 0 1 1 597.333333 457.130667z m-219.434666 244.992a29.269333 29.269333 0 0 1 4.309333 58.197334l-4.266667 0.341333h-146.346666a29.269333 29.269333 0 0 1-4.266667-58.197333l4.266667-0.341334h146.346666zM597.333333 515.669333a87.765333 87.765333 0 1 0 0 175.530667 87.765333 87.765333 0 0 0 0-175.530667z m-219.434666 3.626667a29.269333 29.269333 0 0 1 4.309333 58.197333l-4.266667 0.341334h-146.346666a29.269333 29.269333 0 0 1-4.266667-58.197334l4.266667-0.341333h146.346666zM743.68 299.946667a29.269333 29.269333 0 0 1 4.266667 58.197333l-4.266667 0.298667h-512a29.269333 29.269333 0 0 1-4.352-58.197334l4.352-0.298666h512z"
p-id=
"2769"
></path></svg>
\ No newline at end of file
...
...
src/image/icons/svg/zsgl.svg
View file @
a5e0414
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1660118877999"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2952"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"16"
height=
"16"
><defs><style
type=
"text/css"
>
@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path
d=
"M779.008 56.064c14.72 0 26.88 10.837333 28.970667 24.96l0.298666 4.309333v692.181334c0 14.72-10.837333 26.88-24.917333 28.970666l-4.352 0.298667H229.632a29.269333 29.269333 0 0 1-4.352-58.197333l4.352-0.298667 520.106667-0.042667V114.56H170.666667c-29.013333 0-52.906667 22.101333-55.808 50.346667L114.602667 170.666667l-0.042667 689.962666H810.666667c29.013333 0 52.906667-22.058667 55.808-50.346666l0.256-5.717334V262.528a29.269333 29.269333 0 0 1 58.197333-4.309333l0.341333 4.309333v542.037333a114.602667 114.602667 0 0 1-107.349333 114.346667l-7.253333 0.256H85.333333a29.269333 29.269333 0 0 1-28.928-24.96l-0.341333-4.266667V170.666667A114.602667 114.602667 0 0 1 163.413333 56.32L170.666667 56.064h608.341333z m-236.544 219.434667c10.112 0 19.456 5.205333 24.832 13.738666l91.434667 146.304a29.269333 29.269333 0 0 1 0 31.018667l-91.434667 146.261333a29.269333 29.269333 0 0 1-24.832 13.781334H359.68a29.269333 29.269333 0 0 1-24.832-13.781334l-91.434667-146.261333a29.269333 29.269333 0 0 1 0-31.018667l91.434667-146.304a29.269333 29.269333 0 0 1 24.832-13.738666z m-16.213333 58.496H375.893333l-73.173333 117.034666 73.173333 117.034667h150.357334l73.173333-117.034667-73.173333-117.034666z"
fill=
"#ffffff"
p-id=
"2953"
></path></svg>
\ No newline at end of file
</style></defs><path
d=
"M779.008 56.064c14.72 0 26.88 10.837333 28.970667 24.96l0.298666 4.309333v692.181334c0 14.72-10.837333 26.88-24.917333 28.970666l-4.352 0.298667H229.632a29.269333 29.269333 0 0 1-4.352-58.197333l4.352-0.298667 520.106667-0.042667V114.56H170.666667c-29.013333 0-52.906667 22.101333-55.808 50.346667L114.602667 170.666667l-0.042667 689.962666H810.666667c29.013333 0 52.906667-22.058667 55.808-50.346666l0.256-5.717334V262.528a29.269333 29.269333 0 0 1 58.197333-4.309333l0.341333 4.309333v542.037333a114.602667 114.602667 0 0 1-107.349333 114.346667l-7.253333 0.256H85.333333a29.269333 29.269333 0 0 1-28.928-24.96l-0.341333-4.266667V170.666667A114.602667 114.602667 0 0 1 163.413333 56.32L170.666667 56.064h608.341333z m-236.544 219.434667c10.112 0 19.456 5.205333 24.832 13.738666l91.434667 146.304a29.269333 29.269333 0 0 1 0 31.018667l-91.434667 146.261333a29.269333 29.269333 0 0 1-24.832 13.781334H359.68a29.269333 29.269333 0 0 1-24.832-13.781334l-91.434667-146.261333a29.269333 29.269333 0 0 1 0-31.018667l91.434667-146.304a29.269333 29.269333 0 0 1 24.832-13.738666z m-16.213333 58.496H375.893333l-73.173333 117.034666 73.173333 117.034667h150.357334l73.173333-117.034667-73.173333-117.034666z"
p-id=
"2953"
></path></svg>
\ No newline at end of file
...
...
src/layout/components/Navbar.vue
View file @
a5e0414
...
...
@@ -60,11 +60,6 @@ export default {
};
</
script
>
<
style
lang=
"scss"
scoped
>
/
deep
/
.el-menu--horizontal
{
display
:
flex
;
align-items
:
center
;
}
.menubg
{
height
:
34px
;
width
:
130px
!important
;
...
...
@@ -101,6 +96,7 @@ export default {
display
:
flex
;
justify-content
:
space-between
;
width
:
100%
;
background
:
transparent
!important
;
}
/
deep
/
.el-menu-item
{
...
...
src/layout/components/Sidebar/sidebarLeft.vue
View file @
a5e0414
...
...
@@ -36,10 +36,4 @@ export default {
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.el-menu--horizontal
{
display
:
flex
;
background
:
none
!important
;
}
</
style
>
</
script
>
\ No newline at end of file
...
...
src/layout/components/Sidebar/sidebarRight.vue
View file @
a5e0414
<!--
* @Author: xiaomiao 1158771342@qq.com
* @Date: 2023-01-10 09:03:06
* @LastEditors:
xiaomiao 1158771342@qq.com
* @LastEditTime: 2023-03-
08 10:45:43
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2023-03-
22 10:43:26
* @FilePath: \监管系统\js-web-jianguan\src\layout\components\Sidebar\sidebarRight.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -17,59 +17,29 @@
</
template
>
<
script
>
import
{
mapGetters
}
from
'vuex'
import
Logo
from
'./Logo'
import
SidebarItem
from
'./SidebarItem'
import
variables
from
'@/styles/variables.scss'
import
{
asyncRoutes
}
from
'@/router'
export
default
{
components
:
{
SidebarItem
,
Logo
},
computed
:
{
...
mapGetters
([
'permission_routes'
,
'sidebar'
]),
activeMenu
()
{
const
route
=
this
.
$route
const
{
meta
,
path
}
=
route
if
(
meta
.
activeMenu
)
{
return
meta
.
activeMenu
}
return
path
},
variables
()
{
return
variables
},
asyncRoutes
()
{
return
asyncRoutes
.
slice
(
3
,
6
)
import
{
mapGetters
}
from
'vuex'
import
Logo
from
'./Logo'
import
SidebarItem
from
'./SidebarItem'
import
variables
from
'@/styles/variables.scss'
import
{
asyncRoutes
}
from
'@/router'
export
default
{
components
:
{
SidebarItem
,
Logo
},
computed
:
{
...
mapGetters
([
'permission_routes'
,
'sidebar'
]),
activeMenu
()
{
const
route
=
this
.
$route
const
{
meta
,
path
}
=
route
if
(
meta
.
activeMenu
)
{
return
meta
.
activeMenu
}
return
path
},
variables
()
{
return
variables
},
asyncRoutes
()
{
return
asyncRoutes
.
slice
(
3
,
6
)
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.el-menu--horizontal
{
display
:
flex
;
background
:
none
!important
;
}
/
deep
/
.el-menu-item
:hover
{
background
:
none
;
font-weight
:
700
;
color
:
#fff
!important
;
}
/
deep
/
.el-submenu__title
{
color
:
#fff
;
font-size
:
18px
;
}
/
deep
/
.el-submenu__title
:hover
{
background
:
none
;
font-weight
:
700
;
font-size
:
20px
;
}
/
deep
/
.el-menu--horizontal
.el-menu-item
:not
(
.is-disabled
)
:focus
{
background
:
none
;
color
:
#fff
;
font-size
:
20px
;
font-weight
:
700
!important
;
}
</
style
>
...
...
src/layout1/components/AppMain.vue
View file @
a5e0414
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-2
0 16:35:09
* @LastEditTime: 2023-03-2
2 10:23:46
-->
<
template
>
<section
class=
"app-main"
>
...
...
@@ -27,7 +27,7 @@ export default {
box-sizing
:
border-box
;
flex
:
1
;
width
:
100%
;
background
:
#E
FF0F4
;
background
:
#E
AEBF0
;
padding
:
15px
;
}
</
style
>
...
...
src/layout1/components/Navbar.vue
View file @
a5e0414
...
...
@@ -64,6 +64,7 @@ export default {
font-size
:
26px
;
font-weight
:
700
;
display
:
flex
;
margin-left
:
15px
;
img
{
width
:
47px
;
...
...
@@ -121,7 +122,7 @@ export default {
height
:
$
headerHeight
;
overflow
:
hidden
;
position
:
relative
;
@include
background
_color
("navbg");
@include
background("navbg");
display
:
flex
;
align-items
:
center
;
...
...
src/layout1/components/Sidebar/Item.vue
View file @
a5e0414
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-22 11:19:04
-->
<
script
>
export
default
{
name
:
'MenuItem'
,
...
...
@@ -31,11 +36,3 @@ export default {
}
}
</
script
>
<
style
scoped
>
.sub-el-icon
{
color
:
currentColor
;
width
:
1em
;
height
:
1em
;
}
</
style
>
...
...
src/styles/_themes.scss
View file @
a5e0414
$themes
:
(
blue
:
(
//
背景
navbg
:
#3D59C4
,
menuBg
:
#121F41
,
menuActive
:
linear-gradient
(
90deg
,
rgba
(
61
,
90
,
198
,
0
.7
)
0%
,
rgba
(
61
,
90
,
198
,
0
)
100%
)
,
//
字体
menuText
:
#A1A7C2
,
menuActiveText
:
#FFFFFF
)
,
navbg
:
linear-gradient
(
270deg
,
#EBF1FF
0%
,
#3D59C4
100%
)
,
menuBg
:
#F0F3FC
,
menuActive
:
#DFE7F7
,
//
字体
menuText
:
#6D7278
,
menuActiveText
:
#4162D8
,
//
没有子集
submenuBg
:
#3D59C4
,
submenuColor
:
#FFFFFF
)
,
green
:
(
navbg
:
#0F8B80
,
menuBg
:
#121A2E
,
menuActive
:
linear-gradient
(
90deg
,
rgba
(
61
,
90
,
198
,
0
.7
)
0%
,
rgba
(
61
,
90
,
198
,
0
)
100%
)
,
//
字体
menuText
:
#A1A7C2
,
menuActiveText
:
#FFFFFF
//
字体
menuText
:
#A1A7C2
,
menuActiveText
:
#FFFFFF
)
)
\ No newline at end of file
...
...
src/styles/jgPublic.scss
View file @
a5e0414
@import
'~@/styles/jgElement-ui.scss'
;
.el-menu--horizontal
{
display
:
flex
;
background
:
none
!
important
;
}
.tableClass
{
.el-table
{
border
:
none
!
important
;
...
...
@@ -551,4 +556,4 @@
background
:
url("../image/btn.png")
no-repeat
0
0
;
background-size
:
cover
;
color
:
white
;
}
}
\ No newline at end of file
...
...
src/styles/sbElement-ui.scss
View file @
a5e0414
...
...
@@ -198,10 +198,3 @@ input[type="number"] {
.el-form-item__content
{
flex
:
1
;
}
.el-submenu__title
{
.svg-icon
{
position
:
relative
;
top
:
2px
;
}
}
\ No newline at end of file
...
...
src/styles/sbSidebar.scss
View file @
a5e0414
...
...
@@ -8,7 +8,7 @@
}
.el-form-item__content
{
margin-left
:
0
!
important
;
margin-left
:
0
!
important
;
}
.sidebar-container
{
...
...
@@ -50,6 +50,7 @@
.el-menu
{
background-color
:
transparent
!
important
;
border
:
none
;
@include
font_color
(
"menuText"
);
height
:
100%
;
width
:
100%
!
important
;
}
...
...
@@ -64,18 +65,17 @@
.el-submenu__title
{
padding-left
:
10px
!
important
;
@include
font_color
(
"menuText"
);
height
:
42px
;
background
:
linear-gradient
(
90deg
,
#013874
0%
,
#081B56
100%
);
margin-bottom
:
8px
;
background-color
:
transparent
!
important
;
&
:hover
{
color
:
$subMenuActiveText
!
important
;
background
:
linear-gradient
(
90deg
,
#1D66DC
0%
,
#081B56
100%
);
@include
font_color
(
"menuActiveText"
);
@include
background_color
(
"menuActive"
);
.svg-icon
,
i
,
span
{
color
:
$subMenuActiveText
!
important
;
color
:
#4162D8
!
important
;
}
}
}
...
...
@@ -84,11 +84,12 @@
.submenu-title-noDropdown
{
@include
font_color
(
"menuText"
);
padding-left
:
20px
;
margin-bottom
:
8px
;
height
:
56px
;
background-color
:
transparent
!
important
;
&
:hover
{
@include
font_color
(
"menuActiveText"
);
@include
background
(
"menuActive"
);
@include
background
_color
(
"menuActive"
);
.svg-icon
{
color
:
#1ea6f8
!
important
;
...
...
@@ -102,7 +103,7 @@
.submenu-title-noDropdown.is-active
,
.el-submenu__title.is-active
{
@include
background
(
"menuActive"
);
@include
background
_color
(
"menuActive"
);
@include
font_color
(
"menuActiveText"
);
.svg-icon
{
...
...
@@ -119,7 +120,6 @@
font-weight
:
600
;
font-size
:
$sideBarFontSize
;
// margin: 0 10px;
>
i
{
color
:
$subMenuActiveText
!
important
;
transform
:
rotate
(
90deg
);
...
...
@@ -132,7 +132,7 @@
.svg-icon
{
font-size
:
18px
;
margin-top
:
-5px
;
color
:
#6D7278
!
important
;
}
}
...
...
@@ -144,28 +144,25 @@
-o-transform
:
rotateZ
(
0deg
)
!
important
;
}
.is-active
>
.el-submenu__title
{
color
:
#fff
!
important
;
}
&
.nest-menu
.el-submenu
>
.el-submenu__title
,
&
.el-submenu
.el-menu-item
{
&
.is-active
{
background-color
:
$subMenuHover
!
important
;
color
:
$menuActiveText
!
important
;
@include
background_color
(
"menuActive"
)
;
@include
font_color
(
"menuActiveText"
)
;
}
&
:hover
{
background-color
:
$subMenuHover
!
important
;
@include
background_color
(
"menuActive"
);
@include
font_color
(
"menuActiveText"
);
color
:
$menuActiveText
!
important
;
}
min-width
:
130px
!
important
;
background-color
:
transparent
!
important
;
font-weight
:
600
;
@include
font_color
(
"menuText"
);
font-size
:
$sideBarFontSize
;
margin
:
0
10px
;
// border-radius: 6px;
}
}
...
...
@@ -279,12 +276,10 @@
font-weight
:
600
!
important
;
font-size
:
15px
!
important
;
@include
background
(
"menuActive"
);
// background-color: $menuHover !important;
color
:
$menuText
!
important
;
@include
font_color
(
"menuText"
);
&
:hover
{
@include
background
(
"menuActive"
);
// background-color: $menuHover !important;
opacity
:
.9
;
.svg-icon
,
...
...
src/styles/variables.scss
View file @
a5e0414
...
...
@@ -24,7 +24,7 @@ $menuHover: #1D66DC;
$subMenuBg
:
#0D1230
;
$subMenuHover
:
#1D66DC
;
$sideBarWidth
:
2
1
0px
;
$sideBarWidth
:
2
5
0px
;
$sideBarFontSize
:
15px
;
// border颜色
...
...
Please
register
or
sign in
to post a comment