From 6b89f08dd48f79bc4f248c747535f62a4ac55de7 Mon Sep 17 00:00:00 2001
From: tjx <t2856754968@163.com>
Date: 星期二, 04 十一月 2025 19:01:07 +0800
Subject: [PATCH] 样式调整1

---
 components/WorkOrderPrint.vue |   80 +++++++++++++++++++--------------------
 1 files changed, 39 insertions(+), 41 deletions(-)

diff --git a/components/WorkOrderPrint.vue b/components/WorkOrderPrint.vue
index 9f1567d..c877043 100644
--- a/components/WorkOrderPrint.vue
+++ b/components/WorkOrderPrint.vue
@@ -88,31 +88,25 @@
 					<text>宸茬敓浜ф暟锛�</text>
 					<input v-model="calculatedTotalProduction" class="highlight" disabled />
 				</view>-->
-				<view class="btn-group">
-					<button class="refresh-btn-inline" @click="refresh">鍒锋柊</button>
-					<button v-if="isGeneratingBarcode" class="reset-btn-inline" @click="resetGenerateState">閲嶇疆</button>
-			</view>
 			</view>
 
 			<view class="flex-row gap-lg">
-				<!-- 褰撳墠鎶ュ伐浜洪儴鍒嗙Щ鍒板乏杈� -->
-				<view class="current-user-section fill-width">
+				<!-- 褰撳墠鎶ュ伐浜洪儴鍒� -->
+				<view class="current-user-section">
 					<text>褰撳墠鎶ュ伐浜猴細</text>
 					<text class="current-user-name">{{ staffDisplay || '鏈�夋嫨' }}</text>
 					<button class="select-user-btn" @click="isShowUserSelect = true">閫変汉</button>
 				</view>
 
-				<!-- 涓嶈壇鏁伴噺閮ㄥ垎绉诲埌鍙宠竟 -->
-				<view class="print-section flex-grow">
-					<view class="barcode-info">
-						<view class="user-select">
-							<text>涓嶈壇鏁伴噺锛�</text>
-							<input v-model="customAmount" class="inp bad-input" placeholder="璇疯緭鍏ユ暟閲�" />
-						</view>
-						<view class="user-select">
-							<button class="details-btn" @click="confirmCustomAmount">纭鎻愪氦</button>
-						</view>
-					</view>
+				<!-- 涓嶈壇鏁伴噺閮ㄥ垎 -->
+				<view class="defective-section">
+					<text>涓嶈壇鏁伴噺锛�</text>
+					<input v-model="customAmount" class="inp bad-input" placeholder="璇疯緭鍏ユ暟閲�" />
+				</view>
+
+				<!-- 纭鎻愪氦鎸夐挳 -->
+				<view class="submit-section">
+					<button class="details-btn" @click="confirmCustomAmount">纭鎻愪氦</button>
 				</view>
 			</view>
 
@@ -668,7 +662,7 @@
 		display: flex;
 		flex-wrap: wrap;
 		gap: 20px;
-		align-items: flex-start;
+		align-items: stretch;
 	}
 
 	.flex-grow {
@@ -679,17 +673,16 @@
 		gap: 30px;
 	}
 
-	.print-section {
-		padding: 6px 0 14px;
-		margin-bottom: 0;
-		flex: 1;
+	.defective-section {
+		display: flex;
+		align-items: center;
+		gap: 14px;
+		font-size: 18px;
 	}
 
-	.barcode-info {
+	.submit-section {
 		display: flex;
-		flex-wrap: wrap;
-		align-items: flex-start;
-		gap: 30px;
+		align-items: center;
 	}
 
 	.inp {
@@ -732,10 +725,7 @@
 		padding: 14px 22px;
 		background: #fff;
 		gap: 14px;
-	}
-
-	.fill-width {
-		flex: 0 1 380px;
+		flex: 0 0 auto;
 	}
 
 	.current-user-name {
@@ -843,8 +833,8 @@
 
 	.user-list-grid {
 		display: grid;
-		grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
-		gap: 24px 24px;
+		grid-template-columns: repeat(auto-fill,minmax(110px,1fr));
+		gap: 12px 12px;
 	}
 
 	.user-list-btn {
@@ -852,14 +842,14 @@
 		flex-direction: column;
 		justify-content: center;
 		align-items: center;
-		gap: 6px;
-		padding: 16px 10px;
-		height: 120px;
-		font-size: 18px;
+		gap: 4px;
+		padding: 10px 8px;
+		height: 75px;
+		font-size: 14px;
 		background: #00a2e9;
 		color: #fff;
 		border: none;
-		border-radius: 10px;
+		border-radius: 8px;
 		cursor: pointer;
 		box-sizing: border-box;
 		word-break: break-word;
@@ -867,11 +857,11 @@
 
 		.user-list-btn .user-code {
 			font-weight: 600;
-			font-size: 18px;
+			font-size: 14px;
 		}
 
 		.user-list-btn .user-name {
-			font-size: 16px;
+			font-size: 13px;
 		}
 
 		.user-list-btn.selected {
@@ -975,8 +965,16 @@
 		}
 
 		.user-list-btn {
-			height: 110px;
-			font-size: 16px;
+			height: 70px;
+			font-size: 13px;
+		}
+
+		.user-list-btn .user-code {
+			font-size: 13px;
+		}
+
+		.user-list-btn .user-name {
+			font-size: 12px;
 		}
 
 		.reason-btn {

--
Gitblit v1.9.3