From a669adb3e80e58aee84be37d865311717ea61990 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期四, 14 八月 2025 08:38:37 +0800
Subject: [PATCH] 修改

---
 src/views/hazardousChemicals/warehouseManage/components/printCodeMore.vue |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/views/hazardousChemicals/warehouseManage/components/printCodeMore.vue b/src/views/hazardousChemicals/warehouseManage/components/printCodeMore.vue
index 623ca15..0f8d243 100644
--- a/src/views/hazardousChemicals/warehouseManage/components/printCodeMore.vue
+++ b/src/views/hazardousChemicals/warehouseManage/components/printCodeMore.vue
@@ -230,14 +230,14 @@
       flex-wrap: wrap;
       justify-content: flex-start;
       align-content: flex-start;
-      padding: 3mm 5mm; /* 考虑打印机物理边距 */
+      padding: 13px 5mm; /* 考虑打印机物理边距 */
       box-sizing: border-box;
       page-break-after: always;
     }
   /* 标签容器 - 保证每个标签独立且尺寸固定 */
     .print-label {
       width: 50mm;   /* 4列布局 (210mm / 4) */
-      max-height: 40mm;
+      min-height: 40mm;
       height: 40mm;  /* 7行布局 (297mm / 7) */
       box-sizing: border-box;
       padding: 1mm;
@@ -248,6 +248,8 @@
       page-break-inside: avoid; /* 防止分页中断标签 */
       break-inside: avoid;
       margin-bottom:7px;
+      // border: 1px solid red;
+
     }
       .label-title {
         font-size: 3.5mm;
@@ -266,6 +268,8 @@
         max-width: 100%;
         /* 防止 flex/grid 父级影响 */
         flex: none;
+
+
       }
     /* 二维码容器 - 增大二维码尺寸 */
       .qr-container {
@@ -277,17 +281,19 @@
         justify-content: center;
         align-items: center;
         overflow: hidden;
-        margin-top: -5px
+        margin-top: -10px;
       }
     .qrcode-img {
       max-width: 25mm !important;  /* 增大二维码尺寸 */
       max-height: 25mm !important;
       object-fit: contain;
-            margin-top: 0px
+       margin-top: 0;
+       margin-bottom: 0;
     }
 
     .label-code {
-    margin-top: -15px;
+      margin-top: -15px;
+        margin-bottom: 10px;
 
       font-size: 3mm; /* ≈8.5px */
       text-align: center;

--
Gitblit v1.9.2