Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fulixin
dsk-operate-sys-cscec
Commits
f166a9fa
Commit
f166a9fa
authored
Dec 08, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
规范全局主体容器宽高 规范滚动条出现容器位置
parent
446c5f52
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1648 additions
and
1741 deletions
+1648
-1741
index.scss
dsk-operate-ui/src/assets/styles/index.scss
+4
-15
sidebar.scss
dsk-operate-ui/src/assets/styles/sidebar.scss
+3
-3
variables.scss
dsk-operate-ui/src/assets/styles/variables.scss
+1
-0
AppMain.vue
dsk-operate-ui/src/layout/components/AppMain.vue
+10
-14
index.vue
dsk-operate-ui/src/layout/index.vue
+1
-0
index.vue
...operate-ui/src/views/custom/historicalCustomers/index.vue
+286
-339
index.vue
dsk-operate-ui/src/views/index.vue
+1343
-1370
No files found.
dsk-operate-ui/src/assets/styles/index.scss
View file @
f166a9fa
...
@@ -121,12 +121,6 @@ aside {
...
@@ -121,12 +121,6 @@ aside {
}
}
}
}
//main-container全局样式
.app-container
{
//padding: 16px;
//margin-top: 56px;
}
.components-container
{
.components-container
{
margin
:
30px
50px
;
margin
:
30px
50px
;
position
:
relative
;
position
:
relative
;
...
@@ -226,18 +220,13 @@ li {
...
@@ -226,18 +220,13 @@ li {
margin
:
0
;
margin
:
0
;
}
}
.app-main
{
position
:
relative
;
background-color
:
#f5f5f5
;
>
div
{
width
:
calc
(
100%
-
48px
);
}
}
.app-container
{
.app-container
{
margin
:
16px
24px
;
width
:
100%
;
height
:
100%
;
background-color
:
#f5f5f5
;
background-color
:
#f5f5f5
;
padding
:
16px
24px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
//width: 100%
;
overflow
:
auto
;
.el-input__inner
{
.el-input__inner
{
border-color
:
#d9d9d9
;
border-color
:
#d9d9d9
;
color
:
#232323
;
color
:
#232323
;
...
...
dsk-operate-ui/src/assets/styles/sidebar.scss
View file @
f166a9fa
...
@@ -215,7 +215,7 @@
...
@@ -215,7 +215,7 @@
.hideSidebar
{
.hideSidebar
{
.sidebar-container
{
.sidebar-container
{
width
:
48px
!
important
;
width
:
$hideSideBarWidth
!
important
;
.sidebar-logo-container
{
.sidebar-logo-container
{
padding
:
0px
;
padding
:
0px
;
...
@@ -235,8 +235,8 @@
...
@@ -235,8 +235,8 @@
}
}
.main-container
{
.main-container
{
margin-left
:
48px
;
margin-left
:
$hideSideBarWidth
;
width
:
calc
(
100%
-
48px
);
width
:
calc
(
100%
-
#{
$hideSideBarWidth
}
);
}
}
.submenu-title-noDropdown
{
.submenu-title-noDropdown
{
...
...
dsk-operate-ui/src/assets/styles/variables.scss
View file @
f166a9fa
...
@@ -52,6 +52,7 @@ $subMenuHover:#001528;
...
@@ -52,6 +52,7 @@ $subMenuHover:#001528;
$base-sidebar-width
:
220px
;
$base-sidebar-width
:
220px
;
$sideBarWidth
:
220px
;
$sideBarWidth
:
220px
;
$hideSideBarWidth
:
48px
;
//系统默认颜色
//系统默认颜色
$systemColor
:
#0081FF
;
$systemColor
:
#0081FF
;
...
...
dsk-operate-ui/src/layout/components/AppMain.vue
View file @
f166a9fa
...
@@ -10,16 +10,16 @@
...
@@ -10,16 +10,16 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
iframeToggle
from
"./IframeToggle/index"
import
iframeToggle
from
"./IframeToggle/index"
;
export
default
{
export
default
{
name
:
'AppMain'
,
name
:
'AppMain'
,
components
:
{
iframeToggle
},
components
:
{
iframeToggle
},
computed
:
{
computed
:
{
cachedViews
()
{
cachedViews
()
{
return
this
.
$store
.
state
.
tagsView
.
cachedViews
return
this
.
$store
.
state
.
tagsView
.
cachedViews
;
},
},
key
()
{
key
()
{
return
this
.
$route
.
fullPath
return
this
.
$route
.
fullPath
;
}
}
}
}
}
}
...
@@ -27,12 +27,11 @@ export default {
...
@@ -27,12 +27,11 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.app-main
{
.app-main
{
/* 50= navbar 50 */
min-height
:
calc
(
100vh
-
50px
);
width
:
100%
;
position
:
relative
;
position
:
relative
;
height
:
calc
(
100%
-
56px
);
width
:
100%
;
background
:
#f5f5f5
;
overflow
:
hidden
;
overflow
:
hidden
;
display
:
flex
;
}
}
.fixed-header
+
.app-main
{
.fixed-header
+
.app-main
{
...
@@ -41,20 +40,17 @@ export default {
...
@@ -41,20 +40,17 @@ export default {
.hasTagsView
{
.hasTagsView
{
.app-main
{
.app-main
{
/* 84 = navbar + tags-view = 50 + 34 */
height
:
calc
(
100%
-
56px
);
min-height
:
calc
(
100vh
-
56px
);
min-width
:
1240px
;
min-width
:
1240px
;
background
:
#F5F5F5
;
overflow
:
initial
;
}
}
.fixed-header
+
.app-main
{
.fixed-header
+
.app-main
{
padding-top
:
84px
;
padding-top
:
84px
;
}
}
}
}
.EnterpriseData
{
.EnterpriseData
{
.app-main
{
.app-main
{
overflow
:
initial
;
overflow
:
hidden
;
}
}
}
}
</
style
>
</
style
>
...
...
dsk-operate-ui/src/layout/index.vue
View file @
f166a9fa
...
@@ -96,6 +96,7 @@ export default {
...
@@ -96,6 +96,7 @@ export default {
position
:
relative
;
position
:
relative
;
height
:
100%
;
height
:
100%
;
width
:
100%
;
width
:
100%
;
overflow
:
hidden
;
&
.mobile.openSidebar
{
&
.mobile.openSidebar
{
position
:
fixed
;
position
:
fixed
;
...
...
dsk-operate-ui/src/views/custom/historicalCustomers/index.vue
View file @
f166a9fa
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/index.vue
View file @
f166a9fa
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment