From 8f42ba8189be934b007aaea59616cab9e5198c88 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Fri, 1 Nov 2024 10:47:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8A=A8=E6=80=81=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=A0=87=E7=AD=BE=E5=B0=8F=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 5 +++-- .env.test | 4 ++-- public/tag_print.css | 3 +++ public/tag_print.html | 4 ++-- public/tag_print.scss | 2 ++ src/store/print.js | 4 ++++ src/views/device/add_label.vue | 9 +++++++-- 7 files changed, 23 insertions(+), 8 deletions(-) diff --git a/.env.development b/.env.development index 6211cfb..55ea4fd 100644 --- a/.env.development +++ b/.env.development @@ -29,12 +29,13 @@ VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api' # VITE_API_URL = 'http://192.168.1.34:10589/cashier-client' # 测试 -# VITE_API_URL = 'https://cashier-client.sxczgkj.cn/cashier-client' +VITE_API_URL = 'https://cashier-client.sxczgkj.cn/cashier-client' # 预发布 # VITE_API_URL = 'https://pre-cashierclient.sxczgkj.cn/cashier-client' +# 张松本地 # VITE_API_URL = 'https://36z1017t45.goho.co/cashier-client' # 正式 -VITE_API_URL = 'https://cashierclient.sxczgkj.cn/cashier-client' \ No newline at end of file +# VITE_API_URL = 'https://cashierclient.sxczgkj.cn/cashier-client' \ No newline at end of file diff --git a/.env.test b/.env.test index bb4c344..d834422 100644 --- a/.env.test +++ b/.env.test @@ -17,7 +17,7 @@ VITE_API_PHP_URL = 'https://czgdoumei.sxczgkj.com/index.php/api' VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api' # 测试 -# VITE_API_URL = 'https://cashier-client.sxczgkj.cn/cashier-client' +VITE_API_URL = 'https://cashier-client.sxczgkj.cn/cashier-client' # 预发布 # VITE_API_URL = 'https://pre-cashierclient.sxczgkj.cn/cashier-client' @@ -26,4 +26,4 @@ VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api' # VITE_API_URL = 'https://36z1017t45.goho.co/cashier-client' # 正式 -VITE_API_URL = 'https://cashierclient.sxczgkj.cn/cashier-client' \ No newline at end of file +# VITE_API_URL = 'https://cashierclient.sxczgkj.cn/cashier-client' \ No newline at end of file diff --git a/public/tag_print.css b/public/tag_print.css index 858bee9..d05cd62 100644 --- a/public/tag_print.css +++ b/public/tag_print.css @@ -47,6 +47,9 @@ body { } .print_view .header .logo { width: 90px; + height: 30px; + -o-object-fit: cover; + object-fit: cover; } .print_view .header .title { margin-left: 6px; diff --git a/public/tag_print.html b/public/tag_print.html index a3d68ea..c9431b9 100644 --- a/public/tag_print.html +++ b/public/tag_print.html @@ -14,8 +14,8 @@
-
+
+