feat: 查看up主收藏订阅

This commit is contained in:
guozhigq
2024-07-06 15:37:50 +08:00
parent bc842f4da5
commit 7ae637ed6a
12 changed files with 115 additions and 48 deletions

View File

@ -18,12 +18,14 @@ class FavVideoCardH extends StatelessWidget {
final dynamic videoItem;
final Function? callFn;
final int? searchType;
final String isOwner;
const FavVideoCardH({
Key? key,
required this.videoItem,
this.callFn,
this.searchType,
required this.isOwner,
}) : super(key: key);
@override
@ -123,6 +125,7 @@ class FavVideoCardH extends StatelessWidget {
videoItem: videoItem,
callFn: callFn,
searchType: searchType,
isOwner: isOwner,
)
],
),
@ -140,11 +143,13 @@ class VideoContent extends StatelessWidget {
final dynamic videoItem;
final Function? callFn;
final int? searchType;
final String isOwner;
const VideoContent({
super.key,
required this.videoItem,
this.callFn,
this.searchType,
required this.isOwner,
});
@override
@ -211,7 +216,7 @@ class VideoContent extends StatelessWidget {
),
],
),
searchType != 1
searchType != 1 && isOwner == '1'
? Positioned(
right: 0,
bottom: -4,