show img menu

opt img placeholder

opt player gesture

opt pref

tweaks

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-09 12:18:32 +08:00
parent 28b69a06fa
commit d10c737a38
31 changed files with 340 additions and 178 deletions

View File

@@ -773,6 +773,9 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
int? ownerMid,
Staff item,
) {
void onTap() => Get.toNamed(
'/member?mid=${item.mid}&from_view_aid=${videoDetailCtr.aid}',
);
return GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () {
@@ -781,11 +784,13 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
introController.horizontalMemberPage) {
widget.onShowMemberPage(ownerMid);
} else {
Get.toNamed(
'/member?mid=${item.mid}&from_view_aid=${videoDetailCtr.aid}',
);
onTap();
}
},
onSecondaryTap:
PlatformUtils.isDesktop && introController.horizontalMemberPage
? onTap
: null,
child: Row(
children: [
Stack(
@@ -893,6 +898,12 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
) => GestureDetector(
onTap: onPushMember,
behavior: HitTestBehavior.opaque,
onSecondaryTap:
PlatformUtils.isDesktop && introController.horizontalMemberPage
? () => Get.toNamed(
'/member?mid=${introController.userStat.value.card?.mid}&from_view_aid=${videoDetailCtr.aid}',
)
: null,
child: Obx(
() {
final userStat = introController.userStat.value;