diff --git a/public/config.js b/public/config.js
index 651bee8..d53254b 100644
--- a/public/config.js
+++ b/public/config.js
@@ -9,6 +9,7 @@ window.$$nazhuaConfig = {
// lightBackground: true, // 启用了浅色系背景图,会强制关闭点点背景
// showFireworks: true, // 是否显示烟花,建议开启浅色系背景
// showLantern: true, // 是否显示灯笼
+ enableInnerSearch: true, // 启用内部搜索
// listServerItemTypeToggle: true, // 服务器列表项类型切换
// listServerItemType: 'row', // 服务器列表项类型 card/row row列表模式移动端自动切换至card
// listServerStatusType: 'progress', // 服务器状态类型--列表
diff --git a/src/layout/components/search-box.vue b/src/layout/components/search-box.vue
new file mode 100644
index 0000000..810cdfd
--- /dev/null
+++ b/src/layout/components/search-box.vue
@@ -0,0 +1,328 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/layout/components/search-list-item.vue b/src/layout/components/search-list-item.vue
new file mode 100644
index 0000000..98410f6
--- /dev/null
+++ b/src/layout/components/search-list-item.vue
@@ -0,0 +1,104 @@
+
+
+
+ {{ info.Name }}
+
+
+
+ {{ tagItem }}
+
+
+
+
+
+
+
+
diff --git a/src/layout/main.vue b/src/layout/main.vue
index 85eb24a..91838ab 100644
--- a/src/layout/main.vue
+++ b/src/layout/main.vue
@@ -11,6 +11,10 @@
+
+
@@ -31,6 +35,7 @@ import Fireworks from '@/components/fireworks.vue';
import Lantern from '@/components/lantern.vue';
import LayoutHeader from './components/header.vue';
import LayoutFooter from './components/footer.vue';
+import SearchBox from './components/search-box.vue';
const layoutGroupStyle = computed(() => {
const style = {};
@@ -48,6 +53,8 @@ const layoutBGStyle = computed(() => {
}
return style;
});
+
+const enableInnerSearch = computed(() => config.nazhua.enableInnerSearch);