feat: search all

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-18 14:07:20 +08:00
parent f42a6200ed
commit 87a812b7e0
16 changed files with 593 additions and 207 deletions

View File

@@ -788,10 +788,10 @@ class _VideoInfoState extends State<VideoInfo> {
(item) => SearchText(
fontSize: 13,
text: item['tag_name'],
onTap: (_) => Get.toNamed('/searchResult',
parameters: {
'keyword': item['tag_name']
}),
onTap: (_) => Get.toNamed(
'/searchResult',
parameters: {'keyword': item['tag_name']},
),
onLongPress: (_) =>
Utils.copyText(item['tag_name']),
),

View File

@@ -922,8 +922,10 @@ class ReplyItemGrpc extends StatelessWidget {
}
} else {
if (appUrlSchema.startsWith('bilibili://search')) {
Get.toNamed('/searchResult',
parameters: {'keyword': title});
Get.toNamed(
'/searchResult',
parameters: {'keyword': title},
);
} else {
PageUtils.handleWebview(matchStr);
}
@@ -947,8 +949,10 @@ class ReplyItemGrpc extends StatelessWidget {
..onTap = () {
final String topic =
matchStr.substring(1, matchStr.length - 1);
Get.toNamed('/searchResult',
parameters: {'keyword': topic});
Get.toNamed(
'/searchResult',
parameters: {'keyword': topic},
);
},
),
);