feat(courseware): Flutter WebView 还原等高线课件并去除授权验证
- 原课件 HTML/JS/CSS/图片/视频完整搬入 Flutter assets,相对路径可直接离线运行 - 新增 CoursewarePage:本地 HttpServer + Range 支持,避免 file:// 与 CSP 限制 - 导航新增「等高线课件」,后端未就绪也可打开 - 补齐 macOS WebView 插件、Podfile、entitlements 与 Xcode 工程配置
This commit is contained in:
1 parent
4ef291568a
commit
355ca89a68
30 files changed
+7708
-12
No files matched your search
@@ -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')),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user