lilei hace 4 años
padre
commit
2f504fc5dc
Se han modificado 1 ficheros con 7 adiciones y 8 borrados
  1. 7 8
      pages/spotCheckDetails/spotCheckDetails.vue

+ 7 - 8
pages/spotCheckDetails/spotCheckDetails.vue

@@ -3,7 +3,6 @@
 		<view class="item-con" v-for="(item,index) in list" :key="index">
 			<view class="item-header">
 				<view class="header-l">
-					<text class="item-sub">{{index + 1}}、</text>
 					<view class="item-c">
 						{{item.assessTargetName}}
 					</view>
@@ -16,7 +15,7 @@
 						<u-image class="pic" width="100%" height="150upx" :src="pic.photoPath" @click="clickPic(index, ind)"></u-image>
 					</u-col>
 				</u-row>
-				<view class="comment-main" v-if="item.comments">{{item.comments}}</view>
+				<view class="comment-main" v-if="item.comments">评论:{{item.comments}}</view>
 				<view class="comment-main" v-else>--</view>
 			</view>
 		</view>
@@ -75,10 +74,13 @@
 		.item-con{
 			background-color: #fff;
 			margin: 0 20upx 20upx;
-			padding: 16upx 20upx 20upx;
+			border-radius: 6upx;
+			box-shadow: 1px 1px 3px #eee;
 			.item-header{
 				display: flex;
 				justify-content: space-between;
+				padding: 20upx;
+				border-bottom: 1px solid #eee;
 				.header-l{
 					flex-grow: 1;
 					position: relative;
@@ -90,7 +92,6 @@
 						text-align: center;
 					}
 					.item-c{
-						padding-left: 66upx;
 						.item-c-tit{
 							font-weight: bold;
 						}
@@ -110,15 +111,13 @@
 				}
 			}
 			.comment-con{
-				.pic-con{
-					margin: 20upx 0;
-				}
+				padding: 20upx;
 				.comment-main{
 					font-size: 26upx;
 					padding: 16upx 20upx;
 					line-height: 1.5em;
-					border-radius: 12upx;
 					background-color: #f8f8f8;
+					margin-top: 20upx;
 					.comment-tit{
 						font-weight: bold;
 					}