From 90fcd70604f9b3fbabd4fb83428f65e3e28cce88 Mon Sep 17 00:00:00 2001 From: Zyronon Date: Thu, 6 Nov 2025 12:06:15 +0000 Subject: [PATCH] save --- Note.md | 14 +- app.html => index.html | 0 package.json | 2 +- public/{index.html => static-home.html} | 3 +- scripts/do.js | 49 ++++++ scripts/generate-sitemap.js | 42 ------ src/components/CollectNotice.vue | 189 ------------------------ src/pages/layout.vue | 26 ++-- src/pages/word/DictDetail.vue | 2 +- src/pages/word/Statistics.vue | 4 +- src/pages/word/WordsPage.vue | 4 +- src/pages/word/components/TypeWord.vue | 1 + src/router.ts | 4 +- src/stores/setting.ts | 2 +- vite.config.ts | 16 +- 15 files changed, 92 insertions(+), 266 deletions(-) rename app.html => index.html (100%) rename public/{index.html => static-home.html} (99%) create mode 100644 scripts/do.js delete mode 100644 scripts/generate-sitemap.js delete mode 100644 src/components/CollectNotice.vue diff --git a/Note.md b/Note.md index 80cb03f3..bb6111f8 100644 --- a/Note.md +++ b/Note.md @@ -65,4 +65,16 @@ I found this note on my car: 'Sir, we welcome you to our city. This is a 'No Par Food and talk A new play is coming to "The Globe"soon, I said. Will you be seeing it? -26的 of curse \ No newline at end of file +26的 of curse + +1、例句可以选中单词,并添加到收藏 + +1、域名:你需要一个真正的品牌,type域名,契合内容,让人记得住 +2、口号太墨迹记不住,要简介:学习英语,一次敲击,一点进步记忆不再盲目,学习更高效,开源单词与文章练习工具 +3、布局:没有逻辑,首页进去看到标题,然后两个小的单词练习、文章联系,下面又是一大堆大的,没有逻辑和划分 +4、下面联系方式你需要放一个QQ群,社群资源,全放联系方式等于没放 +5、ABC页面弹出来的保存书签,不是加入书签就不迷失,是要让他们肌肉记忆住这个网站 +6、ABC页面太墨迹,不简洁,进度复杂,本周学习记录改成日历,有个标记,+激励分享功能,满足炫耀欲望 +7、设置不要用那个烂字体,真的很山寨, +8、更新日志要按v版本和日期跟踪,要写的多,做得少,显示你在认真维护,是个令人尊重的程序员 +9、必须加后端、账号注册 \ No newline at end of file diff --git a/app.html b/index.html similarity index 100% rename from app.html rename to index.html diff --git a/package.json b/package.json index 08150917..03beb38c 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "start": "vite", "dev": "vite", "test": "", - "build": "vite build && node scripts/generate-sitemap.js", + "build": "vite build && node scripts/do.js", "build-nocdn": "vite build", "build-tsc": "vue-tsc && vite build", "report": "vite build", diff --git a/public/index.html b/public/static-home.html similarity index 99% rename from public/index.html rename to public/static-home.html index 44547d80..6e05356d 100644 --- a/public/index.html +++ b/public/static-home.html @@ -40,7 +40,8 @@ - - - - diff --git a/src/pages/layout.vue b/src/pages/layout.vue index 245a887a..52bcf7cc 100644 --- a/src/pages/layout.vue +++ b/src/pages/layout.vue @@ -8,13 +8,15 @@ import useTheme from "@/hooks/theme.ts"; import BaseIcon from "@/components/BaseIcon.vue"; import {useRuntimeStore} from "@/stores/runtime.ts"; - const settingStore = useSettingStore() const runtimeStore = useRuntimeStore() const router = useRouter() -const {toggleTheme,getTheme} = useTheme() - +const {toggleTheme, getTheme} = useTheme() +//首页为了seo被剥离出去了,现在是一个静态页面,用nginx 重定向控制对应的跳转 +function goHome() { + window.location.href = '/'; +}