+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/UpdateLog.vue b/frontend/src/UpdateLog.vue
new file mode 100644
index 0000000..81f2566
--- /dev/null
+++ b/frontend/src/UpdateLog.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
{{$t('updateLog.title')}}
+
+
+
{{ log.version }}
+
{{ log.date }}
+
{{ detail }}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components.d.ts b/frontend/src/components.d.ts
index 1830177..95eba18 100644
--- a/frontend/src/components.d.ts
+++ b/frontend/src/components.d.ts
@@ -9,6 +9,7 @@ declare module 'vue' {
export interface GlobalComponents {
BaseHeader: typeof import('./components/layouts/BaseHeader.vue')['default']
ElButton: typeof import('element-plus/es')['ElButton']
+ ElCard: typeof import('element-plus/es')['ElCard']
ElCascader: typeof import('element-plus/es')['ElCascader']
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
@@ -25,6 +26,12 @@ declare module 'vue' {
ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
ElTable: typeof import('element-plus/es')['ElTable']
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
+ ElTimeline: typeof import('element-plus/es')['ElTimeline']
+ ElTimelineItem: typeof import('element-plus/es')['ElTimelineItem']
ElTooltip: typeof import('element-plus/es')['ElTooltip']
+ EmptyHeader: typeof import('./components/layouts/EmptyHeader.vue')['default']
+ MainManu: typeof import('./components/layouts/MainManu.vue')['default']
+ RouterLink: typeof import('vue-router')['RouterLink']
+ RouterView: typeof import('vue-router')['RouterView']
}
}
diff --git a/frontend/src/components/layouts/BaseHeader.vue b/frontend/src/components/layouts/BaseHeader.vue
index 9354237..58f37f3 100644
--- a/frontend/src/components/layouts/BaseHeader.vue
+++ b/frontend/src/components/layouts/BaseHeader.vue
@@ -42,60 +42,7 @@
>
{{$t('header.exact')}}
-
-
+
diff --git a/frontend/src/components/layouts/EmptyHeader.vue b/frontend/src/components/layouts/EmptyHeader.vue
new file mode 100644
index 0000000..7067073
--- /dev/null
+++ b/frontend/src/components/layouts/EmptyHeader.vue
@@ -0,0 +1,77 @@
+// EmptyHeader.vue
+
+
+
+
+
+
+
diff --git a/frontend/src/components/layouts/MainManu.vue b/frontend/src/components/layouts/MainManu.vue
new file mode 100644
index 0000000..ca5b24e
--- /dev/null
+++ b/frontend/src/components/layouts/MainManu.vue
@@ -0,0 +1,115 @@
+// MainManu.vue
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/languages/en.js b/frontend/src/languages/en.js
index 1f6ff8d..7d61647 100644
--- a/frontend/src/languages/en.js
+++ b/frontend/src/languages/en.js
@@ -38,6 +38,31 @@ const en = {
fr:"French",
kr:"Korean",
allLanguages:"All Languages",
+ },
+ updateLog:{
+ title:"Update Log",
+ pageTitle:"Update Log - Final Fantasy XIV Text Searcher",
+ content:[
+ {
+ version:"1.1.0",
+ date:"2024-08-28",
+ detail:[
+ "1. Added multi-language support",
+ "2. Added update log",
+ ]
+ },
+ {
+ version:"1.0.0",
+ date:"2024-08-02",
+ detail:[
+ "1. Basic functions implemented",
+ "2. Supported partial search, similar search, exact search",
+ "3. Supported setting default language, data per page",
+ "4. Supported storing settings with Cookies",
+ "5. Supported custom search version, supported comparison between versions",
+ ]
+ }
+ ]
}
}
export default en;
\ No newline at end of file
diff --git a/frontend/src/languages/zh.js b/frontend/src/languages/zh.js
index 17d754d..89bc5c1 100644
--- a/frontend/src/languages/zh.js
+++ b/frontend/src/languages/zh.js
@@ -39,6 +39,31 @@ const zh = {
kr:"韩语",
allLanguages:"所有语言",
+ },
+ updateLog:{
+ title:"更新日志",
+ pageTitle:"更新日志 - 最终幻想14 文本搜索器",
+ content:[
+ {
+ version:"1.1.0",
+ date:"2024-08-28",
+ detail:[
+ "1.新增了语言切换功能",
+ "2.新增了更新日志",
+ ]
+ },
+ {
+ version:"1.0.0",
+ date:"2024-08-02",
+ detail:[
+ "1.基础功能实现",
+ "2.支持部分搜索、相似搜索、精确搜索",
+ "3.支持设置默认语言、每页显示条数",
+ "4.支持Cookies存储设置",
+ "5.支持自定义搜索版本,支持版本间对比",
+ ]
+ }
+ ]
}
}
export default zh;
\ No newline at end of file
diff --git a/frontend/src/main.ts b/frontend/src/main.ts
index 6495394..455f8cd 100644
--- a/frontend/src/main.ts
+++ b/frontend/src/main.ts
@@ -1,8 +1,10 @@
import { createApp } from "vue";
import App from "./App.vue";
+import Home from "./Home.vue"
import { createI18n } from 'vue-i18n';
import en from './languages/en';
import zh from './languages/zh';
+import router from './router';
// import "~/styles/element/index.scss";
// import ElementPlus from "element-plus";
@@ -26,7 +28,8 @@ const i18n = createI18n({
legacy: false
})
-const app = createApp(App);
+const app = createApp(Home);
+app.use(router);
app.use(i18n);
// app.use(ElementPlus);
app.mount("#app");
diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js
new file mode 100644
index 0000000..46fb39a
--- /dev/null
+++ b/frontend/src/router/index.js
@@ -0,0 +1,24 @@
+import { createRouter, createWebHistory } from 'vue-router';
+import Home from '../Home.vue';
+import App from '../App.vue';
+import UpdateLog from '../UpdateLog.vue';
+
+const routes = [
+ {
+ path: '/',
+ name: 'App',
+ component: App
+ },
+ {
+ path: '/log',
+ name: 'UpdateLog',
+ component: UpdateLog
+ },
+];
+
+const router = createRouter({
+ history: createWebHistory('/'),
+ routes
+});
+
+export default router;
\ No newline at end of file
diff --git a/readme.md b/readme.md
index 71019c0..95bf1e0 100644
--- a/readme.md
+++ b/readme.md
@@ -2,7 +2,7 @@
## 最终幻想14文本搜索器
-搜索游戏内各种剧情文本,对 [https://strings.wakingsands.com/](https://strings.wakingsands.com/) 拙劣的模仿。
+搜索游戏内各种剧情文本,对 [https://strings.wakingsands.com/](https://strings.wakingsands.com/) 拙劣的模仿,并添加了一些无用的功能。
### 特性
@@ -10,21 +10,24 @@
- 支持自定义搜索版本
- 支持自定义搜索语言
- 支持跨版本搜索对比
+- 用户界面语言切换(中文,英语)
### 部署地址
[https://ffxivtext.arkady14.me/](https://ffxivtext.arkady14.me/)
+*部署在最便宜的服务器上,速度就莫期待了:)
+
---
# Introduction
## Final Fantasy XIV Text Searcher
-A tool for searching various story/dialogue texts in the game, a lame imitation of [https://strings.wakingsands.com/](https://strings.wakingsands.com/).
+A tool for searching various story/dialogue texts in the game, a lame imitation of [https://strings.wakingsands.com/](https://strings.wakingsands.com/), with some additional useless features.
### Features
-
+- Multi-language user interface (currently supports Chinese and English)
- Supports partial, similar, and exact search methods
- Allows custom search versions
- Supports custom search languages
@@ -32,4 +35,6 @@ A tool for searching various story/dialogue texts in the game, a lame imitation
### Deployment
-[https://ffxivtext.arkady14.me/](https://ffxivtext.arkady14.me/)
\ No newline at end of file
+[https://ffxivtext.arkady14.me/](https://ffxivtext.arkady14.me/)
+
+Hosted on the cheapest server, so don't expect any performance :)
\ No newline at end of file