From 45ee03e3ef51d9271dc6005bbbc1e81249b8facf Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期五, 18 四月 2025 09:51:46 +0800 Subject: [PATCH] # --- Monitor-APP/pages/home/home.vue | 40 ++++++++++++++-------------------------- 1 files changed, 14 insertions(+), 26 deletions(-) diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue index c01479b..7945738 100644 --- a/Monitor-APP/pages/home/home.vue +++ b/Monitor-APP/pages/home/home.vue @@ -183,18 +183,11 @@ </y-box> </view> <view style="height: 2%;"></view> - <view style="height: 18%;"> - <y-box> - <!-- <view class="flex-col" style="width: 100%;height: 100%;font-size: 4vh;justify-content: center;letter-spacing: 1vh;"> - 涓壃鏅鸿兘澶у睆鏄剧ず绯荤粺 - </view> --> - - <view style="display: flex;align-items: center;justify-content: center;width: 100%;height: 100%;"> - <view style="flex: 1;">浣滀笟涓暟閲忥細 {{useInfo.count1 ? useInfo.count1 : '--'}}</view> - <view style="flex: 1;">鏈彇璐ф暟閲忥細 {{useInfo.count2 ? useInfo.count2 : '--'}}</view> - </view> - - </y-box> + <view style="height: 18%;display: flex;justify-content: space-around;align-items: center;"> + + <view style="height: 50%;"> + <image style="height: 100%;" src="../../static/logo-bai.png" mode="aspectFit"></image> + </view> </view> </view> </view> @@ -220,11 +213,11 @@ <!-- 鏂囨湰瀹瑰櫒 --> <view class="text-content"> <!-- head --> - <view class="swiper-head"> - <view style="width: 30%;">娴佹按鍙�: {{infoText.orderNo}}</view> + <view class="swiper-head"> <view style="width: 20%;">宸ヤ綔鍙�: {{infoText.workNo}}</view> <view style="width: 30%;">婧愬簱浣�: {{infoText.sourceLocNo}}</view> <view style="width: 20%;">鐩爣绔�: {{infoText.staNo}}</view> + <view style="width: 30%;">鎵樼洏鐮�: {{infoText.barcode}}</view> <!-- <view style="width: 10%;">鏁伴噺</view> --> </view> <!-- body --> @@ -234,22 +227,17 @@ vertical 婊戝姩鏂瑰悜鏄惁涓虹旱鍚� display-multiple-items 鍚屾椂鏄剧ず鐨勬粦鍧楁暟閲� --> <swiper class="swiper-body-main" vertical="true" - display-multiple-items="3" + display-multiple-items="2" circular="true" :autoplay="true" :interval="5000" :duration="2000"> <swiper-item class="swiper-item" v-for="(item,i) in swiperList" :key="i"> - <view style="width: 25%;">{{i+1}} / {{swiperList.length}}</view> - <view style="width: 25%;">鏂欏彿: {{item.matnr}}</view> - <view style="width: 25%;">绠卞彿: {{item.batch}}</view> - <view style="width: 25%;">鏁伴噺: {{item.count}}</view> + <view style="width: 100%;">{{i+1}} / {{swiperList.length}}</view> + <view style="width: 50%;">鍟嗗搧缂栧彿: {{item.matnr}}</view> + <view style="width: 50%;">鍟嗗搧鍚嶇О: {{item.maktx}}</view> + <view style="width: 50%;">瑙勬牸: {{item.specs}}</view> + <view style="width: 50%;">宸ュ簭: {{item.sku}}</view> + <view style="width: 100%;">鏁伴噺: {{item.count}}/{{item.total}}</view> - <view style="width: 25%;">鍗峰彿: {{item.specs}}</view> - <view style="width: 25%;">璁㈠崟鍙� : {{item.orderNo}}</view> - <view style="width: 25%;">瀹㈡埛鍚嶇О: {{item.cstmrName}}</view> - <view style="width: 25%;">鎬讳綔涓氫腑: {{item.count1}}</view> - <view style="width: 25%;">鐮佸灈鍚庢湭鍙栬揣: {{item.count3}}</view> - <view style="width: 25%;">璁㈠崟浣滀笟涓�: {{item.count2}}</view> - <view style="width: 25%;">澶囨敞: {{item.memo}}</view> </swiper-item> -- Gitblit v1.9.1