opt: merge fav,follow,history search

This commit is contained in:
bggRGjQaUbCoE
2024-09-13 18:01:06 +08:00
parent b7d115c3ae
commit c78c688002
16 changed files with 160 additions and 472 deletions

View File

@@ -1,3 +1,4 @@
import 'package:PiliPalaX/pages/fav_search/view.dart' show SearchType;
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'controller.dart';
@@ -38,7 +39,10 @@ class _FollowPageState extends State<FollowPage> {
),
actions: [
IconButton(
onPressed: () => Get.toNamed('/followSearch?mid=$mid'),
onPressed: () => Get.toNamed('/favSearch', arguments: {
'mid': int.parse(mid),
'searchType': SearchType.follow,
}),
icon: const Icon(Icons.search_outlined),
tooltip: '搜索'),
PopupMenuButton(