dedsudiyu 1 vuosi sitten
vanhempi
commit
7795fdf4c0
1 muutettua tiedostoa jossa 14 lisäystä ja 19 poistoa
  1. 14 19
      pages/earlyWarningManage/earlyWarningDetail.vue

+ 14 - 19
pages/earlyWarningManage/earlyWarningDetail.vue

@@ -13,9 +13,9 @@
 		<!-- 预案报警 -->
 		<view class="site" v-if="form.warningType==4">
 			<img src="@/images/Version2.2/icon_wtzg_xx.png"/>
-			<text>{{form.subName}}</text>
-			<text></text>
-			<text>{{form.buildName}}{{form.floorName}}{{form.roomNum}}</text>
+			<view>{{form.subName}}</view>
+			<view></view>
+			<view>{{form.buildName}}{{form.floorName}}{{form.roomNum}}</view>
 		</view>
 		<!-- 化学品 -->
 		<view class="site_tow" v-if="form.warningType==2 || form.warningType==3 || form.warningType==1">
@@ -156,7 +156,7 @@
 					:show-play-btn="false"
 					:show-center-play-btn="false"
 					:enable-progress-gesture="false"
-					style="height:336rpx;width:600rpx;" 
+					style="height:356rpx;width:640rpx;margin-bottom:15rpx;" 
 					:src="configUrl+form.recordVideo">
 				</video>
 			</view>
@@ -455,40 +455,35 @@ export default {
 		background: rgba(255,163,78,0.2);
 	}
 	.site{
-		width: 690rpx;
-		height: 80rpx;
+		padding:26rpx;
 		background: #FFFFFF;
 		display: flex;
-		justify-content: flex-start;
-		align-items: center;
 		border-radius: 20rpx 20rpx 20rpx 20rpx;
 		margin:20rpx 30rpx;
 		>img{
 			width: 30rpx;
 			height: 30rpx;
-			margin-right: 22rpx;
-			margin-left: 30rpx;
+			margin:auto 22rpx auto 30rpx;
 		}
-		>text:nth-of-type(1){
+		>view:nth-of-type(1){
 			font-size: 28rpx;
 			font-family: PingFang SC-Medium, PingFang SC;
-			font-weight: 400;
+			flex:1;
 			color: #333333;
-			line-height: 28rpx;
+			line-height: 32rpx;
 		}
-		>text:nth-of-type(2){
+		>view:nth-of-type(2){
 			display: inline-block;
 			width: 2rpx;
-			height: 20rpx;
 			background: #E0E0E0;
-			margin: 0 24rpx 0 28rpx;
+			margin: 0 24rpx;
 		}
-		>text:nth-of-type(3){
+		>view:nth-of-type(3){
 			font-size: 28rpx;
 			font-family: PingFang SC-Medium, PingFang SC;
-			font-weight: 400;
+			flex:1;
 			color: #333333;
-			line-height: 28rpx;
+			line-height: 32rpx;
 		}
 	}
 	.site_tow{