From 8738208972d842b381d3b4cefa03008d7202f0dc Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期四, 25 九月 2025 15:31:13 +0800
Subject: [PATCH] led大屏显示优化

---
 Monitor-APP/pages/home/home.vue |   33 +++++++++++++++++----------------
 1 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue
index 30aefe4..6196efd 100644
--- a/Monitor-APP/pages/home/home.vue
+++ b/Monitor-APP/pages/home/home.vue
@@ -256,15 +256,17 @@
 				<!-- 涓讳綋 -->
 				<view class="info-main">
 					<view class="info-box">
-						<view class="swiper-head" style="height: 10%;width: 96%;margin-left: 2%;font-size: 2.5vw;">
-							<view style="width: 15%;">璁㈠崟鍙�</view>
-							<view style="width: 10%;">鍗曡ID</view>
-							<view style="width: 10%;">鎵樼洏鐮�</view>
+						<view class="swiper-head" style="height: 10%;width: 96%;margin-left: 2%;font-size: 2vw;display: flex;">
+							<view style="width: 20%; display: flex; flex-direction: column; align-items: center;">
+									<view style="line-height: 1.5; white-space: nowrap;">鎵樼洏鐮侊細{{infoText.barcode}}</view>
+									<view>璁㈠崟鍙�</view>
+							</view>
+							<view style="width: 12%;">琛屽彿</view>
 							<view style="width: 15%;">鍟嗗搧缂栧彿</view>
-							<view style="width: 15%;">鍟嗗搧鍚嶇О</view>
+							<view style="width: 20%;">鍟嗗搧鍚嶇О</view>
 							<view style="width: 15%;">鐗规畩璇存槑</view>
-							<view style="width: 10%;">浣滀笟鏁伴噺</view>
-							<view style="width: 10%;">鍓╀綑鏁伴噺</view>
+							<view style="width: 9%;">浣滀笟鏁伴噺</view>
+							<view style="width: 9%;">鍓╀綑鏁伴噺</view>
 						</view>
 						<y-box>
 							<!-- 鏂囨湰瀹瑰櫒 -->
@@ -313,17 +315,16 @@
 									display-multiple-items 鍚屾椂鏄剧ず鐨勬粦鍧楁暟閲� -->
 								<swiper class="swiper-body-main" vertical="true" 
 									display-multiple-items="3"
-									circular="true" :autoplay="true" :interval="3000" :duration="1000" style="font-size: 2.5vw;">
+									circular="true" :autoplay="true" :interval="3000" :duration="1000" style="font-size: 2vw;">
 										<swiper-item  class="swiper-item" v-for="(item,i) in swiperList" :key="i">
 											<!-- <view>No:{{i+1}}</view> -->
-											<view style="width: 15%;">{{item.orderNo}}</view>
-											<view style="width: 10%;"> {{item.memo}}</view>
-											<view style="width: 10%;">{{infoText.barcode}}</view>
-											<view style="width: 15%;">{{item.matnr}}</view>
-											<view style="width: 15%;">{{item.maknx}}</view>
-											<view style="width: 15%;">{{item.batch}}</view>
-											<view style="width: 10%;">{{item.count}}</view>
-											<view style="width: 10%;">{{item.total}}</view>
+											<view style="width: 20%;word-break: break-all;"> {{item.orderNo}}</view>
+											<view style="width: 12%;word-break: break-all;"> {{item.memo}}</view>
+											<view style="width: 15%;word-break: break-all;">{{item.matnr}}</view>
+											<view style="width: 20%;word-break: break-all;">{{item.maknx}}</view>
+											<view style="width: 15%;word-break: break-all;">{{item.batch}}</view>
+											<view style="width: 9%;word-break: break-all;">{{item.count}}</view>
+											<view style="width: 9%;word-break: break-all;">{{item.total}}</view>
 										</swiper-item>
 									</swiper>
 								<!-- </view> -->

--
Gitblit v1.9.1