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
28718ad1
Commit
28718ad1
authored
Aug 31, 2023
by
yht15023815643
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
28c08a2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
Sidebar.vue
...operate-ui/src/views/detail/party-a/component/Sidebar.vue
+2
-0
index.vue
...te-ui/src/views/enterpriseData/components/Group/index.vue
+6
-4
No files found.
dsk-operate-ui/src/views/detail/party-a/component/Sidebar.vue
View file @
28718ad1
...
...
@@ -295,6 +295,8 @@ export default {
},
handleItem
(
item
){
console
.
log
(
this
.
defaultRoute
)
this
.
sideRoute
=
this
.
defaultRoute
this
.
$emit
(
"currentPath"
,
item
)
},
...
...
dsk-operate-ui/src/views/enterpriseData/components/Group/index.vue
View file @
28718ad1
...
...
@@ -34,7 +34,7 @@
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
v-else
id=
"anchorRef_wrap"
>
<div
class=
"contetn_wrap"
>
<div
class=
"wrap"
id=
"anchorRef"
@
scroll=
"handleScroll"
>
<div
class=
"wrap"
:class=
"activeIndex==0?'':'wrap1'"
id=
"anchorRef"
@
scroll=
"handleScroll"
>
<template
v-if=
"activeIndex==0"
>
<span
class=
"count"
>
共
{{
total
}}
条
</span><el-popover
style=
"margin-left:8px;position: relative;top: 2px;color:#515a6e;"
trigger=
"hover"
content=
"央企集团数据包含国资委及财政部公示的央企名录。"
placement=
"right"
><i
slot=
"reference"
class=
"el-icon-warning-outline"
></i></el-popover>
<div
>
...
...
@@ -312,8 +312,8 @@ export default {
anchorClick
(
i
)
{
var
a
=
document
.
getElementById
(
'anchor-'
+
i
)
a
.
scrollIntoView
()
//
document.body.scrollTop += -40
//
document.documentElement.scrollTop += -40
document
.
body
.
scrollTop
+=
-
40
document
.
documentElement
.
scrollTop
+=
-
40
setTimeout
(()
=>
{
this
.
anchorIndex
=
i
},
1
);
...
...
@@ -498,7 +498,6 @@ export default {
background
:
#FFFFFF
;
border-radius
:
4px
4px
4px
4px
;
padding
:
16px
;
max-height
:
848px
;
.anchor
{
height
:
24px
;
}
...
...
@@ -584,6 +583,9 @@ export default {
}
}
}
.wrap1
{
max-height
:
1048px
;
}
.anchor_box
{
position
:
absolute
;
top
:
48px
;
...
...
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