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
6be5e96a
Commit
6be5e96a
authored
Jul 17, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
90ef283d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
147 additions
and
96 deletions
+147
-96
AppMain.vue
dsk-operate-ui/src/layout/components/AppMain.vue
+1
-0
index.vue
dsk-operate-ui/src/views/macro/enterprises/index.vue
+25
-0
qgjjdq.vue
...ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
+12
-12
index.vue
dsk-operate-ui/src/views/macro/nationalEconomies/index.vue
+2
-1
index.vue
dsk-operate-ui/src/views/macro/urban/index.vue
+107
-83
No files found.
dsk-operate-ui/src/layout/components/AppMain.vue
View file @
6be5e96a
...
...
@@ -45,6 +45,7 @@ export default {
min-height
:
calc
(
100vh
-
56px
);
min-width
:
1440px
;
background
:
#F5F5F5
;
overflow
:
initial
;
}
.fixed-header
+
.app-main
{
...
...
dsk-operate-ui/src/views/macro/enterprises/index.vue
View file @
6be5e96a
...
...
@@ -135,7 +135,23 @@ export default {
this
.
aptitudeCode
()
},
mounted
()
{
window
.
addEventListener
(
"scroll"
,
this
.
scrolling
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
"scroll"
,
this
.
scrolling
);
},
methods
:
{
scrolling
()
{
let
el
=
document
.
getElementsByClassName
(
"el-table__fixed-header-wrapper"
)[
0
]
let
scrollTop
=
window
.
pageYOffset
||
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
if
(
scrollTop
>
135
){
let
top
=
scrollTop
-
138
el
.
style
.
top
=
top
+
'px'
}
else
{
el
.
style
.
top
=
0
}
},
//资质Json
async
aptitudeCode
()
{
// await axios.post("https://files.jiansheku.com/file/json/common/aptitudeCode.json", {}, {
...
...
@@ -405,6 +421,15 @@ export default {
}
}
::v-deep
.el-table
{
overflow
:visible
;
.el-table__header-wrapper
{
position
:
sticky
;
top
:
56px
;
z-index
:
9
;
}
.el-table__fixed-header-wrapper
{
z-index
:
9
;
}
th
{
font-size
:
12px
!
important
;
font-weight
:
400
!
important
;
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
View file @
6be5e96a
...
...
@@ -151,21 +151,21 @@
this
.
getYears
()
},
mounted
()
{
//
window.addEventListener("scroll",this.scrolling)
window
.
addEventListener
(
"scroll"
,
this
.
scrolling
)
},
beforeDestroy
()
{
//
window.removeEventListener("scroll", this.scrolling);
window
.
removeEventListener
(
"scroll"
,
this
.
scrolling
);
},
methods
:
{
scrolling
()
{
let
el
=
document
.
getElementsByClassName
(
"el-table__fixed-header-wrapper"
)[
0
]
let
scrollTop
=
window
.
pageYOffset
||
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
if
(
scrollTop
>
135
){
let
top
=
scrollTop
-
138
el
.
style
.
top
=
top
+
'px'
}
else
{
el
.
style
.
top
=
0
}
//
let el = document.getElementsByClassName("el-table__fixed-header-wrapper")[0]
//
let scrollTop =window.pageYOffset ||document.documentElement.scrollTop ||document.body.scrollTop;
//
if (scrollTop>135){
// let top = scrollTop-136
//
el.style.top = top+'px'
//
}else{
//
el.style.top = 0
//
}
},
getYears
(){
getYears
({}).
then
(
res
=>
{
...
...
@@ -374,7 +374,7 @@
margin-top
:
12px
;
/*height: calc(100vh - 300px);*/
.table-item
{
position
:
relative
;
/*position: relative;*/
.empty
{
/*position: absolute;*/
/*top: 50%;*/
...
...
@@ -401,7 +401,7 @@
}
}
::v-deep
.el-table
{
overflow
:
initial
;
overflow
:
visible
;
.el-table__header-wrapper
{
position
:
sticky
;
top
:
56px
;
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/index.vue
View file @
6be5e96a
<
template
>
<div
class=
"app-container
container-box
nationalEconomies"
>
<div
class=
"app-container nationalEconomies"
>
<div
class=
"header"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"全国经济大全"
name=
"first"
></el-tab-pane>
...
...
@@ -7,6 +7,7 @@
<el-tab-pane
label=
"全国中标市场分析"
name=
"third"
></el-tab-pane>
</el-tabs>
</div>
<Economic
v-if=
"activeName === 'first'"
></Economic>
<ZhaoBiao
v-if=
"activeName === 'second'"
></ZhaoBiao>
<ZhongBiao
v-if=
"activeName === 'third'"
></ZhongBiao>
...
...
dsk-operate-ui/src/views/macro/urban/index.vue
View file @
6be5e96a
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