diff --git a/lib/pages/dynamics/widgets/rich_node_panel.dart b/lib/pages/dynamics/widgets/rich_node_panel.dart index b115aa76..e4c4b010 100644 --- a/lib/pages/dynamics/widgets/rich_node_panel.dart +++ b/lib/pages/dynamics/widgets/rich_node_panel.dart @@ -102,13 +102,7 @@ InlineSpan? richNode(item, BuildContext context) { SmartDialog.showToast('未获取到链接'); return; } - if (url.startsWith('//')) { - PiliScheme.routePushFromUrl('https:$url'); - return; - } - PageUtils.handleWebview( - url.startsWith('//') ? "https://$url" : url, - ); + PiliScheme.routePushFromUrl(url); }, child: Text( i.text ?? '', diff --git a/lib/pages/video/detail/introduction/view.dart b/lib/pages/video/detail/introduction/view.dart index 3dde1b53..f297c653 100644 --- a/lib/pages/video/detail/introduction/view.dart +++ b/lib/pages/video/detail/introduction/view.dart @@ -710,24 +710,34 @@ class _VideoInfoState extends State { ], if (videoIntroController.videoTags is List && videoIntroController.videoTags.isNotEmpty) ...[ - const SizedBox(height: 8), - Wrap( - spacing: 8, - runSpacing: 8, - children: (videoIntroController.videoTags as List) - .map( - (item) => SearchText( - fontSize: 13, - text: item['tag_name'], - onTap: (_) => Get.toNamed( - '/searchResult', - parameters: {'keyword': item['tag_name']}, - ), - onLongPress: (_) => - Utils.copyText(item['tag_name']), - ), - ) - .toList(), + GestureDetector( + onTap: () {}, + behavior: HitTestBehavior.opaque, + child: Container( + width: double.infinity, + padding: const EdgeInsets.only(top: 8), + child: Wrap( + spacing: 8, + runSpacing: 8, + children: (videoIntroController.videoTags + as List) + .map( + (item) => SearchText( + fontSize: 13, + text: item['tag_name'], + onTap: (_) => Get.toNamed( + '/searchResult', + parameters: { + 'keyword': item['tag_name'] + }, + ), + onLongPress: (_) => + Utils.copyText(item['tag_name']), + ), + ) + .toList(), + ), + ), ), ], ],