From 49ac73e622fa786e47fbf1b2a9767357edb85943 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期一, 12 一月 2026 15:47:31 +0800
Subject: [PATCH] #
---
src/main/webapp/views/trayCode/trayCode.html | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/views/trayCode/trayCode.html b/src/main/webapp/views/trayCode/trayCode.html
index ea23857..b9e3966 100644
--- a/src/main/webapp/views/trayCode/trayCode.html
+++ b/src/main/webapp/views/trayCode/trayCode.html
@@ -82,7 +82,7 @@
<table class="layui-hide" id="trayCode" lay-filter="trayCode"></table>
</div>
-<div id="printBox" style="display: block; height: 150px; width: 300px"></div>
+<div id="printBox" style="display: block; height: 150px; width: 300px;padding-left: 0px"></div>
<script type="text/html" id="toolbar">
<div class="layui-btn-container">
@@ -137,11 +137,18 @@
</body>
<script type="text/template" id="trayCodeTemplate">
{{#each data}}
- <img class="template-code" src="{{this.barcodeUrl}}" width="90%">
+ <img class="template-code" src="{{this.barcodeUrl}}" width="100%">
<div style="letter-spacing: 2px;margin-top: 1px; text-align: center">
<span>{{this.item}}</span>
</div>
{{/each}}
</script>
+<script src="../../static/js/translate.js"></script>
+<script>
+ translate.selectLanguageTag.show = false; //涓嶅嚭鐜扮殑select鐨勯�夋嫨璇█
+ translate.service.use('client.edge'); //璁剧疆缈昏瘧鏈嶅姟
+ translate.listener.start(); //寮�鍚〉闈㈠厓绱犲姩鎬佺洃鎺э紝js鏀瑰彉鐨勫唴瀹逛篃浼氳缈昏瘧锛屽弬鑰冩枃妗o細 http://translate.zvo.cn/4067.html
+ translate.execute();
+</script>
</html>
--
Gitblit v1.9.1