Commit 863dd31c by 张杰

修复店面图标、车牌图标不显示的问题

1 parent 47625826
.icon {display: inline-block;background-image: url(~sprite.png);background-size: 119px 97px; vertical-align: middle;}
.icon {display: inline-block;background-image: url(~sprite.png);background-size: 123px 119px; vertical-align: middle;}
.icon-battery_empty { width: 42px; height: 20px; background-position: 0px 0px; }
.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
.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

8.86 KB | W: | H:

9.49 KB | W: | H:

src/assets/spritesmith-generated/sprite.png
src/assets/spritesmith-generated/sprite.png
src/assets/spritesmith-generated/sprite.png
src/assets/spritesmith-generated/sprite.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -568,11 +568,11 @@ MapService.prototype = {
let n = list.find(k => k.origin.permissionTag == 'oEshield_monitor_plate_number');
console.log(list)
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) {
_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>`;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!