From 214571688ce1bd698199e8f1d2b5256e01d69b93 Mon Sep 17 00:00:00 2001 From: yuzhiran Date: Sun, 21 Jun 2026 09:48:41 +0800 Subject: [PATCH] feat: SEO optimization - canonical URL, robots.txt, sitemap, structured data, keyword-rich titles, manifest update --- zhiyin-app/.env.production | 3 ++- zhiyin-app/index.html | 30 +++++++++++++++++++++++++----- zhiyin-app/package.json | 6 +++--- zhiyin-app/src/manifest.json | 8 ++++---- zhiyin-app/src/pages.json | 34 +++++++++++++++++----------------- zhiyin-app/static/robots.txt | 3 +++ zhiyin-app/static/sitemap.xml | 8 ++++++++ 7 files changed, 62 insertions(+), 30 deletions(-) create mode 100644 zhiyin-app/static/robots.txt create mode 100644 zhiyin-app/static/sitemap.xml diff --git a/zhiyin-app/.env.production b/zhiyin-app/.env.production index 1e0a299..fd37fbd 100644 --- a/zhiyin-app/.env.production +++ b/zhiyin-app/.env.production @@ -1,4 +1,5 @@ # 生产环境变量 VITE_API_BASE_URL=https://zhiyinwx.yzrcloud.cn/api -VITE_APP_NAME=AI磁场 +VITE_APP_NAME=职引·宇之然AI磁场 +VITE_APP_DESC=AI模拟面试·简历优化·面经题库·校招求职一站式平台 VITE_PROD_API_HOST=https://zhiyinwx.yzrcloud.cn diff --git a/zhiyin-app/index.html b/zhiyin-app/index.html index 9d1d698..f091aac 100644 --- a/zhiyin-app/index.html +++ b/zhiyin-app/index.html @@ -6,20 +6,40 @@ 职引 - AI模拟面试 | 宇之然AI磁场 · 智能面试练习 · 简历优化 · 面经题库 - + + + - + + + + diff --git a/zhiyin-app/package.json b/zhiyin-app/package.json index 975fbaf..e80fa37 100644 --- a/zhiyin-app/package.json +++ b/zhiyin-app/package.json @@ -3,9 +3,9 @@ "version": "1.0.0", "scripts": { "dev:mp-weixin": "uni -p mp-weixin", - "build:mp-weixin": "uni build -p mp-weixin && cp -f static/avatar-*.png dist/build/mp-weixin/static/ 2>/dev/null; true", - "dev:h5": "uni", - "build:h5": "uni build && cp -f static/avatar-*.png dist/build/h5/static/ 2>/dev/null; true", +"build:mp-weixin": "uni build -p mp-weixin && cp -f static/avatar-*.png dist/build/mp-weixin/static/ 2>/dev/null; true", +"dev:h5": "uni", +"build:h5": "uni build && cp -f static/avatar-*.png dist/build/h5/static/ 2>/dev/null && cp -f static/robots.txt static/sitemap.xml dist/build/h5/ 2>/dev/null; true", "test": "vitest run", "test:watch": "vitest" }, diff --git a/zhiyin-app/src/manifest.json b/zhiyin-app/src/manifest.json index 7a35066..629c1ba 100644 --- a/zhiyin-app/src/manifest.json +++ b/zhiyin-app/src/manifest.json @@ -1,9 +1,9 @@ { - "name": "宇之然AI磁场", + "name": "职引 - AI模拟面试", "appid": "__UNI__DEV__", - "versionName": "1.0.15", - "versionCode": "115", - "description": "职引 - 宇之然AI磁场旗下AI模拟面试平台,提供AI面试官模拟练习、简历智能优化、大厂面经题库,助你轻松应对校招面试。", + "versionName": "1.0.16", + "versionCode": "116", + "description": "职引 - 宇之然AI磁场旗下AI模拟面试平台。AI面试官模拟练习、简历智能优化、大厂面经题库、面试复盘分析、AI择业顾问,一站式校招求职准备平台。", "h5": { "title": "职引 - AI模拟面试 | 宇之然AI磁场", "router": { diff --git a/zhiyin-app/src/pages.json b/zhiyin-app/src/pages.json index bd4f22c..86a488c 100644 --- a/zhiyin-app/src/pages.json +++ b/zhiyin-app/src/pages.json @@ -1,25 +1,25 @@ { "pages": [ - { "path": "pages/index/index", "style": { "navigationBarTitleText": "职引 - AI模拟面试" } }, - { "path": "pages/interview/interview", "style": { "navigationBarTitleText": "AI模拟面试" } }, - { "path": "pages/report/report", "style": { "navigationBarTitleText": "面试报告" } }, - { "path": "pages/member/member", "style": { "navigationBarTitleText": "会员中心" } }, - { "path": "pages/progress/progress", "style": { "navigationBarTitleText": "进步轨迹" } }, - { "path": "pages/contribute/contribute", "style": { "navigationBarTitleText": "面经分享" } }, - { "path": "pages/company-bank/bank", "style": { "navigationBarTitleText": "公司真题库" } }, - { "path": "pages/login/login", "style": { "navigationBarTitleText": "登录" } }, - { "path": "pages/history/history", "style": { "navigationBarTitleText": "面试记录" } }, - { "path": "pages/user/user", "style": { "navigationBarTitleText": "我的" } }, - { "path": "pages/resume/resume", "style": { "navigationBarTitleText": "简历优化" } }, - { "path": "pages/internship/internship", "style": { "navigationBarTitleText": "实习搜索" } }, + { "path": "pages/index/index", "style": { "navigationBarTitleText": "AI模拟面试 - 职引" } }, + { "path": "pages/interview/interview", "style": { "navigationBarTitleText": "AI模拟面试练习" } }, + { "path": "pages/report/report", "style": { "navigationBarTitleText": "面试报告与评分" } }, + { "path": "pages/member/member", "style": { "navigationBarTitleText": "引力值购买" } }, + { "path": "pages/progress/progress", "style": { "navigationBarTitleText": "进步轨迹与打卡" } }, + { "path": "pages/contribute/contribute", "style": { "navigationBarTitleText": "分享面经" } }, + { "path": "pages/company-bank/bank", "style": { "navigationBarTitleText": "公司真题题库" } }, + { "path": "pages/login/login", "style": { "navigationBarTitleText": "登录 / 注册" } }, + { "path": "pages/history/history", "style": { "navigationBarTitleText": "面经与面试记录" } }, + { "path": "pages/user/user", "style": { "navigationBarTitleText": "个人中心" } }, + { "path": "pages/resume/resume", "style": { "navigationBarTitleText": "简历诊断与优化" } }, + { "path": "pages/internship/internship", "style": { "navigationBarTitleText": "热门岗位" } }, { "path": "pages/about/about", "style": { "navigationBarTitleText": "关于职引" } }, { "path": "pages/admin/admin", "style": { "navigationBarTitleText": "管理后台" } }, { "path": "pages/result/result", "style": { "navigationBarTitleText": "优化结果" } }, { "path": "pages/agreement/agreement", "style": { "navigationBarTitleText": "用户协议" } }, { "path": "pages/privacy/privacy", "style": { "navigationBarTitleText": "隐私政策" } }, { "path": "pages/share/share", "style": { "navigationBarTitleText": "我的分享" } }, - { "path": "pages/review/review", "style": { "navigationBarTitleText": "面试复盘" } }, - { "path": "pages/career/career", "style": { "navigationBarTitleText": "择业顾问" } } + { "path": "pages/review/review", "style": { "navigationBarTitleText": "面试复盘分析" } }, + { "path": "pages/career/career", "style": { "navigationBarTitleText": "AI择业顾问" } } ], "tabBar": { "color": "#999999", @@ -27,9 +27,9 @@ "backgroundColor": "#F3F4F6", "borderStyle": "black", "list": [ - { "pagePath": "pages/index/index", "text": "面试", "iconPath": "static/tabbar/home.png", "selectedIconPath": "static/tabbar/home-active.png" }, - { "pagePath": "pages/history/history", "text": "面经", "iconPath": "static/tabbar/history.png", "selectedIconPath": "static/tabbar/history-active.png" }, - { "pagePath": "pages/user/user", "text": "我的", "iconPath": "static/tabbar/user.png", "selectedIconPath": "static/tabbar/user-active.png" } + { "pagePath": "pages/index/index", "text": "AI面试", "iconPath": "static/tabbar/home.png", "selectedIconPath": "static/tabbar/home-active.png" }, + { "pagePath": "pages/history/history", "text": "面经题库", "iconPath": "static/tabbar/history.png", "selectedIconPath": "static/tabbar/history-active.png" }, + { "pagePath": "pages/user/user", "text": "个人中心", "iconPath": "static/tabbar/user.png", "selectedIconPath": "static/tabbar/user-active.png" } ] }, "globalStyle": { diff --git a/zhiyin-app/static/robots.txt b/zhiyin-app/static/robots.txt new file mode 100644 index 0000000..9bd145c --- /dev/null +++ b/zhiyin-app/static/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Allow: / +Sitemap: https://zhiyin.yzrcloud.cn/sitemap.xml diff --git a/zhiyin-app/static/sitemap.xml b/zhiyin-app/static/sitemap.xml new file mode 100644 index 0000000..d7fc39a --- /dev/null +++ b/zhiyin-app/static/sitemap.xml @@ -0,0 +1,8 @@ + + + + https://zhiyin.yzrcloud.cn + daily + 1.0 + +