diff --git a/lib/pages/video/detail/reply/widgets/reply_item_grpc.dart b/lib/pages/video/detail/reply/widgets/reply_item_grpc.dart index 06f07faad..c5ea1a9f2 100644 --- a/lib/pages/video/detail/reply/widgets/reply_item_grpc.dart +++ b/lib/pages/video/detail/reply/widgets/reply_item_grpc.dart @@ -699,20 +699,21 @@ class ReplyItemGrpc extends StatelessWidget { // String matchStr = match[0]!; spanChildren.add( TextSpan( - text: '投票: ${content.vote.title}', - style: TextStyle( - color: Theme.of(context).colorScheme.primary, - ), - recognizer: TapGestureRecognizer()..onTap = () {} - // Get.toNamed( - // '/webview', - // parameters: { - // 'url': content.vote['url'], - // 'type': 'vote', - // 'pageTitle': content.vote.title, - // }, - // ), - ), + text: '投票: ${content.vote.title}', + style: TextStyle( + color: Theme.of(context).colorScheme.primary, + ), + recognizer: TapGestureRecognizer() + ..onTap = () { + Get.toNamed( + '/webview', + parameters: { + 'url': + 'https://t.bilibili.com/vote/h5/index/#/result?vote_id=${content.vote.id}', + }, + ); + }, + ), ); return ''; }, onNonMatch: (String str) {