mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: video pic showing
This commit is contained in:
@@ -114,11 +114,15 @@ class VideoIntroController extends GetxController {
|
||||
queryVideoIntro();
|
||||
}
|
||||
|
||||
late final videoDetailController =
|
||||
Get.find<VideoDetailController>(tag: heroTag);
|
||||
|
||||
// 获取视频简介&分p
|
||||
void queryVideoIntro() async {
|
||||
var result = await VideoHttp.videoIntro(bvid: bvid);
|
||||
if (result['status']) {
|
||||
videoDetail.value = result['data']!;
|
||||
videoDetailController.videoItem['pic'] = result['pic']!;
|
||||
if (videoDetail.value.pages != null &&
|
||||
videoDetail.value.pages!.isNotEmpty &&
|
||||
lastPlayCid.value == 0) {
|
||||
|
||||
Reference in New Issue
Block a user