Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
2096b4ec
Commit
2096b4ec
authored
Jul 18, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
046a8970
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
24 deletions
+49
-24
sidebar.scss
dsk-operate-ui/src/assets/styles/sidebar.scss
+13
-12
AppMain.vue
dsk-operate-ui/src/layout/components/AppMain.vue
+1
-0
regionalEconomy.vue
...i/src/views/macro/economies/component/regionalEconomy.vue
+11
-0
index.vue
dsk-operate-ui/src/views/macro/enterprises/index.vue
+4
-4
economies-detail.vue
...ws/macro/nationalEconomies/component/economies-detail.vue
+12
-0
qgjjdq.vue
...ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
+8
-8
No files found.
dsk-operate-ui/src/assets/styles/sidebar.scss
View file @
2096b4ec
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
transition
:
margin-left
.28s
;
transition
:
margin-left
.28s
;
margin-left
:
$base-sidebar-width
;
margin-left
:
$base-sidebar-width
;
position
:
relative
;
position
:
relative
;
background
:
#F5F5F5
;
}
}
.sidebarHide
{
.sidebarHide
{
...
...
dsk-operate-ui/src/layout/components/AppMain.vue
View file @
2096b4ec
...
@@ -45,6 +45,7 @@ export default {
...
@@ -45,6 +45,7 @@ export default {
min-height
:
calc
(
100vh
-
56px
);
min-height
:
calc
(
100vh
-
56px
);
min-width
:
1440px
;
min-width
:
1440px
;
background
:
#F5F5F5
;
background
:
#F5F5F5
;
overflow
:
initial
;
}
}
.fixed-header
+
.app-main
{
.fixed-header
+
.app-main
{
...
...
dsk-operate-ui/src/views/macro/economies/component/regionalEconomy.vue
View file @
2096b4ec
...
@@ -823,6 +823,7 @@ export default {
...
@@ -823,6 +823,7 @@ export default {
.table-item
{
.table-item
{
margin-top
:
22px
;
margin-top
:
22px
;
::v-deep
.el-table
{
::v-deep
.el-table
{
overflow
:visible
;
th
{
th
{
font-size
:
12px
!
important
;
font-size
:
12px
!
important
;
font-weight
:
400
!
important
;
font-weight
:
400
!
important
;
...
@@ -836,6 +837,16 @@ export default {
...
@@ -836,6 +837,16 @@ export default {
.caret-wrapper
{
.caret-wrapper
{
width
:
10px
;
width
:
10px
;
}
}
.el-table__body-wrapper
{
overflow
:visible
;
}
.el-table__body
{
tr
:first-child
{
position
:
sticky
;
top
:
56px
;
z-index
:
9
;
}
}
}
}
}
}
}
}
...
...
dsk-operate-ui/src/views/macro/enterprises/index.vue
View file @
2096b4ec
...
@@ -136,17 +136,17 @@ export default {
...
@@ -136,17 +136,17 @@ export default {
},
},
mounted
()
{
mounted
()
{
//
window.addEventListener("scroll",this.scrolling)
window
.
addEventListener
(
"scroll"
,
this
.
scrolling
)
},
},
beforeDestroy
()
{
beforeDestroy
()
{
//
window.removeEventListener("scroll", this.scrolling);
window
.
removeEventListener
(
"scroll"
,
this
.
scrolling
);
},
},
methods
:
{
methods
:
{
scrolling
()
{
scrolling
()
{
let
el
=
document
.
getElementsByClassName
(
"el-table__fixed-header-wrapper"
)[
0
]
let
el
=
document
.
getElementsByClassName
(
"el-table__fixed-header-wrapper"
)[
0
]
let
scrollTop
=
window
.
pageYOffset
||
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
let
scrollTop
=
window
.
pageYOffset
||
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
if
(
scrollTop
>
1
35
){
if
(
scrollTop
>
1
97
){
let
top
=
scrollTop
-
1
38
let
top
=
scrollTop
-
1
97
el
.
style
.
top
=
top
+
'px'
el
.
style
.
top
=
top
+
'px'
}
else
{
}
else
{
el
.
style
.
top
=
0
el
.
style
.
top
=
0
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/economies-detail.vue
View file @
2096b4ec
...
@@ -295,5 +295,17 @@ export default {
...
@@ -295,5 +295,17 @@ export default {
}
}
.table-item
{
.table-item
{
padding
:
16px
10px
16px
16px
;
padding
:
16px
10px
16px
16px
;
::v-deep
.el-table
{
.el-table__body-wrapper
{
overflow
:visible
;
}
.el-table__body
{
tr
:first-child
{
position
:
fixed
;
top
:
49px
;
z-index
:
9
;
}
}
}
}
}
</
style
>
</
style
>
dsk-operate-ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
View file @
2096b4ec
...
@@ -158,14 +158,14 @@
...
@@ -158,14 +158,14 @@
},
},
methods
:
{
methods
:
{
scrolling
()
{
scrolling
()
{
//
let el = document.getElementsByClassName("el-table__fixed-header-wrapper")[0]
let
el
=
document
.
getElementsByClassName
(
"el-table__fixed-header-wrapper"
)[
0
]
//
let scrollTop =window.pageYOffset ||document.documentElement.scrollTop ||document.body.scrollTop;
let
scrollTop
=
window
.
pageYOffset
||
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
// if (scrollTop>135
){
if
(
scrollTop
>
138
){
// let top = scrollTop-136
let
top
=
scrollTop
-
138
//
el.style.top = top+'px'
el
.
style
.
top
=
top
+
'px'
//
}else{
}
else
{
//
el.style.top = 0
el
.
style
.
top
=
0
//
}
}
},
},
getYears
(){
getYears
(){
getYears
({}).
then
(
res
=>
{
getYears
({}).
then
(
res
=>
{
...
...
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