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
d9b21eb2
Commit
d9b21eb2
authored
Sep 17, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换底图
parent
d8b1c2bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
41 deletions
+41
-41
bg.png
src/assets/images/bg.png
+0
-0
index.vue
src/pages/routes/ol/index/index.vue
+41
-41
No files found.
src/assets/images/bg.png
View replaced file @
d8b1c2bd
View file @
d9b21eb2
This image diff could not be displayed because it is too large. You can
view the blob
instead.
src/pages/routes/ol/index/index.vue
View file @
d9b21eb2
...
@@ -9,10 +9,10 @@
...
@@ -9,10 +9,10 @@
element-loading-spinner="el-icon-loading"
element-loading-spinner="el-icon-loading"
element-loading-background="rgba(0, 0, 0, 0.2)" >
element-loading-background="rgba(0, 0, 0, 0.2)" >
<div
class=
"left"
v-if=
'stationList[0]'
>
<
!--
<
div
class=
"left"
v-if=
'stationList[0]'
>
</div>
</div>
<div
class=
"center"
v-if=
'stationList[1]'
></div>
<div
class=
"center"
v-if=
'stationList[1]'
></div>
<div
class=
"right"
v-if=
'stationList[2]'
></div>
<div
class=
"right"
v-if=
'stationList[2]'
></div>
-->
<div
v-for=
"item in stationList"
:key=
"item.id"
:style=
"
{'left':item.x,'top':item.y}" class="stationWarp" @click='handleStation(item.id)'>
<div
v-for=
"item in stationList"
:key=
"item.id"
:style=
"
{'left':item.x,'top':item.y}" class="stationWarp" @click='handleStation(item.id)'>
<div
:class=
"['stationPoint',alarmList.map(e=>e.stationId).includes(item.id)?'css_animation':'']"
></div>
<div
:class=
"['stationPoint',alarmList.map(e=>e.stationId).includes(item.id)?'css_animation':'']"
></div>
...
@@ -378,7 +378,7 @@
...
@@ -378,7 +378,7 @@
// console.log('alarm', data)
// console.log('alarm', data)
this
.
alarmList
=
data
.
list
this
.
alarmList
=
data
.
list
this
.
stationAlarmList
=
data
.
stationAlarmList
this
.
stationAlarmList
=
data
.
stationAlarmList
//
console.log('stationAlarmList:', this.stationAlarmList)
console
.
log
(
'stationAlarmList:'
,
this
.
stationAlarmList
)
isSuccess
=
true
isSuccess
=
true
this
.
oneCount
=
data
.
countList
.
oneCount
this
.
oneCount
=
data
.
countList
.
oneCount
this
.
twoCount
=
data
.
countList
.
twoCount
this
.
twoCount
=
data
.
countList
.
twoCount
...
@@ -412,7 +412,7 @@
...
@@ -412,7 +412,7 @@
params
:
this
.
$http
.
adornParams
(
params
)
params
:
this
.
$http
.
adornParams
(
params
)
}).
then
(
data
=>
{
}).
then
(
data
=>
{
if
(
data
)
{
if
(
data
)
{
//
console.log('stationList:', data.list[0])
console
.
log
(
'stationList:'
,
data
.
list
[
0
])
// 站点集合
// 站点集合
this
.
stationList
=
data
.
list
[
0
]
this
.
stationList
=
data
.
list
[
0
]
// 线路
// 线路
...
@@ -942,44 +942,44 @@ color: #fff;
...
@@ -942,44 +942,44 @@ color: #fff;
left
:
0
;
left
:
0
;
background
:
url('../../../../assets/images/bg.png')
no-repeat
;
background
:
url('../../../../assets/images/bg.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
.left
{
//
.left{
width
:
13%
;
//
width: 13%;
height
:
90px
;
//
height: 90px;
height
:
12%
;
//
height: 12%;
line-height
:
12%
;
//
line-height: 12%;
text-align
:
center
;
//
text-align: center;
border
:
1px
solid
red
;
//
border: 1px solid red;
position
:
absolute
;
//
position: absolute;
left
:
30%
;
//
left: 30%;
top
:
24%
;
//
top: 24%;
transform
:
skewX
(
-44deg
)
rotate
(
5deg
);
//
transform: skewX(-44deg) rotate(5deg);
}
//
}
.center
{
//
.center{
width
:
22%
;
//
width: 22%;
height
:
440px
;
//
height: 440px;
height
:
56%
;
//
height: 56%;
line-height
:
56%
;
//
line-height: 56%;
text-align
:
center
;
//
text-align: center;
border
:
1px
solid
red
;
//
border: 1px solid red;
position
:
absolute
;
//
position: absolute;
left
:
40
.5%
;
//
left: 40.5%;
top
:
29%
;
//
top: 29%;
transform
:
skewX
(
-16deg
)
rotate
(
6deg
);
//
transform: skewX(-16deg) rotate(6deg);
}
//
}
.right
{
//
.right{
width
:
15%
;
//
width: 15%;
height
:
170px
;
//
height: 170px;
height
:
22%
;
//
height: 22%;
line-height
:
22%
;
//
line-height: 22%;
text-align
:
center
;
//
text-align: center;
border
:
1px
solid
red
;
//
border: 1px solid red;
position
:
absolute
;
//
position: absolute;
left
:
69%
;
//
left: 69%;
top
:
24%
;
//
top: 24%;
transform
:
skewX
(
7deg
)
rotate
(
4deg
);
//
transform: skewX(7deg) rotate(4deg);
}
//
}
}
}
...
@@ -997,7 +997,7 @@ color: #fff;
...
@@ -997,7 +997,7 @@ color: #fff;
@keyframes
myfirst
{
@keyframes
myfirst
{
to
{
to
{
transform
:
scale
(
3
);
//变换结束大小
transform
:
scale
(
2
.8
);
//变换结束大小
background
:
rgba
(
#FF3823
,
0
);
//结束时颜色
background
:
rgba
(
#FF3823
,
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