1
This commit is contained in:
@@ -4,8 +4,8 @@ class AppConfig {
|
|||||||
|
|
||||||
/// App 版本(对应 pubspec version 的 name 部分;version_code 对应 build 号)
|
/// App 版本(对应 pubspec version 的 name 部分;version_code 对应 build 号)
|
||||||
/// ⚠️ 每次发版必须与 pubspec.yaml 的 version 同步递增,否则老用户会一直提示更新
|
/// ⚠️ 每次发版必须与 pubspec.yaml 的 version 同步递增,否则老用户会一直提示更新
|
||||||
static const String appVersion = '1.1.8';
|
static const String appVersion = '1.2.0';
|
||||||
static const int appVersionCode = 10;
|
static const int appVersionCode = 12;
|
||||||
|
|
||||||
/// 平台标识(运行时按 iOS/Android 判定,见 platformName)
|
/// 平台标识(运行时按 iOS/Android 判定,见 platformName)
|
||||||
static const String platformNameIOS = 'ios';
|
static const String platformNameIOS = 'ios';
|
||||||
|
|||||||
@@ -287,7 +287,9 @@ class _FeedVideoPageState extends ConsumerState<FeedVideoPage> {
|
|||||||
duration: (ep['duration'] as num?)?.toInt() ?? 0,
|
duration: (ep['duration'] as num?)?.toInt() ?? 0,
|
||||||
author: widget.item.author,
|
author: widget.item.author,
|
||||||
);
|
);
|
||||||
// 打开 SimplePlayerScreen 播放该集
|
// 先暂停 Feed 页播放器,再打开 SimplePlayerScreen
|
||||||
|
widget.pool.pauseExcept(slotIndex: -1);
|
||||||
|
// ignore: use_build_context_synchronously
|
||||||
context.push('/player', extra: newItem);
|
context.push('/player', extra: newItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -2,7 +2,7 @@ name: video_app
|
|||||||
description: "短视频应用(Flutter,iOS/Android 双端)"
|
description: "短视频应用(Flutter,iOS/Android 双端)"
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 1.1.8+10
|
version: 1.2.0+12
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.9.2
|
sdk: ^3.9.2
|
||||||
|
|||||||
Binary file not shown.
@@ -196,6 +196,7 @@ async def get_video_series(video_id: int, db: AsyncSession = Depends(get_db)):
|
|||||||
"episode_no": v.episode_no,
|
"episode_no": v.episode_no,
|
||||||
"title": v.title,
|
"title": v.title,
|
||||||
"cover_url": v.cover_url,
|
"cover_url": v.cover_url,
|
||||||
|
"video_url": v.video_url,
|
||||||
"duration": v.duration,
|
"duration": v.duration,
|
||||||
}
|
}
|
||||||
for v in all_eps
|
for v in all_eps
|
||||||
|
|||||||
Reference in New Issue
Block a user