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
4907ded2
authored
2023-01-05 15:38:03 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:左侧样式完成修改
1 parent
a4842210
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
38 additions
and
74 deletions
src/components/LbTable/lb-table.vue
src/image/logo.png
src/layout/components/AppMain.vue
src/layout/components/Navbar.vue
src/layout/components/Sidebar/SidebarItem.vue
src/layout/components/Sidebar/index.vue
src/layout/index.vue
src/layout1/components/AppMain.vue
src/layout1/components/Sidebar/SidebarItem.vue
src/layout1/components/Sidebar/index.vue
src/styles/sidebar.scss
src/styles/variables.scss
src/views/home/index.vue
src/components/LbTable/lb-table.vue
View file @
4907ded
...
...
@@ -74,7 +74,7 @@ export default {
},
heightNum
:
{
type
:
Number
,
default
:
2
4
0
,
default
:
2
6
0
,
},
maxHeight
:
{
type
:
Number
,
...
...
src/image/logo.png
0 → 100644
View file @
4907ded
7.41 KB
src/layout/components/AppMain.vue
View file @
4907ded
...
...
@@ -17,8 +17,10 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.app-main
{
height
:
calc
(
100vh
-
70
px
);
height
:
calc
(
100vh
-
84
px
);
overflow-x
:
hidden
;
box-sizing
:
border-box
;
flex
:
1
;
width
:
100%
;
}
</
style
>
\ No newline at end of file
...
...
src/layout/components/Navbar.vue
View file @
4907ded
<
template
>
<div
class=
"navbar-con"
>
<div
class=
"navbar"
>
<div
class=
"logo"
>
<img
:src=
"require('@/image/logo.png')"
alt=
""
/>
</div>
<div
class=
"backdrop"
>
<Breadcrumb
/>
</div>
...
...
@@ -122,7 +125,7 @@ export default {
background
:
#0D1230
;
display
:
flex
;
align-items
:
center
;
padding
:
0
20px
;
padding
-right
:
20px
;
justify-content
:
space-between
;
margin-bottom
:
10px
;
...
...
src/layout/components/Sidebar/SidebarItem.vue
View file @
4907ded
...
...
@@ -89,9 +89,3 @@ export default {
}
}
</
script
>
<
style
scoped
>
/
deep
/
.el-menu-item
{
padding-left
:
30px
!important
;
}
</
style
>
\ No newline at end of file
...
...
src/layout/components/Sidebar/index.vue
View file @
4907ded
<
template
>
<div>
<div
class=
"logo"
>
{{
title
}}
</div>
<el-scrollbar
wrap-class=
"scrollbar-wrapper"
>
<el-menu
router
:default-active=
"activeMenu"
:background-color=
"variables.menuBg"
:text-color=
"variables.menuText"
:unique-opened=
"true"
:active-text-color=
"variables.menuActiveText"
:collapse-transition=
"false"
...
...
@@ -46,15 +45,4 @@ export default {
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.logo
{
width
:
100%
;
height
:
80px
;
color
:
#ffffff
;
font-size
:
20px
;
display
:
flex
;
align-items
:
center
;
padding-left
:
20px
;
}
</
style
>
\ No newline at end of file
</
script
>
\ No newline at end of file
...
...
src/layout/index.vue
View file @
4907ded
<
template
>
<div
class=
"app-wrapper"
>
<sidebar
class=
"sidebar-container"
/>
<
!--
<
sidebar
class=
"sidebar-container"
/>
<div
class=
"main-container"
>
<navbar
/>
<app-main
/>
</div>
<!--
<navbar
/>
<div
:class=
"
{ hasTagsView: needTagsView }" class="main-container">
<div
:class=
"
{ 'fixed-header': fixedHeader }">
<sidebar
class=
"sidebar-container"
/>
<tags-view
v-if=
"needTagsView"
/>
</div>
<app-main
/>
</div>
-->
<navbar
/>
<div
class=
"main-container"
>
<sidebar
class=
"sidebar-container"
/>
<app-main
/>
</div>
</div>
</
template
>
<
script
>
...
...
@@ -45,7 +42,7 @@ export default {
position
:
relative
;
height
:
100%
;
width
:
100%
;
background-color
:
#000
;
background-color
:
$
containerbg
;
&.mobile.openSidebar
{
position
:
fixed
;
...
...
src/layout1/components/AppMain.vue
View file @
4907ded
...
...
@@ -18,7 +18,6 @@ export default {
<
style
lang=
"scss"
scoped
>
.hasTagsView
{
.app-main
{
height
:
calc
(
100%
-
41px
);
overflow-x
:
auto
;
padding
:
5px
;
box-sizing
:
border-box
;
...
...
src/layout1/components/Sidebar/SidebarItem.vue
View file @
4907ded
...
...
@@ -88,10 +88,4 @@ export default {
}
}
}
</
script
>
<
style
scoped
>
/
deep
/
.el-menu-item
{
padding-left
:
30px
!important
;
}
</
style
>
\ No newline at end of file
</
script
>
\ No newline at end of file
...
...
src/layout1/components/Sidebar/index.vue
View file @
4907ded
...
...
@@ -42,11 +42,6 @@ export default {
background
:
none
!important
;
}
/
deep
/
.el-menu-item
{
color
:
#fff
;
font-size
:
18px
;
}
/
deep
/
.el-menu-item
:hover
{
background
:
none
;
font-weight
:
700
;
...
...
src/styles/sidebar.scss
View file @
4907ded
#app
{
.main-container
{
height
:
100%
;
width
:
100%
;
height
:
calc
(
100%
-
74px
);
transition
:
margin-left
0
.28s
;
margin-left
:
220px
;
box-sizing
:
border-box
;
padding-right
:
10px
;
display
:
flex
;
background-color
:
$containerbg
;
}
.sidebar-container
{
transition
:
width
0
.28s
;
width
:
$sideBarWidth
!
important
;
height
:
100%
;
// height: calc(100% - #{$headerHeight});
position
:
fixed
;
font-size
:
0px
;
// top: $headerHeight;
bottom
:
0
;
left
:
0
;
z-index
:
80
;
background-color
:
$subMenuBg
;
// overflow: hidden;
.horizontal-collapse-transition
{
transition
:
0s
width
ease-in-out
,
0s
padding-left
ease-in-out
,
...
...
@@ -28,9 +21,7 @@
.scrollbar-wrapper
{
overflow-x
:
hidden
!
important
;
// overflow-y: auto;
margin-right
:
0
!
important
;
height
:
calc
(
100vh
-
80px
);
&
:
:-
webkit-scrollbar
{
display
:
none
;
...
...
@@ -67,14 +58,15 @@
// 有子级
.el-submenu__title
{
margin-left
:
13px
;
padding-left
:
10px
!
important
;
color
:
$menuText
;
background-color
:
transparent
!
important
;
height
:
42px
;
background
:
linear-gradient
(
90deg
,
#013874
0%
,
#081B56
100%
);
margin-bottom
:
8px
;
&
:hover
{
color
:
$subMenuActiveText
!
important
;
background
-color
:
$subMenuHover
!
important
;
background
:
linear-gradient
(
90deg
,
#1D66DC
0%
,
#081B56
100%
)
;
.svg-icon
,
i
,
...
...
@@ -87,12 +79,13 @@
// 没有子级
.submenu-title-noDropdown
{
color
:
$menuText
;
// border-radius: 6px;
padding-left
:
20px
!
important
;
padding-left
:
20px
;
margin-bottom
:
8px
;
background
:
linear-gradient
(
90deg
,
#013874
0%
,
#081B56
100%
);
&
:hover
{
color
:
$menuActiveText
!
important
;
background
-color
:
$subMenuHover
!
important
;
background
:
linear-gradient
(
90deg
,
#1D66DC
0%
,
#081B56
100%
)
;
.svg-icon
{
color
:
#1ea6f8
!
important
;
...
...
@@ -107,7 +100,7 @@
.submenu-title-noDropdown.is-active
,
.el-submenu__title.is-active
{
color
:
$menuActiveText
;
background
-color
:
$menuHover
!
important
;
background
:
linear-gradient
(
90deg
,
#1D66DC
0%
,
#081B56
100%
)
;
.svg-icon
{
color
:
#1ea6f8
!
important
;
...
...
@@ -178,10 +171,6 @@
width
:
54px
!
important
;
}
.main-container
{
margin-left
:
54px
;
}
.submenu-title-noDropdown
{
padding
:
0
!
important
;
position
:
relative
;
...
...
@@ -341,6 +330,7 @@
}
.el-menu-item
{
height
:
42px
;
display
:
flex
;
align-items
:
center
;
padding-right
:
20px
!
important
;
...
...
src/styles/variables.scss
View file @
4907ded
...
...
@@ -9,15 +9,17 @@ $yellow:#FEC171;
$panGreen
:
#30B08F
;
// header
$headerHeight
:
6
0
px
;
$headerHeight
:
6
4
px
;
// sidebar
$menuText
:
#ffffff
;
$menuActiveText
:
#ffffff
;
$subMenuActiveText
:
#ffffff
;
$containerbg
:
#061850
;
$menuBg
:
#0D1230
;
$menuHover
:
#0794FF
;
$menuHover
:
#1D66DC
;
$subMenuBg
:
#0D1230
;
$subMenuHover
:
#1D66DC
;
...
...
src/views/home/index.vue
View file @
4907ded
...
...
@@ -82,7 +82,7 @@
<div
class=
"jrxxlb tableClass"
>
<div
class=
"title"
>
陕西省平台接入情况
</div>
<!-- 陕西省平台接入情况table -->
<lb-table
ref=
"table"
:pagination=
"false"
:heightNum=
"4
28
"
:column=
"tableData.columns"
:data=
"tableData.data"
>
<lb-table
ref=
"table"
:pagination=
"false"
:heightNum=
"4
40
"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
</div>
...
...
Please
register
or
sign in
to post a comment