Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baidu_map
Project
Project
Details
Activity
Releases
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
mahui
baidu_map
Commits
89977dee
Commit
89977dee
authored
Sep 26, 2021
by
mahui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
点聚合加载
parent
6f05c39d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
map.vue
src/components/map.vue
+1
-1
No files found.
src/components/map.vue
View file @
89977dee
...
...
@@ -1408,7 +1408,7 @@
let
str
=
`<p style="font-weight: 700">
${
item
.
name
}
</p>`
;
str
+=
`<p>维护单位:
${
item
.
type
}
</p>`
;
str
+=
`<p>摄像头类型:
${
item
.
category
}
机</p>`
;
str
+=
`<p>监控
类型
:
${
item
.
features
}
</p>`
;
str
+=
`<p>监控
功能
:
${
item
.
features
}
</p>`
;
let
url
=
"static/blue.png"
;
url
=
`static/
${
item
.
type
==
"保安"
||
item
.
type
==
"电信"
||
item
.
type
==
"移动"
||
item
.
type
==
"华数"
?
item
.
type
:
"普通监控"
}
.png`
;
let
label
=
new
BMap
.
Label
(
str
,
opts
);
// 创建文本标注对象
...
...
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