feat: 新增共享记事本页签(iframe 嵌入 + 存活校验)与集中配置

- 新增 whiteboard 模块:iframe 嵌入 f.zikai.wang/wb/shared,骨架屏+降级外链
- 存活校验:模块声明 requiresAlive,启动时 no-cors 探测 /health 一次,
  服务挂掉则隐藏页签(刷新页面才重探)
- 集中配置 src/config/app.config.js:白板 URL/探针/默认记事本 id 统一管理
- 容错强化:注册表/路由/useProjects 单模块异常不影响其他页签,删除一个页签
  仅需删其模块文件夹并重新 build
- i18n:tabs.whiteboard / common.serviceUnavailable / whiteboard.openExternal
- README 精简重写:仅保留项目结构、基础设施、Ubuntu 从0安装、新增页签
This commit is contained in:
2026-07-22 02:22:59 +00:00
parent 19b301b937
commit b5dcf924fb
10 changed files with 409 additions and 179 deletions

View File

@@ -6,11 +6,16 @@ export default {
},
common: {
loading: 'Loading…',
notAvailable: 'Not available'
notAvailable: 'Not available',
serviceUnavailable: 'Service is temporarily unavailable. Please try again later.'
},
tabs: {
mobileGame: 'Mobile Game Project',
calendar: 'CQY Timetable'
calendar: 'CQY Timetable',
whiteboard: 'Shared Notepad'
},
whiteboard: {
openExternal: 'Open in new tab'
},
mobileGame: {
hero: {

View File

@@ -5,11 +5,16 @@ export default {
},
common: {
loading: '加载中…',
notAvailable: '暂不可用'
notAvailable: '暂不可用',
serviceUnavailable: '服务暂不可用,请稍后再试。'
},
tabs: {
mobileGame: '移动游戏项目',
calendar: 'cqy课程表'
calendar: 'cqy课程表',
whiteboard: '共享记事本'
},
whiteboard: {
openExternal: '在新标签页打开'
},
mobileGame: {
hero: {