Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
oEshield
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 863dd31c
authored
Apr 18, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复店面图标、车牌图标不显示的问题
1 parent
47625826
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
48 additions
and
46 deletions
src/assets/spritesmith-generated/plate.png → src/assets/ico/info_plate.png
src/assets/spritesmith-generated/shop.png → src/assets/ico/info_shop.png
src/assets/spritesmith-generated/sprite.css
src/assets/spritesmith-generated/sprite.png
src/utils/mapService.js
src/assets/
spritesmith-generated/
plate.png
→
src/assets/
ico/info_
plate.png
View file @
863dd31
762 Bytes
src/assets/
spritesmith-generated/
shop.png
→
src/assets/
ico/info_
shop.png
View file @
863dd31
642 Bytes
src/assets/spritesmith-generated/sprite.css
View file @
863dd31
.icon
{
display
:
inline-block
;
background-image
:
url(~sprite.png)
;
background-size
:
1
19px
97
px
;
vertical-align
:
middle
;}
.icon
{
display
:
inline-block
;
background-image
:
url(~sprite.png)
;
background-size
:
1
23px
119
px
;
vertical-align
:
middle
;}
.icon-battery_empty
{
width
:
42px
;
height
:
20px
;
background-position
:
0px
0px
;
}
.icon-battery_empty
{
width
:
42px
;
height
:
20px
;
background-position
:
0px
0px
;
}
.icon-battery_enough
{
width
:
42px
;
height
:
20px
;
background-position
:
0px
-20px
;
}
.icon-battery_enough
{
width
:
42px
;
height
:
20px
;
background-position
:
0px
-20px
;
}
.icon-fullsize.active
{
width
:
18px
;
height
:
18px
;
background-position
:
0px
-79px
;
}
.icon-fullsize
:active
{
width
:
18px
;
height
:
18px
;
background-position
:
0px
-79px
;
}
.icon-fullsize
:hover
{
background-position
:
0px
-79px
;
}
.icon-fullsize
{
width
:
18px
;
height
:
18px
;
background-position
:
-18px
-79px
;
}
.icon-icon_zoom_out.active
{
width
:
18px
;
height
:
18px
;
background-position
:
-36px
-79px
;
}
.icon-icon_zoom_out
:active
{
width
:
18px
;
height
:
18px
;
background-position
:
-36px
-79px
;
}
.icon-icon_zoom_out
:hover
{
background-position
:
-36px
-79px
;
}
.icon-icon_zoom_out
{
width
:
18px
;
height
:
18px
;
background-position
:
-54px
-79px
;
}
.icon-info_copy.active
{
width
:
16px
;
height
:
16px
;
background-position
:
-101px
-36px
;
}
.icon-info_copy
:active
{
width
:
16px
;
height
:
16px
;
background-position
:
-101px
-36px
;
}
.icon-info_copy
:hover
{
background-position
:
-101px
-36px
;
}
.icon-info_copy
{
width
:
16px
;
height
:
16px
;
background-position
:
-101px
-52px
;
}
.icon-info_device_alarm
{
width
:
20px
;
height
:
20px
;
background-position
:
-42px
0px
;
}
.icon-info_device_status
{
width
:
20px
;
height
:
20px
;
background-position
:
-42px
-20px
;
}
.icon-info_device
{
width
:
20px
;
height
:
20px
;
background-position
:
0px
-40px
;
}
.icon-info_location
{
width
:
20px
;
height
:
20px
;
background-position
:
-20px
-40px
;
}
.icon-info_stop
{
width
:
20px
;
height
:
20px
;
background-position
:
-40px
-40px
;
}
.icon-info_time
{
width
:
20px
;
height
:
20px
;
background-position
:
-62px
0px
;
}
.icon-info_type
{
width
:
20px
;
height
:
20px
;
background-position
:
-62px
-20px
;
}
.icon-locate.active
{
width
:
19px
;
height
:
19px
;
background-position
:
-62px
-40px
;
}
.icon-locate
:active
{
width
:
19px
;
height
:
19px
;
background-position
:
-62px
-40px
;
}
.icon-locate
:hover
{
background-position
:
-62px
-40px
;
}
.icon-locate
{
width
:
19px
;
height
:
19px
;
background-position
:
0px
-60px
;
}
.icon-minisize.active
{
width
:
18px
;
height
:
19px
;
background-position
:
-82px
-19px
;
}
.icon-minisize
:active
{
width
:
18px
;
height
:
19px
;
background-position
:
-82px
-19px
;
}
.icon-minisize
:hover
{
background-position
:
-82px
-19px
;
}
.icon-minisize
{
width
:
18px
;
height
:
18px
;
background-position
:
-72px
-79px
;
}
.icon-refresh.active
{
width
:
18px
;
height
:
19px
;
background-position
:
-82px
-38px
;
}
.icon-refresh
:active
{
width
:
18px
;
height
:
19px
;
background-position
:
-82px
-38px
;
}
.icon-refresh
:hover
{
background-position
:
-82px
-38px
;
}
.icon-refresh
{
width
:
18px
;
height
:
19px
;
background-position
:
-82px
-57px
;
}
.icon-ruler.active
{
width
:
19px
;
height
:
19px
;
background-position
:
-19px
-60px
;
}
.icon-ruler
:active
{
width
:
19px
;
height
:
19px
;
background-position
:
-19px
-60px
;
}
.icon-ruler
:hover
{
background-position
:
-19px
-60px
;
}
.icon-ruler
{
width
:
19px
;
height
:
19px
;
background-position
:
-38px
-60px
;
}
.icon-satellite.active
{
width
:
18px
;
height
:
18px
;
background-position
:
-101px
0px
;
}
.icon-satellite
:active
{
width
:
18px
;
height
:
18px
;
background-position
:
-101px
0px
;
}
.icon-satellite
:hover
{
background-position
:
-101px
0px
;
}
.icon-satellite
{
width
:
18px
;
height
:
18px
;
background-position
:
-101px
-18px
;
}
.icon-zoom_in.active
{
width
:
19px
;
height
:
19px
;
background-position
:
-57px
-60px
;
}
.icon-zoom_in
:active
{
width
:
19px
;
height
:
19px
;
background-position
:
-57px
-60px
;
}
.icon-zoom_in
:hover
{
background-position
:
-57px
-60px
;
}
.icon-zoom_in
{
width
:
19px
;
height
:
19px
;
background-position
:
-82px
0px
;
}
\ No newline at end of file
\ No newline at end of file
.icon-fullsize.active
{
width
:
18px
;
height
:
18px
;
background-position
:
-54px
-84px
;
}
.icon-fullsize
:active
{
width
:
18px
;
height
:
18px
;
background-position
:
-54px
-84px
;
}
.icon-fullsize
:hover
{
background-position
:
-54px
-84px
;
}
.icon-fullsize
{
width
:
18px
;
height
:
18px
;
background-position
:
-72px
-84px
;
}
.icon-icon_zoom_out.active
{
width
:
18px
;
height
:
18px
;
background-position
:
-105px
0px
;
}
.icon-icon_zoom_out
:active
{
width
:
18px
;
height
:
18px
;
background-position
:
-105px
0px
;
}
.icon-icon_zoom_out
:hover
{
background-position
:
-105px
0px
;
}
.icon-icon_zoom_out
{
width
:
18px
;
height
:
18px
;
background-position
:
-105px
-18px
;
}
.icon-info_copy.active
{
width
:
16px
;
height
:
16px
;
background-position
:
-42px
-24px
;
}
.icon-info_copy
:active
{
width
:
16px
;
height
:
16px
;
background-position
:
-42px
-24px
;
}
.icon-info_copy
:hover
{
background-position
:
-42px
-24px
;
}
.icon-info_copy
{
width
:
16px
;
height
:
16px
;
background-position
:
0px
-103px
;
}
.icon-info_device_alarm
{
width
:
20px
;
height
:
20px
;
background-position
:
-24px
-40px
;
}
.icon-info_device_status
{
width
:
20px
;
height
:
20px
;
background-position
:
-44px
-40px
;
}
.icon-info_device
{
width
:
20px
;
height
:
20px
;
background-position
:
-66px
0px
;
}
.icon-info_location
{
width
:
20px
;
height
:
20px
;
background-position
:
-66px
-20px
;
}
.icon-info_plate
{
width
:
24px
;
height
:
24px
;
background-position
:
-42px
0px
;
}
.icon-info_shop
{
width
:
24px
;
height
:
24px
;
background-position
:
0px
-40px
;
}
.icon-info_stop
{
width
:
20px
;
height
:
20px
;
background-position
:
-66px
-40px
;
}
.icon-info_time
{
width
:
20px
;
height
:
20px
;
background-position
:
0px
-64px
;
}
.icon-info_type
{
width
:
20px
;
height
:
20px
;
background-position
:
-20px
-64px
;
}
.icon-locate.active
{
width
:
19px
;
height
:
19px
;
background-position
:
-40px
-64px
;
}
.icon-locate
:active
{
width
:
19px
;
height
:
19px
;
background-position
:
-40px
-64px
;
}
.icon-locate
:hover
{
background-position
:
-40px
-64px
;
}
.icon-locate
{
width
:
19px
;
height
:
19px
;
background-position
:
-59px
-64px
;
}
.icon-minisize.active
{
width
:
18px
;
height
:
19px
;
background-position
:
0px
-84px
;
}
.icon-minisize
:active
{
width
:
18px
;
height
:
19px
;
background-position
:
0px
-84px
;
}
.icon-minisize
:hover
{
background-position
:
0px
-84px
;
}
.icon-minisize
{
width
:
18px
;
height
:
18px
;
background-position
:
-105px
-36px
;
}
.icon-refresh.active
{
width
:
18px
;
height
:
19px
;
background-position
:
-18px
-84px
;
}
.icon-refresh
:active
{
width
:
18px
;
height
:
19px
;
background-position
:
-18px
-84px
;
}
.icon-refresh
:hover
{
background-position
:
-18px
-84px
;
}
.icon-refresh
{
width
:
18px
;
height
:
19px
;
background-position
:
-36px
-84px
;
}
.icon-ruler.active
{
width
:
19px
;
height
:
19px
;
background-position
:
-86px
0px
;
}
.icon-ruler
:active
{
width
:
19px
;
height
:
19px
;
background-position
:
-86px
0px
;
}
.icon-ruler
:hover
{
background-position
:
-86px
0px
;
}
.icon-ruler
{
width
:
19px
;
height
:
19px
;
background-position
:
-86px
-19px
;
}
.icon-satellite.active
{
width
:
18px
;
height
:
18px
;
background-position
:
-105px
-54px
;
}
.icon-satellite
:active
{
width
:
18px
;
height
:
18px
;
background-position
:
-105px
-54px
;
}
.icon-satellite
:hover
{
background-position
:
-105px
-54px
;
}
.icon-satellite
{
width
:
18px
;
height
:
18px
;
background-position
:
-105px
-72px
;
}
.icon-zoom_in.active
{
width
:
19px
;
height
:
19px
;
background-position
:
-86px
-38px
;
}
.icon-zoom_in
:active
{
width
:
19px
;
height
:
19px
;
background-position
:
-86px
-38px
;
}
.icon-zoom_in
:hover
{
background-position
:
-86px
-38px
;
}
.icon-zoom_in
{
width
:
19px
;
height
:
19px
;
background-position
:
-86px
-57px
;
}
\ No newline at end of file
\ No newline at end of file
src/assets/spritesmith-generated/sprite.png
View file @
863dd31
8.86 KB
|
W:
|
H:
9.49 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/utils/mapService.js
View file @
863dd31
...
@@ -568,11 +568,11 @@ MapService.prototype = {
...
@@ -568,11 +568,11 @@ MapService.prototype = {
let
n
=
list
.
find
(
k
=>
k
.
origin
.
permissionTag
==
'oEshield_monitor_plate_number'
);
let
n
=
list
.
find
(
k
=>
k
.
origin
.
permissionTag
==
'oEshield_monitor_plate_number'
);
console
.
log
(
list
)
console
.
log
(
list
)
if
(
o
&&
info
.
shopName
)
{
if
(
o
&&
info
.
shopName
)
{
_html
+=
`<p><i class="icon-info_shop"></i> 店面名称: <span class="des">
${
info
.
shopName
||
'--'
}
</span></p>`
;
_html
+=
`<p><i class="icon
icon
-info_shop"></i> 店面名称: <span class="des">
${
info
.
shopName
||
'--'
}
</span></p>`
;
}
}
if
(
n
&&
info
.
licensePlate
)
{
if
(
n
&&
info
.
licensePlate
)
{
_html
+=
`<p><i class="icon-info_plate"></i>车牌号: <span class="des">
${
info
.
licensePlate
||
'--'
}
</span></p>`
;
_html
+=
`<p><i class="icon
icon
-info_plate"></i>车牌号: <span class="des">
${
info
.
licensePlate
||
'--'
}
</span></p>`
;
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment