feat: 视频操作
This commit is contained in:
@ -10,12 +10,12 @@ class MediaController extends GetxController {
|
||||
{
|
||||
'icon': Icons.file_download_outlined,
|
||||
'title': '离线缓存',
|
||||
'onTap': () => Get.toNamed('/fav'),
|
||||
'onTap': () {},
|
||||
},
|
||||
{
|
||||
'icon': Icons.history,
|
||||
'title': '观看记录',
|
||||
'onTap': () => Get.toNamed('/fav'),
|
||||
'onTap': () {},
|
||||
},
|
||||
{
|
||||
'icon': Icons.star_border,
|
||||
@ -24,8 +24,8 @@ class MediaController extends GetxController {
|
||||
},
|
||||
{
|
||||
'icon': Icons.watch_later_outlined,
|
||||
'title': '稍后再看',
|
||||
'onTap': () => Get.toNamed('/fav'),
|
||||
'title': '稍候再看',
|
||||
'onTap': () => {},
|
||||
},
|
||||
];
|
||||
|
||||
|
@ -56,8 +56,13 @@ class _MediaPageState extends State<MediaPage>
|
||||
color: primary,
|
||||
),
|
||||
),
|
||||
contentPadding:
|
||||
const EdgeInsets.only(left: 15, top: 2, bottom: 2),
|
||||
minLeadingWidth: 0,
|
||||
title: Text(i['title']),
|
||||
title: Text(
|
||||
i['title'],
|
||||
style: const TextStyle(fontSize: 15),
|
||||
),
|
||||
),
|
||||
],
|
||||
favFolder()
|
||||
@ -105,13 +110,11 @@ class _MediaPageState extends State<MediaPage>
|
||||
),
|
||||
),
|
||||
),
|
||||
trailing: Padding(
|
||||
padding: const EdgeInsets.only(right: 10),
|
||||
child: Text(
|
||||
'查看全部',
|
||||
style: TextStyle(
|
||||
fontSize: Theme.of(context).textTheme.labelMedium!.fontSize,
|
||||
color: Theme.of(context).colorScheme.outline),
|
||||
trailing: IconButton(
|
||||
onPressed: () => _mediaController.queryFavFolder(),
|
||||
icon: const Icon(
|
||||
Icons.refresh,
|
||||
size: 20,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user