Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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
耿迪迪
gassafety-progress
Commits
fccc6b8c
Commit
fccc6b8c
authored
Feb 22, 2022
by
王晓倩
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
a98b4f6b
1d3f5ad1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
25 deletions
+17
-25
PipeColor.vue
gassafetyprogress-web/src/components/bigWindow/PipeColor.vue
+17
-25
No files found.
gassafetyprogress-web/src/components/bigWindow/PipeColor.vue
View file @
fccc6b8c
...
...
@@ -59,23 +59,15 @@
</div>
<div
class=
"mapChange"
>
<div
class=
"qiehuan"
@
mouseover=
"hover = true"
@
mouseleave=
"hover = false"
>
<img
class=
"divfirst"
src=
"../../assets/image/quanjing.png"
alt=
""
>
<div
class=
"mapqh1"
>
地图切换
</div>
<transition
name=
"show"
>
<div
v-if=
"hover"
class=
"qiehuanlog"
>
<div
class=
"qiehuan"
>
<div
:class=
"
{ active: !mapStyle }" @click="mapChange(1)">
<img
src=
"../../assets/image/weixing.png"
alt=
"
"
>
<div
class=
"mapqh2
"
>
卫星
</div>
<img
src=
"../../assets/image/weixing.png"
alt=
""
v-show=
"!downIcon
"
>
<div
class=
"mapqh2"
v-show=
"!downIcon
"
>
卫星
</div>
</div>
<div
:class=
"
{ active: mapStyle }" @click="mapChange(2)">
<img
class=
"divsecond"
src=
"../../assets/image/quanxi.png"
alt=
"
"
>
<div
class=
"mapqh3
"
>
全景
</div>
<img
src=
"../../assets/image/quanxi.png"
alt=
""
v-show=
"downIcon
"
>
<div
class=
"mapqh3"
v-show=
"downIcon
"
>
全景
</div>
</div>
</div>
</transition>
</div>
</div>
</div>
...
...
@@ -85,15 +77,16 @@
import
{
pipeColor
}
from
"@/utils/mapClass/config.js"
;
export
default
{
data
()
{
downIcon
:
true
;
return
{
pipeColor
,
mapStyle
:
true
,
hover
:
false
};
},
methods
:
{
// 更改卫星图
mapChange
(
num
)
{
this
.
downIcon
=
!
this
.
downIcon
if
(
num
==
1
)
{
this
.
mapStyle
=
false
;
}
else
{
...
...
@@ -176,8 +169,8 @@ export default {
}
.qiehuan
img
{
width
:
70
px
;
height
:
40
px
;
width
:
56
px
;
height
:
38
px
;
}
.divsecond
{
margin-left
:
8px
;
...
...
@@ -197,18 +190,17 @@ export default {
}
.mapqh2
{
position
:
fixed
;
margin-top
:
-2
3
px
;
font-size
:
1
4
px
;
margin-top
:
-2
1
px
;
font-size
:
1
2
px
;
color
:
#838280
;
background-color
:
#fff
;
}
.mapqh3
{
position
:
fixed
;
margin-top
:
-2
3
px
;
font-size
:
1
4
px
;
margin-top
:
-2
1
px
;
font-size
:
1
2
px
;
color
:
#838280
;
background-color
:
#fff
;
margin-left
:
8px
;
}
@keyframes
show
{
0
%
{
...
...
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