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
6ac28278
Commit
6ac28278
authored
Sep 26, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d734da04
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
18 deletions
+23
-18
localEconomy.vue
...e-ui/src/views/macro/economies/component/localEconomy.vue
+10
-8
qgjjdq.vue
...ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
+11
-8
index.vue
dsk-operate-ui/src/views/market/index.vue
+2
-2
No files found.
dsk-operate-ui/src/views/macro/economies/component/localEconomy.vue
View file @
6ac28278
...
...
@@ -99,14 +99,16 @@ export default {
this
.
yearOptions
=
res
.
data
.
reverse
();
})
//列表一屏幕显示完整,底部滚动条隐藏
const
targetTableWrapperEl
=
document
.
querySelector
(
'.el-table__body-wrapper'
)
const
viewHeight
=
window
.
innerHeight
||
document
.
documentElement
.
clientHeight
const
{
bottom
}
=
targetTableWrapperEl
.
getBoundingClientRect
()
if
(
bottom
<=
viewHeight
)
{
targetTableWrapperEl
.
style
.
display
=
'initial'
}
else
{
targetTableWrapperEl
.
style
.
display
=
'none'
}
// const targetTableWrapperEl = document.querySelector('.el-table__body-wrapper')
// const viewHeight = window.innerHeight || document.documentElement.clientHeight
// const { bottom } = targetTableWrapperEl.getBoundingClientRect()
// if (bottom
<=
viewHeight
)
{
// console.log("222")
// targetTableWrapperEl.style.display = 'none'
// } else {
// console.log("111")
// targetTableWrapperEl.style.display = 'initial'
// }
},
methods
:
{
getData
(){
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
View file @
6ac28278
...
...
@@ -158,14 +158,17 @@
this
.
getYears
()
//列表一屏幕显示完整,底部滚动条隐藏
const
targetTableWrapperEl
=
document
.
querySelector
(
'.el-table__body-wrapper'
)
const
viewHeight
=
window
.
innerHeight
||
document
.
documentElement
.
clientHeight
const
{
bottom
}
=
targetTableWrapperEl
.
getBoundingClientRect
()
if
(
bottom
<=
viewHeight
)
{
targetTableWrapperEl
.
style
.
display
=
'initial'
}
else
{
targetTableWrapperEl
.
style
.
display
=
'none'
}
// const targetTableWrapperEl = document.querySelector('.el-table__body-wrapper')
// console.log(targetTableWrapperEl)
// const viewHeight = window.innerHeight || document.documentElement.clientHeight
// const { bottom } = targetTableWrapperEl.getBoundingClientRect()
// if (bottom
<=
viewHeight
)
{
// console.log("222")
// targetTableWrapperEl.style.display = 'initial'
// } else {
// console.log("1111")
// targetTableWrapperEl.style.display = 'none'
// }
},
mounted
()
{
...
...
dsk-operate-ui/src/views/market/index.vue
View file @
6ac28278
...
...
@@ -23,8 +23,8 @@ export default {
navigation
:
{
isFixed
:
true
,
fixedHeight
:
56
,
totalHeight
:
68
},
// iframe之外页面顶部对象,ifFixed:是否浮动;fixedHeight:浮动对象高度;totalHeight:顶部整体高度
src
:
''
,
//iframe嵌套页面地址
// domain: 'https://plug.jiansheku.com', // 插件地址
//
domain: 'https://pre-plug.jiansheku.com', // 插件地址测试
domain
:
'http://192.168.60.104:3400'
,
domain
:
'https://pre-plug.jiansheku.com'
,
// 插件地址测试
//
domain: 'http://192.168.60.104:3400',
ak
:
'aec7b3ff2y2q8x6t49a7e2c463ce21912'
,
// 需要携带的sdkId
timelongs
:
7200
,
//刷新token时间
tokentimer
:
null
,
...
...
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