Commit f387a8f7 authored by yaqizhang's avatar yaqizhang

样式

parent 67ce4ee0
...@@ -1174,13 +1174,21 @@ function renderAlarmList(obj) { ...@@ -1174,13 +1174,21 @@ function renderAlarmList(obj) {
<div style="width: 25%; overflow: hidden;">${new Date(pageData[i].alarmTime).toLocaleString('zh-CN', { <div style="width: 25%; overflow: hidden;">${new Date(pageData[i].alarmTime).toLocaleString('zh-CN', {
hour12: false, hour12: false,
})}</div> })}</div>
<div style="width: 15%; overflow: hidden;">${pageData[i].handledStatus}</div> <div class="xc" style="width: 15%; overflow: hidden;">${pageData[i].handledStatus}</div>
</li>`; </li>`;
} }
tmpHtml += '</ul>'; tmpHtml += '</ul>';
$('.listContent').html(tmpHtml); $('.listContent').html(tmpHtml);
$('.listContent').FontScroll({ time: 2000, num: 1 }); $('.listContent').FontScroll({ time: 2000, num: 1 });
var xc=document.getElementsByClassName("xc")
if(xc === "已消除"){
return{'color':'#64FEFF'};
}else if(xc === "未消除"){
return{'color':'#E827B2'};
}
} else { } else {
layLayer.alert('暂无数据'); layLayer.alert('暂无数据');
} }
......
...@@ -284,7 +284,7 @@ table.layui-table th { ...@@ -284,7 +284,7 @@ table.layui-table th {
#legend { #legend {
overflow: hidden; overflow: hidden;
width: 200%; width: 200%;
margin-left: 670px; margin-left: 610px;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
margin-bottom: 10px; margin-bottom: 10px;
...@@ -1220,8 +1220,8 @@ table.layui-table th { ...@@ -1220,8 +1220,8 @@ table.layui-table th {
} }
.serBtn { .serBtn {
background: #152136; background: #152136;
width: 50px; width: 45px;
height: 50px; height: 45px;
text-align: center; text-align: center;
outline: none; outline: none;
border-radius: 5px; border-radius: 5px;
...@@ -1312,7 +1312,7 @@ table.layui-table th { ...@@ -1312,7 +1312,7 @@ table.layui-table th {
padding: 0px 10px; padding: 0px 10px;
/* border-radius: 10px; */ /* border-radius: 10px; */
margin-bottom: 40px; margin-bottom: 40px;
margin-left: 30px; margin-left: -10px;
border: 1px solid #183158; border: 1px solid #183158;
background: url(../images/groupshi.png)no-repeat; background: url(../images/groupshi.png)no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
...@@ -1610,15 +1610,15 @@ div[lay-id='members'] thead tr:nth-child(1) { ...@@ -1610,15 +1610,15 @@ div[lay-id='members'] thead tr:nth-child(1) {
position: absolute; position: absolute;
top: 302px !important; top: 302px !important;
right: 452px !important; right: 452px !important;
width: 50px; width: 45px;
height: 50px; height: 45px;
} }
.amap-maptype-con { .amap-maptype-con {
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
width: 51px !important; width: 46px !important;
height: 51px !important; height: 46px !important;
/* background: #fff; */ /* background: #fff; */
border: solid 0px #ccc !important; border: solid 0px #ccc !important;
border-radius: 5px !important; border-radius: 5px !important;
...@@ -1628,8 +1628,8 @@ div[lay-id='members'] thead tr:nth-child(1) { ...@@ -1628,8 +1628,8 @@ div[lay-id='members'] thead tr:nth-child(1) {
position: absolute; position: absolute;
top: 1px; top: 1px;
right: 1px; right: 1px;
width: 50px !important; width: 45px !important;
height: 50px !important; height: 45px !important;
overflow: hidden; overflow: hidden;
background: #ccc; background: #ccc;
border: solid 0px #ccc !important; border: solid 0px #ccc !important;
...@@ -1639,7 +1639,7 @@ div[lay-id='members'] thead tr:nth-child(1) { ...@@ -1639,7 +1639,7 @@ div[lay-id='members'] thead tr:nth-child(1) {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;
width: 50px !important; width: 45px !important;
height: 20px; height: 20px;
color: #fff; color: #fff;
text-align: center; text-align: center;
...@@ -1653,7 +1653,7 @@ div[lay-id='members'] thead tr:nth-child(1) { ...@@ -1653,7 +1653,7 @@ div[lay-id='members'] thead tr:nth-child(1) {
background: #152136; background: #152136;
} }
.amap-maptype-list { .amap-maptype-list {
width: 50px !important; width: 45px !important;
border-radius: 5px !important; border-radius: 5px !important;
display: block; display: block;
height: 20px; height: 20px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment