Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
station-elec-manage-view
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
station
station-elec-manage-view
Commits
cc78b54e
Commit
cc78b54e
authored
May 25, 2020
by
xinglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整样式
parent
a7ef30de
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mapData.js
src/_mock/mapData.js
+1
-1
map.scss
src/styles/view/monitor/map.scss
+2
-2
No files found.
src/_mock/mapData.js
View file @
cc78b54e
const
mapData
=
[
{
"id"
:
1
,
"name"
:
"安徽电科院"
,
"aliasName"
:
[
"安徽电科院"
,
"安徽电科院"
],
"lng"
:
121.96196
,
"lat"
:
41.971998
,
"path"
:
[{
lng
:
122.577194
,
lat
:
42.069939
},{
lng
:
122.577194
,
lat
:
42.069939
}],
"pathName"
:
""
,
"gradient"
:
0
,
"width"
:
220
,
"height"
:
8
,
"position"
:
"left"
,
"status"
:
1
,
"type"
:
"center"
},
{
"id"
:
2
,
"name"
:
"苏州换流站"
,
"aliasName"
:
[
"苏州换流站"
,
"沂南换流站"
],
"lng"
:
125.917038
,
"lat"
:
41.414152
,
"path"
:
[{
lng
:
125.917038
,
lat
:
41.414152
},{
lng
:
122.577194
,
lat
:
42.069939
}],
"pathName"
:
""
,
"gradient"
:
75
,
"width"
:
125
,
"height"
:
8
,
"position"
:
"right"
,
"status"
:
1
,
"type"
:
"endmost"
},
{
"id"
:
3
,
"name"
:
"宜宾换流站"
,
"aliasName"
:
[
"宜宾换流站"
,
"武汉换流站"
],
"lng"
:
107.32817
,
"lat"
:
38.792894
,
"path"
:
[{
lng
:
107.32817
,
lat
:
38.792894
},{
lng
:
122.577194
,
lat
:
42.069939
}],
"pathName"
:
"
昭沂
直流"
,
"gradient"
:
-
15
,
"width"
:
185
,
"height"
:
8
,
"position"
:
"left"
,
"status"
:
1
,
"type"
:
"endmost"
},
{
"id"
:
3
,
"name"
:
"宜宾换流站"
,
"aliasName"
:
[
"宜宾换流站"
,
"武汉换流站"
],
"lng"
:
107.32817
,
"lat"
:
38.792894
,
"path"
:
[{
lng
:
107.32817
,
lat
:
38.792894
},{
lng
:
122.577194
,
lat
:
42.069939
}],
"pathName"
:
"
宜武
直流"
,
"gradient"
:
-
15
,
"width"
:
185
,
"height"
:
8
,
"position"
:
"left"
,
"status"
:
1
,
"type"
:
"endmost"
},
{
"id"
:
4
,
"name"
:
"陕北换流站"
,
"aliasName"
:
[
"陕北换流站"
,
"沂南换流站"
],
"lng"
:
113.216842
,
"lat"
:
45.679559
,
"path"
:
[{
lng
:
113.216842
,
lat
:
45.679559
},{
lng
:
122.577194
,
lat
:
42.069939
}],
"pathName"
:
"昭沂直流"
,
"gradient"
:
10
,
"width"
:
110
,
"height"
:
8
,
"position"
:
"left"
,
"status"
:
2
,
"type"
:
"endmost"
},
{
"id"
:
5
,
"name"
:
"武汉换流站"
,
"aliasName"
:
[
"武汉换流站"
,
"沂南换流站"
],
"lng"
:
119.720749
,
"lat"
:
40.216897
,
"path"
:
[{
lng
:
119.720749
,
lat
:
40.216897
},{
lng
:
122.577194
,
lat
:
42.069939
}],
"pathName"
:
""
,
"gradient"
:
0
,
"width"
:
125
,
"height"
:
8
,
"position"
:
"left"
,
"status"
:
1
,
"type"
:
"endmost"
},
{
"id"
:
6
,
"name"
:
"复龙换流站"
,
"aliasName"
:
[
"复龙换流站"
,
"沂南换流站"
],
"lng"
:
104.779342
,
"lat"
:
38.690065
,
"path"
:
[{
lng
:
104.779342
,
lat
:
38.690065
},{
lng
:
122.577194
,
lat
:
42.069939
}],
"pathName"
:
""
,
"gradient"
:
0
,
"width"
:
125
,
"height"
:
8
,
"position"
:
"left"
,
"status"
:
1
,
"type"
:
"endmost"
},
...
...
src/styles/view/monitor/map.scss
View file @
cc78b54e
...
...
@@ -64,14 +64,14 @@
.alias-title
{
width
:
90px
;
margin-top
:
-
32
px
;
margin-top
:
-
26
px
;
}
span
{
position
:
absolute
;
float
:
left
;
left
:
1px
;
margin-top
:
-
30
px
;
margin-top
:
-
23
px
;
font-size
:
15px
;
font-family
:
Microsoft
YaHei
;
color
:
#fe0000
;
...
...
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