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
2d85ca7a
Commit
2d85ca7a
authored
Sep 26, 2021
by
mahui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
点聚合加载
parent
e6dded6c
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 @
2d85ca7a
...
@@ -43979,7 +43979,7 @@
...
@@ -43979,7 +43979,7 @@
str += `<p>摄像头类型:${item.category}机</p>`;
str += `<p>摄像头类型:${item.category}机</p>`;
str += `<p>监控类型:${item.features}</p>`;
str += `<p>监控类型:${item.features}</p>`;
let url = "static/blue.png";
let url = "static/blue.png";
url = `static/${item.type=="保安"||item.type=="
保安"||item.type=="保安"||item.type=="保安
"?item.type:"普通监控"}.png`;
url = `static/${item.type=="保安"||item.type=="
电信"||item.type=="移动"||item.type=="华数
"?item.type:"普通监控"}.png`;
let label = new BMap.Label(str, opts); // 创建文本标注对象
let label = new BMap.Label(str, opts); // 创建文本标注对象
label.setStyle({
label.setStyle({
color: "#444",
color: "#444",
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