diff --git a/locales/en_US.json b/locales/en_US.json index 2e055e5..0a0177a 100644 --- a/locales/en_US.json +++ b/locales/en_US.json @@ -4,7 +4,8 @@ "confirm": "Confirm", "close": "Closure", "reload": "Refresh", - "choose": "Choose" + "choose": "Choose", + "navigate": "Navigate" }, "app": { "loginOut": "Login out", diff --git a/locales/zh_CN.json b/locales/zh_CN.json index 7320587..ff451b0 100644 --- a/locales/zh_CN.json +++ b/locales/zh_CN.json @@ -4,7 +4,8 @@ "cancel": "取消", "reload": "刷新", "close": "关闭", - "choose": "选择" + "choose": "选择", + "navigate": "切换" }, "app": { "loginOut": "退出登录", diff --git a/src/layouts/components/header/Search.vue b/src/layouts/components/header/Search.vue index e840ec2..35b0146 100644 --- a/src/layouts/components/header/Search.vue +++ b/src/layouts/components/header/Search.vue @@ -1,20 +1,44 @@ - + + CtrlK + + + - - - - + + + + + + + + - - + + + + + + {{ option.label }} + + {{ option.value }} + + + - + + + + + + + + {{ $t('common.choose') }} + + + + + {{ $t('common.navigate') }} + + + + {{ $t('common.close') }} + + + + + diff --git a/src/styles/index.css b/src/styles/index.css index c09a6a2..1402238 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -1,5 +1,6 @@ @import './reset.css'; @import './transition.css'; +@import './navie.css'; html, body, diff --git a/src/styles/navie.css b/src/styles/navie.css new file mode 100644 index 0000000..cae5ce5 --- /dev/null +++ b/src/styles/navie.css @@ -0,0 +1,3 @@ +.n-modal-mask { + backdrop-filter: blur(2px); +}