From 449eb0658d6d27edecfce890fe741736b2a98602 Mon Sep 17 00:00:00 2001 From: wangfei <3597712270@qq.com> Date: 星期二, 22 四月 2025 15:25:51 +0800 Subject: [PATCH] 大屏显示及英译 --- UI-Project/src/lang/en.js | 1 + UI-Project/src/lang/py.js | 1 + UI-Project/src/lang/zh.js | 1 + UI-Project/src/views/largescreendisplay/screendisplay.vue | 20 ++++++++++---------- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/UI-Project/src/lang/en.js b/UI-Project/src/lang/en.js index 769dacd..9c7b146 100644 --- a/UI-Project/src/lang/en.js +++ b/UI-Project/src/lang/en.js @@ -510,6 +510,7 @@ createTime: 'Return date', }, large: { + slice:'slice', load: 'load', edg: 'edg', temp: 'temp', diff --git a/UI-Project/src/lang/py.js b/UI-Project/src/lang/py.js index 1583e07..ef35afe 100644 --- a/UI-Project/src/lang/py.js +++ b/UI-Project/src/lang/py.js @@ -509,6 +509,7 @@ createTime :'杩斿簱鏃ユ湡', }, large:{ + slice:'鐗�', time: '娆$牬鏃堕棿', tionnumber: '璁㈠崟鍙�', jobnumber: '鎶ュ伐缂栧彿', diff --git a/UI-Project/src/lang/zh.js b/UI-Project/src/lang/zh.js index 6d5d1c9..1453cf1 100644 --- a/UI-Project/src/lang/zh.js +++ b/UI-Project/src/lang/zh.js @@ -512,6 +512,7 @@ createTime :'杩斿簱鏃ユ湡', }, large:{ + slice:'鐗�', load:'鍒囧壊', edg:'纾ㄨ竟', temp:'閽㈠寲', diff --git a/UI-Project/src/views/largescreendisplay/screendisplay.vue b/UI-Project/src/views/largescreendisplay/screendisplay.vue index 6940243..704f4ca 100644 --- a/UI-Project/src/views/largescreendisplay/screendisplay.vue +++ b/UI-Project/src/views/largescreendisplay/screendisplay.vue @@ -986,50 +986,50 @@ <div class="img-screen" alt="Screen"> <!-- 閽㈠寲鍗婇�忔槑鑹插潡 --> <div - style="width: 80px;height: 40px;top: 130px;left: 130px;position: absolute;background-color: rgba(0, 0, 0, 0.5);color: white;font-size: 12px;z-index: 999;"> - <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].countOut : 0 }}鐗�</div> + style="width: 80px;height: 40px;top: 315px;left: 130px;position: absolute;background-color: rgba(0, 0, 0, 0.5);color: white;font-size: 12px;z-index: 999;"> + <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].countOut : 0 }}{{ $t('large.slice') }}</div> <div>{{ $t('large.are') }}:{{ productionVO.length > 0 ? productionVO[6].totalAreaOut : 0 }}m虏</div> </div> <!-- 涓┖涓�绾垮崐閫忔槑鑹插潡 --> <div style="width: 80px;height: 40px;top: 315px;left: 450px;position: absolute;background-color: rgba(0, 0, 0, 0.5);color: white;font-size: 12px;z-index: 999;"> - <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].hollowCountOutOne : 0 }}鐗�</div> + <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].hollowCountOutOne : 0 }}{{ $t('large.slice') }}</div> <div>{{ $t('large.are') }}:{{ productionVO.length > 0 ? productionVO[6].hollowTotalAreaOutOne : 0 }}m虏</div> </div> <!-- 涓┖浜岀嚎鍗婇�忔槑鑹插潡 --> <div style="width: 80px;height: 40px;top: 230px;left: 450px;position: absolute;background-color: rgba(0, 0, 0, 0.5);color: white;font-size: 12px;z-index: 999;"> - <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].hollowCountOutTwo : 0 }}鐗�</div> + <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].hollowCountOutTwo : 0 }}{{ $t('large.slice') }}</div> <div>{{ $t('large.are') }}:{{ productionVO.length > 0 ? productionVO[6].hollowTotalAreaOutTwo : 0 }}m虏</div> </div> <!-- 鍒囧壊浜岀嚎鍗婇�忔槑鑹插潡 --> <div style="width: 80px;height: 40px;top: 542px;left: 410px;position: absolute;background-color: rgba(0, 0, 0, 0.5);color: white;font-size: 12px;z-index: 999;"> - <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].countOutOne : 0 }}鐗�</div> + <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].countOutOne : 0 }}{{ $t('large.slice') }}</div> <div>{{ $t('large.are') }}:{{ productionVO.length > 0 ? productionVO[6].totalAreaOutOne : 0 }}m虏</div> </div> <!-- 鍒囧壊涓�绾垮崐閫忔槑鑹插潡 --> <div style="width: 80px;height: 40px;top: 490px;left: 410px;position: absolute;background-color: rgba(0, 0, 0, 0.5);color: white;font-size: 12px;z-index: 999;"> - <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].countOutTwo : 0 }}鐗�</div> + <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].countOutTwo : 0 }}{{ $t('large.slice') }}</div> <div>{{ $t('large.are') }}:{{ productionVO.length > 0 ? productionVO[6].totalAreaOutTwo : 0 }}m虏</div> </div> <!-- 纾ㄨ竟涓�绾垮崐閫忔槑鑹插潡 --> <div style="width: 80px;height: 40px;top: 369px;left: 450px;position: absolute;background-color: rgba(0, 0, 0, 0.5);color: white;font-size: 12px;z-index: 999;"> - <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].countOutOne : 0 }}鐗�</div> + <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].countOutOne : 0 }}{{ $t('large.slice') }}</div> <div>{{ $t('large.are') }}:{{ productionVO.length > 0 ? productionVO[6].totalAreaOutOne : 0 }}m虏</div> </div> <!-- 纾ㄨ竟浜岀嚎鍗婇�忔槑鑹插潡 --> <div style="width: 80px;height: 40px;top: 410px;left: 450px;position: absolute;background-color: rgba(0, 0, 0, 0.5);color: white;font-size: 12px;z-index: 999;"> - <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].countOutTwo : 0 }}鐗�</div> + <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].countOutTwo : 0 }}{{ $t('large.slice') }}</div> <div>{{ $t('large.are') }}:{{ productionVO.length > 0 ? productionVO[6].totalAreaOutTwo : 0 }}m虏</div> </div> - <!-- 閽㈠寲鍓嶅ぇ鐞嗙墖鍗婇�忔槑鑹插潡 --> + <!-- 閽㈠寲鍓嶅ぇ鐞唟{ $t('large.slice') }}鍗婇�忔槑鑹插潡 --> <div style="width: 80px;height: 40px;top: 380px;left: 290px;position: absolute;background-color: rgba(0, 0, 0, 0.5);color: white;font-size: 12px;z-index: 999;"> - <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].countIn : 0 }}鐗�</div> + <div>{{ $t('large.quantity') }}:{{ productionVO.length > 0 ? productionVO[6].countIn : 0 }}{{ $t('large.slice') }}</div> <div>{{ $t('large.are') }}:{{ productionVO.length > 0 ? productionVO[6].totalAreaIn : 0 }}m虏</div> </div> -- Gitblit v1.8.0