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
f40047cf
Commit
f40047cf
authored
Jul 20, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e39f5ae5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
21 deletions
+47
-21
localEconomy.vue
...e-ui/src/views/macro/economies/component/localEconomy.vue
+15
-0
index.vue
dsk-operate-ui/src/views/macro/enterprises/index.vue
+8
-2
qgjjdq.vue
...ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
+16
-10
index.vue
dsk-operate-ui/src/views/macro/urban/index.vue
+8
-9
No files found.
dsk-operate-ui/src/views/macro/economies/component/localEconomy.vue
View file @
f40047cf
...
@@ -203,6 +203,21 @@ export default {
...
@@ -203,6 +203,21 @@ export default {
.table-item
{
.table-item
{
margin-top
:
22px
;
margin-top
:
22px
;
::v-deep
.el-table
{
::v-deep
.el-table
{
overflow
:visible
;
.el-table__header-wrapper
{
position
:
sticky
;
top
:
56px
;
z-index
:
9
;
}
.el-table__fixed-header-wrapper
{
position
:
sticky
;
z-index
:
9
;
top
:
56px
;
}
.el-table__fixed
{
overflow-x
:
clip
;
overflow-y
:
clip
;
}
th
{
th
{
font-size
:
12px
!
important
;
font-size
:
12px
!
important
;
font-weight
:
400
!
important
;
font-weight
:
400
!
important
;
...
...
dsk-operate-ui/src/views/macro/enterprises/index.vue
View file @
f40047cf
...
@@ -136,10 +136,10 @@ export default {
...
@@ -136,10 +136,10 @@ 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
()
{
...
@@ -428,7 +428,13 @@ export default {
...
@@ -428,7 +428,13 @@ export default {
z-index
:
9
;
z-index
:
9
;
}
}
.el-table__fixed-header-wrapper
{
.el-table__fixed-header-wrapper
{
position
:
sticky
;
z-index
:
9
;
z-index
:
9
;
top
:
56px
;
}
.el-table__fixed
{
overflow-x
:
clip
;
overflow-y
:
clip
;
}
}
th
{
th
{
font-size
:
12px
!
important
;
font-size
:
12px
!
important
;
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
View file @
f40047cf
...
@@ -151,21 +151,21 @@
...
@@ -151,21 +151,21 @@
this
.
getYears
()
this
.
getYears
()
},
},
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
>
138
){
//
if (scrollTop>138){
let
top
=
scrollTop
-
138
//
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
=>
{
...
@@ -408,7 +408,13 @@
...
@@ -408,7 +408,13 @@
z-index
:
9
;
z-index
:
9
;
}
}
.el-table__fixed-header-wrapper
{
.el-table__fixed-header-wrapper
{
position
:
sticky
;
z-index
:
9
;
z-index
:
9
;
top
:
56px
;
}
.el-table__fixed
{
overflow-x
:
clip
;
overflow-y
:
clip
;
}
}
th
{
th
{
font-size
:
12px
!
important
;
font-size
:
12px
!
important
;
...
...
dsk-operate-ui/src/views/macro/urban/index.vue
View file @
f40047cf
...
@@ -337,7 +337,6 @@ export default {
...
@@ -337,7 +337,6 @@ export default {
province
:
''
,
province
:
''
,
provinceId
:[],
provinceId
:[],
fixed
:
false
,
fixed
:
false
,
StyWidth
:
null
}
}
},
},
watch
:{
watch
:{
...
@@ -354,16 +353,10 @@ export default {
...
@@ -354,16 +353,10 @@ export default {
}
}
},
},
mounted
(){
mounted
(){
window
.
addEventListener
(
"scroll"
,
this
.
scrolling
)
// window.addEventListener("scroll",this.scrolling)
const
_this
=
this
,
erd
=
elementResizeDetectorMaker
(),
partBox
=
document
.
getElementById
(
"content"
)
erd
.
listenTo
(
partBox
,
element
=>
{
_this
.
$nextTick
(()
=>
{
this
.
StyWidth
=
partBox
.
offsetWidth
+
'px'
;
})
})
},
},
beforeDestroy
()
{
beforeDestroy
()
{
window
.
removeEventListener
(
"scroll"
,
this
.
scrolling
);
//
window.removeEventListener("scroll", this.scrolling);
},
},
created
()
{
created
()
{
this
.
dataRegion
()
this
.
dataRegion
()
...
@@ -970,7 +963,13 @@ export default {
...
@@ -970,7 +963,13 @@ export default {
z-index
:
9
;
z-index
:
9
;
}
}
.el-table__fixed-header-wrapper
{
.el-table__fixed-header-wrapper
{
position
:
sticky
;
z-index
:
9
;
z-index
:
9
;
top
:
56px
;
}
.el-table__fixed
{
overflow-x
:
clip
;
overflow-y
:
clip
;
}
}
th
{
th
{
font-size
:
12px
!
important
;
font-size
:
12px
!
important
;
...
...
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