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
390227fa
authored
2020-12-17 11:14:03 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
导航,tabs,目录树字体大小修改
1 parent
034c751e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
21 deletions
src/assets/less/main.less
src/components/lineTree/lineItem.vue
src/components/lineTree/lineTree.vue
src/views/Home.vue
src/views/panel/change/fg/index.vue
src/views/panel/change/hb/index.vue
src/assets/less/main.less
View file @
390227f
...
...
@@ -116,7 +116,7 @@ ol, ul { list-style:none; }
>.el-tabs__item{
border: 1px solid #DEDEDE;
height: 30px;
line-height:
30
px;
line-height:
28
px;
padding: 0 20px;
margin: 9px 10px 9px 0;
}
...
...
@@ -128,6 +128,9 @@ ol, ul { list-style:none; }
}
}
}
.el-tabs__item{
font-size: 16px;
}
//弹框遮罩层样式
.v-modal{
opacity: .2;
...
...
src/components/lineTree/lineItem.vue
View file @
390227f
...
...
@@ -24,8 +24,8 @@
v-if=
"item.children"
class=
"reTree_icon"
:style=
"
{
height: (size || 1
4
* 1.2) + 'px',
width: (size || 1
4
* 1.2) + 'px',
height: (size || 1
6
* 1.2) + 'px',
width: (size || 1
6
* 1.2) + 'px',
}"
:class="{
reTree_default_icon: item.children.length === 0,
...
...
@@ -37,8 +37,8 @@
v-if=
"item.children==null"
class=
"reTree_icon reTree_expand_icon"
:style=
"
{
height: (size || 1
4
* 1.2) + 'px',
width: (size || 1
4
* 1.2) + 'px',
height: (size || 1
6
* 1.2) + 'px',
width: (size || 1
6
* 1.2) + 'px',
}"
>
</div>
<div
...
...
@@ -83,7 +83,7 @@ export default {
},
size
:
{
type
:
Number
,
default
:
1
4
,
default
:
1
6
,
},
visible
:
{
type
:
Boolean
,
...
...
@@ -174,7 +174,7 @@ export default {
}
},
// 左键双击事件
dbclick
(
item
)
{
dbclick
(
item
,
)
{
clearTimeout
(
this
.
time
);
//此处不要将$router移到if的外面,因为可能是双击行政区,就不知道去哪儿了
if
(
item
.
type
==
'zd'
)
{
...
...
@@ -342,8 +342,8 @@ export default {
content
:
""
;
position
:
absolute
;
/* 为了触顶 */
top
:
-1
4
px
;
height
:
calc
(
100%
+
1
4
px
);
top
:
-1
6
px
;
height
:
calc
(
100%
+
1
6
px
);
width
:
1px
;
left
:
7px
;
opacity
:
.5
;
...
...
@@ -355,7 +355,7 @@ export default {
content
:
""
;
position
:
absolute
;
height
:
23px
;
top
:
-1
4
px
;
top
:
-1
6
px
;
width
:
1px
;
left
:
7px
;
opacity
:
.5
;
...
...
@@ -401,7 +401,7 @@ export default {
background-size
:
contain
;
}
.qsztImg
{
width
:
1
4
px
;
width
:
1
6
px
;
position
:
relative
;
top
:
1px
;
}
...
...
src/components/lineTree/lineTree.vue
View file @
390227f
<
template
>
<div
class=
"content column-start-center reTree_box"
:style=
"
{ fontSize: (size || 1
4) + 'px', lineHeight: (size || 14
) + 'px', width: (islpb ? '200':'374') + 'px' }"
:style=
"
{ fontSize: (size || 1
6) + 'px', lineHeight: (size || 16
) + 'px', width: (islpb ? '200':'374') + 'px' }"
>
<div
class=
"column-start-center basic_layer"
...
...
@@ -19,8 +19,8 @@
<div
class=
"reTree_icon"
:style=
"
{
height: (size || 1
4
* 1.2) + 'px',
width: (size || 1
4
* 1.2) + 'px',
height: (size || 1
6
* 1.2) + 'px',
width: (size || 1
6
* 1.2) + 'px',
}"
:class="{
reTree_default_icon: item.children.length === 0,
...
...
@@ -129,7 +129,7 @@ export default {
pd
:
{},
size
:
{
type
:
Number
,
default
:
1
4
,
default
:
1
6
,
},
islpb
:{
type
:
Boolean
,
...
...
@@ -730,8 +730,8 @@ export default {
content
:
""
;
position
:
absolute
;
/* 为了触顶 */
top
:
-1
4
px
;
height
:
calc
(
100%
+
1
4
px
);
top
:
-1
6
px
;
height
:
calc
(
100%
+
1
6
px
);
width
:
1px
;
left
:
9px
;
background
:
#c3c5c8
;
...
...
@@ -741,7 +741,7 @@ export default {
content
:
""
;
position
:
absolute
;
height
:
23px
;
top
:
-1
4
px
;
top
:
-1
6
px
;
width
:
1px
;
left
:
9px
;
background
:
#c3c5c8
;
...
...
src/views/Home.vue
View file @
390227f
...
...
@@ -468,7 +468,7 @@ export default {
cursor
:
pointer
;
height
:
60px
;
padding
:
0
30px
;
font-size
:
1
6
px
;
font-size
:
1
8
px
;
line-height
:
60px
;
float
:
left
;
position
:
relative
;
...
...
src/views/panel/change/fg/index.vue
View file @
390227f
...
...
@@ -900,7 +900,7 @@
>
.el-tabs__item
{
border
:
1px
solid
#DEDEDE
;
height
:
36px
;
line-height
:
3
6
px
;
line-height
:
3
2
px
;
padding
:
0
20px
;
margin
:
9px
10px
9px
0
;
background-color
:
#ffffff
;
...
...
src/views/panel/change/hb/index.vue
View file @
390227f
...
...
@@ -496,7 +496,7 @@
>
.el-tabs__item
{
border
:
1px
solid
#DEDEDE
;
height
:
36px
;
line-height
:
3
6
px
;
line-height
:
3
2
px
;
padding
:
0
20px
;
margin
:
9px
10px
9px
0
;
background-color
:
#ffffff
;
...
...
Please
register
or
sign in
to post a comment