Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
C
crsf-ptvue
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
wuhan
crsf-ptvue
Commits
0a595166
Commit
0a595166
authored
Sep 18, 2021
by
duhailiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全线设备监测站点位置及图标修改
parent
e57a79ce
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
8 deletions
+45
-8
index.vue
src/layout/header-aside/components/line-header/index.vue
+41
-4
index.vue
src/pages/routes/eq/eqm/index.vue
+4
-4
No files found.
src/layout/header-aside/components/line-header/index.vue
View file @
0a595166
<
template
>
<
template
>
<div
class=
"line-warp"
>
<div
class=
"line-warp"
>
<div
style=
"display:flex;"
:class=
"stationList.length
<
=
20
?'
isOne
'
:
''"
>
<div
style=
"display:flex;"
:class=
"stationList.length
<
=
20
?'
isOne
'
:
''"
>
<img
class=
"line-img"
src=
"../../imgs/car.png"
alt=
""
>
<!--
<img
class=
"line-img"
src=
"../../imgs/car.png"
alt=
""
>
--
>
<div
class=
"select-warp"
v-if=
'flag'
>
<div
class=
"select-warp"
v-if=
'flag'
>
<!--
<select
class=
"line-select"
name=
""
id=
""
>
<!--
<select
class=
"line-select"
name=
""
id=
""
>
<option
v-for=
"item in options"
:key=
"item.value"
:value=
"item.value"
>
{{
item
.
label
}}
</option>
<option
v-for=
"item in options"
:key=
"item.value"
:value=
"item.value"
>
{{
item
.
label
}}
</option>
</select>
-->
</select>
-->
<div
class=
"select-title"
>
选择区域
</div>
<el-select
v-if=
"type==2"
class=
"line-select"
v-model=
"lineId"
placeholder=
""
@
change =
"lineChange"
>
<el-select
v-if=
"type==2"
class=
"line-select"
v-model=
"lineId"
placeholder=
""
@
change =
"lineChange"
>
<el-option
v-for=
"item in lineList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
<el-option
v-for=
"item in lineList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-select>
...
@@ -15,9 +16,13 @@
...
@@ -15,9 +16,13 @@
</div>
</div>
<div
class=
"line-road1"
v-if=
"stationList.length
<
=
20
"
>
<div
class=
"line-road1"
v-if=
"stationList.length
<
=
20
"
>
<div
class=
"line1"
>
<div
class=
"line1"
>
<div
class=
"warp-item"
v-for=
"item in stationList"
:key=
"item.id"
>
<!--
<div
class=
"warp-item"
v-for=
"item in stationList"
:key=
"item.id"
>
<div
class=
"line-point"
:class=
"stationId==item.id ? 'active':''"
@
click=
"pointHandel(item)"
></div>
<div
class=
"line-point"
:class=
"stationId==item.id ? 'active':''"
@
click=
"pointHandel(item)"
></div>
<div
class=
"line-title"
:class=
"stationId==item.id ? 'title-active':''"
>
{{
item
.
title
}}
</div>
<div
class=
"line-title"
:class=
"stationId==item.id ? 'title-active':''"
>
{{
item
.
title
}}
</div>
</div>
-->
<div
class=
"warp-item-box"
v-for=
"item in stationList"
:key=
"item.id"
>
<!--
<div
class=
"line-point"
:class=
"stationId==item.id ? 'active':''"
@
click=
"pointHandel(item)"
></div>
-->
<div
class=
"line-title-box"
:class=
"stationId==item.id ? 'title-active-box':''"
@
click=
"pointHandel(item)"
>
{{
item
.
title
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -187,7 +192,7 @@ export default {
...
@@ -187,7 +192,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.line-warp
{
.line-warp
{
height
:
105
px
;
height
:
60
px
;
background-image
:
url(../../imgs/bg-b.png)
;
background-image
:
url(../../imgs/bg-b.png)
;
background-size
:
100%
100%
!
important
;
background-size
:
100%
100%
!
important
;
padding
:
0
15px
;
padding
:
0
15px
;
...
@@ -198,6 +203,14 @@ export default {
...
@@ -198,6 +203,14 @@ export default {
height
:
25px
;
height
:
25px
;
padding-top
:
5px
;
padding-top
:
5px
;
}
}
.select-warp
{
margin-top
:
-17px
;
}
.select-title
{
color
:
#FFFFFF
;
font-size
:
12px
;
text-indent
:
10px
;
}
.line-select
{
.line-select
{
width
:
100px
;
width
:
100px
;
height
:
25px
;
height
:
25px
;
...
@@ -233,7 +246,8 @@ export default {
...
@@ -233,7 +246,8 @@ export default {
}
}
.line-road1
{
.line-road1
{
width
:
88
.5vw
;
width
:
88
.5vw
;
padding
:
15px
0
0
20px
;
height
:
20px
;
padding
:
6px
0
0
20px
;
.line1
{
.line1
{
display
:
flex
;
display
:
flex
;
width
:
100%
;
width
:
100%
;
...
@@ -250,6 +264,29 @@ export default {
...
@@ -250,6 +264,29 @@ export default {
}
}
.warp-item-box
{
height
:
20px
;
width
:
300px
;
line-height
:
20px
;
text-align
:
center
;
margin-right
:
10px
;
color
:
white
;
font-size
:
12px
;
position
:
relative
;
background
:
#0078CE
;
.line-title-box
{
width
:
100%
;
text-align
:
center
;
color
:
#fff
;
opacity
:
0
.8
;
cursor
:
pointer
;
}
.title-active-box
{
background
:
#11aaf3
;
opacity
:
1
;
}
}
}
}
}
}
.line-road2
{
.line-road2
{
...
...
src/pages/routes/eq/eqm/index.vue
View file @
0a595166
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