Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
dffe86e1
authored
2020-11-24 15:56:48 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
目录树修改
1 parent
3a578c1e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
src/components/lineTree/lineItem.vue
src/components/lineTree/lineTree.vue
src/components/lineTree/lineItem.vue
View file @
dffe86e
<
template
>
<div
class=
"tree_item_box"
:class=
"list.length>10 ? 'ofy_scroll':''"
:style=
"
{maxHeight:(list.length > 10 ? treeXzqHeight:'unset')+'px'}"
>
<div
class=
"tree_item_box"
>
<div
class=
"column-start-start linkLine_default"
v-for=
"(item, s_index) in list"
...
...
@@ -97,9 +97,7 @@ export default {
}
},
mounted
(){
this
.
$nextTick
(()
=>
{
this
.
treeXzqHeight
=
this
.
$parent
.
$el
.
clientHeight
-
(
this
.
formatData
.
length
-
1
)
*
26
+
60
;
})
},
methods
:
{
itemClick
(
item
)
{
...
...
@@ -231,10 +229,10 @@ export default {
width
:
100%
;
cursor
:
pointer
;
}
.ofy_scroll
{
overflow-y
:
scroll
;
overflow-x
:
hidden
;
}
//
.ofy_scroll
{
//
overflow-y
:
scroll
;
//
overflow-x
:
hidden
;
//
}
.basic_layer
{
width
:
100%
;
position
:
relative
;
...
...
src/components/lineTree/lineTree.vue
View file @
dffe86e
...
...
@@ -326,6 +326,8 @@ export default {
.content
{
height
:
100%
;
width
:
100%
;
overflow-y
:
scroll
;
overflow-x
:
hidden
;
}
.column-start-center
{
display
:
flex
;
...
...
Please
register
or
sign in
to post a comment