guoyujia 1 жил өмнө
parent
commit
2278723dd2

+ 11 - 11
pages/reportingForWork/index.vue

@@ -3,15 +3,15 @@
 		<scroll-view class="scroll-container" scroll-y>
 			<view v-for="(item, index) in listData" :key="index" class="list-item">
 				<view class="title-container uni-row">
-					<view class="title uni-row">
+					<view class="title uni-row" >
 						<text class="label">批次号:</text>
 						<text class="label code"> {{ item['lotCode'] }}</text>
 					</view>
-					<view class="right-info uni-row">
-						<view class="right-info uni-row"> <text class="label ">工时</text>
-							<text class="label time">{{ item['taskTime'] }}h</text>
+					<view class="right-info " style="flex: 3;margin-right: -30rpx;">
+						<view class="right-info uni-row" > <text class="label">工时</text>
+							<text class="label time" >{{ item['taskTime'] }}h</text>
 						</view>
-						<view class="right-info uni-row" style="margin-left:32px;"> <text class="label">合格数</text>
+						<view class="right-info uni-row"> <text class="label">合格数</text>
 							<text class="label number ">{{ item['qualifiedNum'] }}</text>
 						</view>
 					</view>
@@ -203,13 +203,13 @@
 
 		.title-container {
 			justify-content: space-between;
+			align-items: center;
 			margin-top: 8rpx;
-			margin-bottom: 16rpx;
-
+            width: 100%;
 			.title {
 				height: 48rpx;
 				align-items: center;
-
+				flex: 7;
 				.label {
 					font-size: 32rpx;
 					font-weight: bold;
@@ -236,9 +236,9 @@
 		}
 
 		.right-info {
-			justify-content: flex-end;
-			width: 45%;
-			margin-top: 5rpx;
+			// justify-content: flex-end;
+			// width:45%;
+			// margin-top: 5rpx;
 			.label {
 				font-size: 28rpx;
 			}