mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: search all
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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']),
|
||||
),
|
||||
|
||||
@@ -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},
|
||||
);
|
||||
},
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user