feat(courseware): Flutter WebView 还原等高线课件并去除授权验证
PR 审核 / 后端编译 (pull_request) Canceled after 0s
PR 审核 / 后端自检 (pull_request) Canceled after 0s
PR 审核 / 前端检查(Flutter) (pull_request) Canceled after 0s
PR 审核 / 安全扫描 (pull_request) Canceled after 0s
PR 审核 / 审核汇总 (pull_request) Canceled after 0s

- 原课件 HTML/JS/CSS/图片/视频完整搬入 Flutter assets,相对路径可直接离线运行
- 新增 CoursewarePage:本地 HttpServer + Range 支持,避免 file:// 与 CSP 限制
- 导航新增「等高线课件」,后端未就绪也可打开
- 补齐 macOS WebView 插件、Podfile、entitlements 与 Xcode 工程配置
This commit is contained in:
远影科技 committed 2026-11-21 07:30:48 +08:00
1 parent 4ef291568a
commit 355ca89a68
30 files changed
+7708 -12

No files matched your search

+3 -3
View File
@@ -276,12 +276,12 @@ class _HomePageViewState extends State<HomePageView> {
),
const SizedBox(width: GcSpace.md),
OutlinedButton(
onPressed: () => widget.controller.goTo(1),
onPressed: () => widget.controller.goTo(2),
child: Text(T('home.download')),
),
const SizedBox(width: GcSpace.xs),
TextButton(
onPressed: () => widget.controller.goTo(2),
onPressed: () => widget.controller.goTo(3),
child: Text(T('home.settings')),
),
],
@@ -414,7 +414,7 @@ class _HomePageViewState extends State<HomePageView> {
),
const SizedBox(height: GcSpace.xl),
FilledButton(
onPressed: () => widget.controller.goTo(1),
onPressed: () => widget.controller.goTo(2),
child: Text(T('home.emptyAction')),
),
],