From b090cbc44f78cf3e4bc9835c95334f20122390d7 Mon Sep 17 00:00:00 2001 From: aeizzz Date: Mon, 30 Jan 2023 18:15:56 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20Introducing=20new=20features.=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4=20i18n=20=E5=89=8D=E7=BC=80=20=E5=88=A0?= =?UTF-8?q?=E9=99=A4=20=E6=B2=A1=E7=94=A8=E7=9A=84=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/index.ts | 2 +- src/layout/navBars/breadcrumb/closeFull.vue | 2 +- src/layout/navBars/breadcrumb/search.vue | 2 +- src/layout/navBars/breadcrumb/setings.vue | 102 +- src/layout/navBars/breadcrumb/user.vue | 40 +- src/layout/navBars/breadcrumb/userNews.vue | 8 +- src/layout/navBars/tagsView/contextmenu.vue | 10 +- src/layout/upgrade/index.vue | 12 +- src/router/route.ts | 1020 +------------ src/utils/commonFunction.ts | 4 +- src/views/error/401.vue | 6 +- src/views/error/404.vue | 6 +- src/views/login/component/account.vue | 10 +- src/views/login/component/mobile.vue | 10 +- src/views/login/component/scan.vue | 2 +- src/views/login/index.vue | 4 +- src/views/make/noticeBar/index.vue | 158 -- src/views/make/selector/index.vue | 118 -- src/views/make/svgDemo/index.vue | 51 - src/views/make/tableDemo/index.vue | 134 -- src/views/make/tableDemo/search.vue | 110 -- src/views/menu/menu1/menu11/index.vue | 12 - src/views/menu/menu1/menu12/menu121/index.vue | 12 - src/views/menu/menu1/menu12/menu122/index.vue | 12 - src/views/menu/menu1/menu13/index.vue | 21 - src/views/menu/menu2/index.vue | 12 - src/views/pages/awesome/index.vue | 81 - src/views/pages/drag/index.vue | 59 - src/views/pages/dynamicForm/index.vue | 168 --- src/views/pages/dynamicForm/mock.ts | 119 -- src/views/pages/element/index.vue | 83 - src/views/pages/filtering/details.vue | 13 - src/views/pages/filtering/details1.vue | 13 - src/views/pages/filtering/index.vue | 344 ----- src/views/pages/filtering/mock.ts | 201 --- src/views/pages/formAdapt/index.vue | 107 -- src/views/pages/formI18n/index.vue | 53 - .../formRules/component/formRulesOne.vue | 64 - .../formRules/component/formRulesThree.vue | 43 - .../formRules/component/formRulesTwo.vue | 45 - src/views/pages/formRules/index.vue | 71 - src/views/pages/iocnfont/index.vue | 81 - src/views/pages/lazyImg/index.vue | 185 --- src/views/pages/lazyImg/mock.ts | 313 ---- src/views/pages/listAdapt/index.vue | 178 --- src/views/pages/listAdapt/mock.ts | 93 -- src/views/pages/preview/index.vue | 21 - src/views/pages/steps/index.vue | 42 - src/views/pages/tableRules/index.vue | 107 -- src/views/pages/tree/index.vue | 227 --- src/views/pages/waterfall/index.vue | 164 -- src/views/pages/waves/index.vue | 124 -- .../workflow/component/contextmenu/index.vue | 111 -- .../pages/workflow/component/drawer/index.vue | 63 - .../pages/workflow/component/drawer/line.vue | 56 - .../pages/workflow/component/drawer/node.vue | 254 ---- .../pages/workflow/component/tool/help.vue | 36 - .../pages/workflow/component/tool/index.vue | 74 - src/views/pages/workflow/index.vue | 631 -------- src/views/pages/workflow/js/config.ts | 99 -- src/views/pages/workflow/js/mock.ts | 262 ---- src/views/params/common/details.vue | 18 - src/views/params/common/index.vue | 77 - src/views/params/dynamic/details.vue | 18 - src/views/params/dynamic/index.vue | 79 - src/views/system/menu/dialog.vue | 2 +- src/views/visualizing/demo1.vue | 1267 ---------------- src/views/visualizing/demo2.vue | 1342 ----------------- src/views/visualizing/images/bathymetry.jpg | Bin 621596 -> 0 bytes src/views/visualizing/images/world.jpg | Bin 801762 -> 0 bytes src/views/visualizing/mock/demo1.ts | 51 - src/views/visualizing/mock/demo2.ts | 131 -- 72 files changed, 124 insertions(+), 9326 deletions(-) delete mode 100644 src/views/make/noticeBar/index.vue delete mode 100644 src/views/make/selector/index.vue delete mode 100644 src/views/make/svgDemo/index.vue delete mode 100644 src/views/make/tableDemo/index.vue delete mode 100644 src/views/make/tableDemo/search.vue delete mode 100644 src/views/menu/menu1/menu11/index.vue delete mode 100644 src/views/menu/menu1/menu12/menu121/index.vue delete mode 100644 src/views/menu/menu1/menu12/menu122/index.vue delete mode 100644 src/views/menu/menu1/menu13/index.vue delete mode 100644 src/views/menu/menu2/index.vue delete mode 100644 src/views/pages/awesome/index.vue delete mode 100644 src/views/pages/drag/index.vue delete mode 100644 src/views/pages/dynamicForm/index.vue delete mode 100644 src/views/pages/dynamicForm/mock.ts delete mode 100644 src/views/pages/element/index.vue delete mode 100644 src/views/pages/filtering/details.vue delete mode 100644 src/views/pages/filtering/details1.vue delete mode 100644 src/views/pages/filtering/index.vue delete mode 100644 src/views/pages/filtering/mock.ts delete mode 100644 src/views/pages/formAdapt/index.vue delete mode 100644 src/views/pages/formI18n/index.vue delete mode 100644 src/views/pages/formRules/component/formRulesOne.vue delete mode 100644 src/views/pages/formRules/component/formRulesThree.vue delete mode 100644 src/views/pages/formRules/component/formRulesTwo.vue delete mode 100644 src/views/pages/formRules/index.vue delete mode 100644 src/views/pages/iocnfont/index.vue delete mode 100644 src/views/pages/lazyImg/index.vue delete mode 100644 src/views/pages/lazyImg/mock.ts delete mode 100644 src/views/pages/listAdapt/index.vue delete mode 100644 src/views/pages/listAdapt/mock.ts delete mode 100644 src/views/pages/preview/index.vue delete mode 100644 src/views/pages/steps/index.vue delete mode 100644 src/views/pages/tableRules/index.vue delete mode 100644 src/views/pages/tree/index.vue delete mode 100644 src/views/pages/waterfall/index.vue delete mode 100644 src/views/pages/waves/index.vue delete mode 100644 src/views/pages/workflow/component/contextmenu/index.vue delete mode 100644 src/views/pages/workflow/component/drawer/index.vue delete mode 100644 src/views/pages/workflow/component/drawer/line.vue delete mode 100644 src/views/pages/workflow/component/drawer/node.vue delete mode 100644 src/views/pages/workflow/component/tool/help.vue delete mode 100644 src/views/pages/workflow/component/tool/index.vue delete mode 100644 src/views/pages/workflow/index.vue delete mode 100644 src/views/pages/workflow/js/config.ts delete mode 100644 src/views/pages/workflow/js/mock.ts delete mode 100644 src/views/params/common/details.vue delete mode 100644 src/views/params/common/index.vue delete mode 100644 src/views/params/dynamic/details.vue delete mode 100644 src/views/params/dynamic/index.vue delete mode 100644 src/views/visualizing/demo1.vue delete mode 100644 src/views/visualizing/demo2.vue delete mode 100644 src/views/visualizing/images/bathymetry.jpg delete mode 100644 src/views/visualizing/images/world.jpg delete mode 100644 src/views/visualizing/mock/demo1.ts delete mode 100644 src/views/visualizing/mock/demo2.ts diff --git a/src/i18n/index.ts b/src/i18n/index.ts index 2b9072a8..ca086232 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -46,7 +46,7 @@ for (const key in itemize) { messages[key] = { name: key, el: element[key].el, - message: mergeArrObj(itemize, key), + ...mergeArrObj(itemize, key), }; } diff --git a/src/layout/navBars/breadcrumb/closeFull.vue b/src/layout/navBars/breadcrumb/closeFull.vue index 080dad52..fad78949 100644 --- a/src/layout/navBars/breadcrumb/closeFull.vue +++ b/src/layout/navBars/breadcrumb/closeFull.vue @@ -1,7 +1,7 @@ diff --git a/src/layout/navBars/breadcrumb/search.vue b/src/layout/navBars/breadcrumb/search.vue index 624d997b..8bc0cad4 100644 --- a/src/layout/navBars/breadcrumb/search.vue +++ b/src/layout/navBars/breadcrumb/search.vue @@ -5,7 +5,7 @@
- {{ $t('message.layout.oneTitle') }} + {{ $t('layout.oneTitle') }}
primary
@@ -18,49 +18,49 @@
-
{{ $t('message.layout.fourIsDark') }}
+
{{ $t('layout.fourIsDark') }}
- {{ $t('message.layout.twoTopTitle') }} + {{ $t('layout.twoTopTitle') }}
-
{{ $t('message.layout.twoTopBar') }}
+
{{ $t('layout.twoTopBar') }}
-
{{ $t('message.layout.twoTopBarColor') }}
+
{{ $t('layout.twoTopBarColor') }}
-
{{ $t('message.layout.twoIsTopBarColorGradual') }}
+
{{ $t('layout.twoIsTopBarColorGradual') }}
- {{ $t('message.layout.twoMenuTitle') }} + {{ $t('layout.twoMenuTitle') }}
-
{{ $t('message.layout.twoMenuBar') }}
+
{{ $t('layout.twoMenuBar') }}
-
{{ $t('message.layout.twoMenuBarColor') }}
+
{{ $t('layout.twoMenuBarColor') }}
-
{{ $t('message.layout.twoMenuBarActiveColor') }}
+
{{ $t('layout.twoMenuBarActiveColor') }}
-
{{ $t('message.layout.twoIsMenuBarColorGradual') }}
+
{{ $t('layout.twoIsMenuBarColorGradual') }}
@@ -79,10 +79,10 @@ {{ - $t('message.layout.twoColumnsTitle') + $t('layout.twoColumnsTitle') }}
-
{{ $t('message.layout.twoColumnsMenuBar') }}
+
{{ $t('layout.twoColumnsMenuBar') }}
-
{{ $t('message.layout.twoColumnsMenuBarColor') }}
+
{{ $t('layout.twoColumnsMenuBarColor') }}
-
{{ $t('message.layout.twoIsColumnsMenuBarColorGradual') }}
+
{{ $t('layout.twoIsColumnsMenuBarColorGradual') }}
-
{{ $t('message.layout.twoIsColumnsMenuHoverPreload') }}
+
{{ $t('layout.twoIsColumnsMenuHoverPreload') }}
- {{ $t('message.layout.threeTitle') }} + {{ $t('layout.threeTitle') }}
-
{{ $t('message.layout.threeIsCollapse') }}
+
{{ $t('layout.threeIsCollapse') }}
-
{{ $t('message.layout.threeIsUniqueOpened') }}
+
{{ $t('layout.threeIsUniqueOpened') }}
-
{{ $t('message.layout.threeIsFixedHeader') }}
+
{{ $t('layout.threeIsFixedHeader') }}
-
{{ $t('message.layout.threeIsClassicSplitMenu') }}
+
{{ $t('layout.threeIsClassicSplitMenu') }}
-
{{ $t('message.layout.threeIsLockScreen') }}
+
{{ $t('layout.threeIsLockScreen') }}
-
{{ $t('message.layout.threeLockScreenTime') }}
+
{{ $t('layout.threeLockScreenTime') }}
- {{ $t('message.layout.fourTitle') }} + {{ $t('layout.fourTitle') }}
-
{{ $t('message.layout.fourIsShowLogo') }}
+
{{ $t('layout.fourIsShowLogo') }}
@@ -204,7 +204,7 @@ class="layout-breadcrumb-seting-bar-flex mt15" :style="{ opacity: getThemeConfig.layout === 'classic' || getThemeConfig.layout === 'transverse' ? 0.5 : 1 }" > -
{{ $t('message.layout.fourIsBreadcrumb') }}
+
{{ $t('layout.fourIsBreadcrumb') }}
-
{{ $t('message.layout.fourIsBreadcrumbIcon') }}
+
{{ $t('layout.fourIsBreadcrumbIcon') }}
-
{{ $t('message.layout.fourIsTagsview') }}
+
{{ $t('layout.fourIsTagsview') }}
-
{{ $t('message.layout.fourIsTagsviewIcon') }}
+
{{ $t('layout.fourIsTagsviewIcon') }}
-
{{ $t('message.layout.fourIsCacheTagsView') }}
+
{{ $t('layout.fourIsCacheTagsView') }}
-
{{ $t('message.layout.fourIsSortableTagsView') }}
+
{{ $t('layout.fourIsSortableTagsView') }}
-
{{ $t('message.layout.fourIsShareTagsView') }}
+
{{ $t('layout.fourIsShareTagsView') }}
-
{{ $t('message.layout.fourIsFooter') }}
+
{{ $t('layout.fourIsFooter') }}
-
{{ $t('message.layout.fourIsGrayscale') }}
+
{{ $t('layout.fourIsGrayscale') }}
-
{{ $t('message.layout.fourIsInvert') }}
+
{{ $t('layout.fourIsInvert') }}
-
{{ $t('message.layout.fourIsWartermark') }}
+
{{ $t('layout.fourIsWartermark') }}
-
{{ $t('message.layout.fourWartermarkText') }}
+
{{ $t('layout.fourWartermarkText') }}
- {{ $t('message.layout.fiveTitle') }} + {{ $t('layout.fiveTitle') }}
-
{{ $t('message.layout.fiveTagsStyle') }}
+
{{ $t('layout.fiveTagsStyle') }}
@@ -299,7 +299,7 @@
-
{{ $t('message.layout.fiveAnimation') }}
+
{{ $t('layout.fiveAnimation') }}
@@ -309,7 +309,7 @@
-
{{ $t('message.layout.fiveColumnsAsideStyle') }}
+
{{ $t('layout.fiveColumnsAsideStyle') }}
-
{{ $t('message.layout.fiveColumnsAsideLayout') }}
+
{{ $t('layout.fiveColumnsAsideLayout') }}
- {{ $t('message.layout.sixTitle') }} + {{ $t('layout.sixTitle') }}
@@ -355,7 +355,7 @@
-

{{ $t('message.layout.sixDefaults') }}

+

{{ $t('layout.sixDefaults') }}

@@ -372,7 +372,7 @@
-

{{ $t('message.layout.sixClassic') }}

+

{{ $t('layout.sixClassic') }}

@@ -388,7 +388,7 @@
-

{{ $t('message.layout.sixTransverse') }}

+

{{ $t('layout.sixTransverse') }}

@@ -404,24 +404,24 @@
-

{{ $t('message.layout.sixColumns') }}

+

{{ $t('layout.sixColumns') }}

- + - {{ $t('message.layout.copyText') }} + {{ $t('layout.copyText') }} - {{ $t('message.layout.resetText') }} + {{ $t('layout.resetText') }}
diff --git a/src/layout/navBars/breadcrumb/user.vue b/src/layout/navBars/breadcrumb/user.vue index 93372117..4a622e0f 100644 --- a/src/layout/navBars/breadcrumb/user.vue +++ b/src/layout/navBars/breadcrumb/user.vue @@ -2,13 +2,13 @@
- +
@@ -17,7 +17,7 @@
- +
- +