wkyy 1 jaar geleden
bovenliggende
commit
f633dcaa3a

+ 2 - 1
pages/abnormal/abnormalAlarmDetails.vue

@@ -20,7 +20,7 @@
 				</view>
 			</view>
 			<view class="item">
-				<view class="title" style="width: 60%;">
+				<view class="title">
 					报警内容
 				</view>
 				<view class="value warning">
@@ -230,6 +230,7 @@
 
 			.title {
 				color: rgba(51, 51, 51, 1);
+				width: 45%;
 			}
 
 			.value {

+ 14 - 4
pages/equipmentDataMonitoring/electronicMonitoring.vue

@@ -11,8 +11,10 @@
 				<view class="back" @click="backDataMonitoringList">
 					<u-icon name="arrow-left" color="#fff" size="36"></u-icon>
 				</view>
-				<view class="title" @click="titleCk">
-					{{tabsFrom.title}}
+				<view class="title" @click="titleCk">
+					<view class="e">
+						{{tabsFrom.title}}
+					</view>
 					<u-icon name="arrow-down" color="#fff" v-if="tabsFrom.selector1.length"
 					 size="24"></u-icon>
 				</view>
@@ -1041,7 +1043,8 @@
 		top: 0;
 		left: 0;
 		right: 0;
-		z-index: 999;
+		z-index: 999;
+		width: 100%;
 
 		.back {
 			z-index: 999;
@@ -1052,7 +1055,14 @@
 			color: #fff;
 			display: flex;
 			align-items: center;
-			justify-content: center;
+			justify-content: center;
+			flex: 1;
+			.e{
+				 width: 70%;
+				 white-space: nowrap;
+				 text-overflow: ellipsis;
+				 overflow: hidden;
+			}
 		}
 
 		.right {

+ 1 - 0
pages/statistics/statistics.vue

@@ -1342,6 +1342,7 @@
 
 					.text1 {
 						color: rgba(51, 51, 51, 1);
+						width: 50%;
 					}