Commit 739a550b by 张杰

修改图标地址

1 parent fe1ac721
.wrap { .wrap {
/* min-height: 949px; */ /* min-height: 949px; */
main { main {
display: block; display: block;
margin: 0; margin: 0;
//background-color: #f3f3f4; //background-color: #f3f3f4;
/*min-height: 949px; /*min-height: 949px;
*/position: relative; */
position: relative;
-webkit-transition: margin .1s linear; -webkit-transition: margin .1s linear;
transition: margin .1s linear; transition: margin .1s linear;
-moz-transition: margin .1s linear; -moz-transition: margin .1s linear;
-ms-transition: margin .1s linear; -ms-transition: margin .1s linear;
-o-transition: margin .1s linear; -o-transition: margin .1s linear;
} }
.sidebar { .sidebar {
position: absolute; position: absolute;
...@@ -20,14 +21,16 @@ ...@@ -20,14 +21,16 @@
left: 0px; left: 0px;
width: 220px; width: 220px;
height: 100%; height: 100%;
-webkit-transition: width .1s linear; -webkit-transition: width .1s linear;
transition: width .1s linear; transition: width .1s linear;
font-size: 13px !important; font-size: 13px !important;
* { * {
font-size: 13px !important; font-size: 13px !important;
} }
color:#a7b1c2; color:#a7b1c2;
} }
&.full-width { &.full-width {
...@@ -36,13 +39,15 @@ ...@@ -36,13 +39,15 @@
/* -webkit-transition: margin .3s linear; /* -webkit-transition: margin .3s linear;
transition: margin .3s linear; */ transition: margin .3s linear; */
} }
.sidebar { .sidebar {
width: 64px; width: 64px;
/* -webkit-transition: width .3s linear; /* -webkit-transition: width .3s linear;
transition: width .3s linear; */ transition: width .3s linear; */
} }
.nav-footer{
.nav-footer {
display: none; display: none;
} }
} }
...@@ -69,33 +74,38 @@ ...@@ -69,33 +74,38 @@
.el-popper[x-placement^="bottom"] { .el-popper[x-placement^="bottom"] {
margin-top: 2px; margin-top: 2px;
} }
.el-input.is-disabled .el-input__inner{
.el-input.is-disabled .el-input__inner {
color: #666; color: #666;
} }
/* .el-table--scrollable-x .el-table__body-wrapper{解决被遮挡 /* .el-table--scrollable-x .el-table__body-wrapper{解决被遮挡
z-index: 100; z-index: 100;
} */ } */
.el-date-editor{ .el-date-editor {
vertical-align: middle; vertical-align: middle;
} }
.table-header-ctrl { .table-header-ctrl {
margin: 0px; margin: 0px;
min-height: 70px; min-height: 70px;
.el-input, .el-input,
.el-date-editor, .el-date-editor,
.el-select { .el-select {
width: 100%; width: 100%;
} }
.el-input__suffix { .el-input__suffix {
right: 15px; right: 15px;
} }
input{ input {
border-radius: 0px; border-radius: 0px;
} }
.el-date-editor{
.el-date-editor {
border-radius: 0px; border-radius: 0px;
margin-top: 7px; margin-top: 7px;
} }
...@@ -103,6 +113,7 @@ ...@@ -103,6 +113,7 @@
td.ctrl-column { td.ctrl-column {
padding-left: 50px; padding-left: 50px;
.el-dropdown { .el-dropdown {
margin-top: 5px; margin-top: 5px;
} }
...@@ -120,37 +131,62 @@ td.ctrl-column { ...@@ -120,37 +131,62 @@ td.ctrl-column {
.el-table th>.cell { .el-table th>.cell {
color: #666; color: #666;
} }
.pull-right{
float: right; .pull-right {
float: right;
} }
.pull-left{
float: left; .pull-left {
float: left;
} }
.text-center{
.text-center {
text-align: center; text-align: center;
} }
.table-page-wrap{
float: right; .table-page-wrap {
margin: 20px 0px; float: right;
margin: 20px 0px;
} }
.el-message{//避免被el-dialog遮罩层遮住
.el-message {
//避免被el-dialog遮罩层遮住
z-index: 3000 !important; z-index: 3000 !important;
} }
.el-tree .device-invalid{ .el-tree .device-invalid {
color: #999; color: #999;
} }
.el-tree-node:focus > .el-tree-node__content{
.el-tree-node:focus>.el-tree-node__content {
background-color: inherit; background-color: inherit;
} }
#editOrderModal #color .el-form-item__label{
color: red !important; #editOrderModal #color .el-form-item__label {
color: red !important;
} }
.el-alert--success { .el-alert--success {
background-color: #f0f9eb; background-color: #f0f9eb;
color: #67c23a; color: #67c23a;
} }
.el-alert--error { .el-alert--error {
background-color: #fef0f0; background-color: #fef0f0;
color: #f56c6c; color: #f56c6c;
}
// 监控页面图标
.icon_info_shop {
width: 24px;
height: 24px;
background: url('@/assets/images/info_shop.png') no-repeat;
background-size: 24px auto;
}
.icon_info_plate {
background: url('@/assets/images/info_plate.png') no-repeat;
background-size: 24px auto;
width: 24px;
height: 24px;
} }
\ No newline at end of file \ No newline at end of file
.icon {display: inline-block;background-image: url(~sprite.png);background-size: 123px 119px; vertical-align: middle;} .icon {display: inline-block;background-image: url(~sprite.png);background-size: 119px 97px; 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: -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
.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

9.49 KB | W: | H:

8.86 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
...@@ -334,6 +334,7 @@ MapService.prototype = { ...@@ -334,6 +334,7 @@ MapService.prototype = {
infoDiv.querySelector('[data-time]').textContent = eLocation.dateTime; infoDiv.querySelector('[data-time]').textContent = eLocation.dateTime;
EventBus.$emit('uiMap.monitor.changeELocate', info) EventBus.$emit('uiMap.monitor.changeELocate', info)
EventBus.$emit('uiMap.monitor.drawDone'); EventBus.$emit('uiMap.monitor.drawDone');
self.setFitView()
}) })
gpsBtn && (gpsBtn.onclick = function (e) { gpsBtn && (gpsBtn.onclick = function (e) {
...@@ -354,6 +355,7 @@ MapService.prototype = { ...@@ -354,6 +355,7 @@ MapService.prototype = {
infoDiv.querySelector('[data-time]').textContent = eLocation.dateTime; infoDiv.querySelector('[data-time]').textContent = eLocation.dateTime;
EventBus.$emit('uiMap.monitor.changeELocate', info) EventBus.$emit('uiMap.monitor.changeELocate', info)
EventBus.$emit('uiMap.monitor.drawDone'); EventBus.$emit('uiMap.monitor.drawDone');
self.setFitView()
}) })
wifiBtn && (wifiBtn.onclick = function (e) { wifiBtn && (wifiBtn.onclick = function (e) {
...@@ -361,6 +363,7 @@ MapService.prototype = { ...@@ -361,6 +363,7 @@ MapService.prototype = {
//infoDiv.querySelector('[data-transferAddress]').textContent = eLocation.transferAddress; //infoDiv.querySelector('[data-transferAddress]').textContent = eLocation.transferAddress;
//infoDiv.querySelector('[data-time]').textContent = eLocation.time; //infoDiv.querySelector('[data-time]').textContent = eLocation.time;
EventBus.$emit('uiMap.monitor.wifiLocate', { info, infoDiv, gpsBtn, baseBtn, wifiBtn }) EventBus.$emit('uiMap.monitor.wifiLocate', { info, infoDiv, gpsBtn, baseBtn, wifiBtn })
self.setFitView()
}) })
if (info.alarmTypeSet && info.alarmTypeSet.length) { if (info.alarmTypeSet && info.alarmTypeSet.length) {
...@@ -568,11 +571,11 @@ MapService.prototype = { ...@@ -568,11 +571,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 icon-info_shop"></i> 店面名称: <span class="des">${info.shopName || '--'}</span></p>`; _html += `<p><i class="icon_info_shop"></i> 店面名称: <span class="des">${info.shopName || '--'}</span></p>`;
} }
if (n && info.licensePlate) { if (n && info.licensePlate) {
_html += `<p><i class="icon icon-info_plate"></i>车牌号: <span class="des">${info.licensePlate || '--'}</span></p>`; _html += `<p><i class="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!