mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
refa: vertical video page (#328)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -104,8 +104,8 @@ class MemberVideoCtr extends CommonController {
|
||||
?.group(1);
|
||||
dynamic bvid = IdUtils.av2bv(int.tryParse(oid) ?? 0);
|
||||
dynamic cid = await SearchHttp.ab2c(aid: oid, bvid: bvid);
|
||||
Get.toNamed(
|
||||
'/video?bvid=$bvid&cid=$cid',
|
||||
Utils.toViewPage(
|
||||
'bvid=$bvid&cid=$cid',
|
||||
arguments: {
|
||||
'heroTag': Utils.makeHeroTag(oid),
|
||||
'sourceType': 'archive',
|
||||
@@ -145,8 +145,8 @@ class MemberVideoCtr extends CommonController {
|
||||
: sort.value == 'asc')
|
||||
? desc.not
|
||||
: desc;
|
||||
Get.toNamed(
|
||||
'/video?bvid=${element.bvid}&cid=${element.firstCid}',
|
||||
Utils.toViewPage(
|
||||
'bvid=${element.bvid}&cid=${element.firstCid}',
|
||||
arguments: {
|
||||
'videoItem': element,
|
||||
'heroTag': Utils.makeHeroTag(element.bvid),
|
||||
|
||||
Reference in New Issue
Block a user