From 783e685f7397c48a30968b8125d33f0ef81db0b2 Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Fri, 6 Aug 2021 11:40:18 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-878=20=20feat:=20=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=E9=A1=B5=E9=9D=A2=E6=98=AF=E5=90=A6=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E7=BC=A9=E6=94=BE=EF=BC=8C=E5=BC=80=E5=90=AF=E6=97=B6?= =?UTF-8?q?=E5=8F=8B=E5=A5=BD=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/App.vue | 5 + .../src/assets/css/font/iconfont.ttf | Bin 42500 -> 43000 bytes .../src/assets/css/font/iconfont.woff | Bin 25644 -> 25916 bytes .../src/assets/css/font/iconfont.woff2 | Bin 21516 -> 21748 bytes nezha-fronted/src/assets/css/nzIcon.css | 14 +- .../components/common/browserWindowZoom.vue | 134 ++++++++++++++++++ .../src/components/common/language/cn.js | 2 + .../src/components/common/language/en.js | 2 + 8 files changed, 154 insertions(+), 3 deletions(-) create mode 100644 nezha-fronted/src/components/common/browserWindowZoom.vue diff --git a/nezha-fronted/src/App.vue b/nezha-fronted/src/App.vue index a12594375..793aee4c0 100644 --- a/nezha-fronted/src/App.vue +++ b/nezha-fronted/src/App.vue @@ -1,5 +1,6 @@ + + diff --git a/nezha-fronted/src/components/common/language/cn.js b/nezha-fronted/src/components/common/language/cn.js index 6127083e0..9a64442e4 100644 --- a/nezha-fronted/src/components/common/language/cn.js +++ b/nezha-fronted/src/components/common/language/cn.js @@ -570,6 +570,8 @@ const cn = { resetPrompt: '确认重置吗?', confirmBatchDelete: '确定删除这{0}条数据吗?', assetConfirmDelete: '关联的Endpoint和告警将会被删除,确认删除吗?', + zoomStatusPrompt: '您的浏览器目前处于缩放状态,页面可能会出现错位,建议100%大小。', + doNotAskAgain: '不再询问', yes: '是', no: '否', deleteSuccess: '删除成功', diff --git a/nezha-fronted/src/components/common/language/en.js b/nezha-fronted/src/components/common/language/en.js index 8df279458..d0a95db17 100644 --- a/nezha-fronted/src/components/common/language/en.js +++ b/nezha-fronted/src/components/common/language/en.js @@ -577,6 +577,8 @@ const en = { resetPrompt: 'Are you sure to reset?', confirmBatchDelete: 'Are you sure to delete these {0} pieces of data', assetConfirmDelete: 'Related endpoints and alerts will be removed, are you sure you want to delete this asset?', // Related endpoints and alerts will be removed, are you sure you want to delete this asset? + zoomStatusPrompt: 'Your browser is currently in zoom state, the page may appear dislocation, the proposed 100% size.', + doNotAskAgain: 'Do not ask again', yes: 'Yes', // "是" no: 'No', // No deleteSuccess: 'Delete success', // "删除成功"