|
@@ -8,7 +8,7 @@
|
|
|
</div>
|
|
|
<div :class="item.type === '1' ? 'icon1' : 'icon2'"></div>
|
|
|
<div class="text-box">
|
|
|
- <div v-if="item.type === '2'" class="icon3"></div>
|
|
|
+ <div class="icon3"></div>
|
|
|
<div class="text1">{{ item.content }}</div>
|
|
|
<div class="text2">{{ item.time }}</div>
|
|
|
</div>
|
|
@@ -60,12 +60,7 @@ const dataList = ref([
|
|
|
margin-top: 0;
|
|
|
}
|
|
|
.title-box {
|
|
|
- width: 493px;
|
|
|
- height: 50px;
|
|
|
- line-height: 50px;
|
|
|
- //background: url('@/assets/images/emergencyCommandMap/supervision/titleBg.png') no-repeat;
|
|
|
- margin-left: 20px;
|
|
|
- padding: 0 30px;
|
|
|
+ width: 100%;
|
|
|
.title2 {
|
|
|
font-size: 44px;
|
|
|
/* 设置字体透明 */
|
|
@@ -79,14 +74,13 @@ const dataList = ref([
|
|
|
/* 把当前元素设置为行内块,以便能够应用背景 */
|
|
|
display: inline-block;
|
|
|
font-family: 'YouSheBiaoTiHei';
|
|
|
- text-shadow: 0 0 10px #eef8ff;
|
|
|
}
|
|
|
}
|
|
|
.icon1,
|
|
|
.icon2 {
|
|
|
position: absolute;
|
|
|
- top: 4px;
|
|
|
- left: -85px;
|
|
|
+ top: 47px;
|
|
|
+ left: -110px;
|
|
|
}
|
|
|
.icon1 {
|
|
|
width: 107px;
|
|
@@ -100,8 +94,7 @@ const dataList = ref([
|
|
|
}
|
|
|
.text-box {
|
|
|
width: 1762px;
|
|
|
- height: 69px;
|
|
|
- line-height: 69px;
|
|
|
+ height: 115px;
|
|
|
background: url('@/assets/images/emergencyCommandMap/supervision/box.png') no-repeat;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
@@ -112,9 +105,10 @@ const dataList = ref([
|
|
|
flex: 1;
|
|
|
color: #fff;
|
|
|
font-size: 38px;
|
|
|
- white-space: nowrap;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
}
|
|
|
.text2 {
|
|
|
width: 167px;
|