diff --git a/lib/common/widgets/video_card_v.dart b/lib/common/widgets/video_card_v.dart index a9898c43..53300d3e 100644 --- a/lib/common/widgets/video_card_v.dart +++ b/lib/common/widgets/video_card_v.dart @@ -60,6 +60,16 @@ class VideoCardV extends StatelessWidget { 'heroTag': heroTag, }); break; + default: + SmartDialog.showToast(videoItem.goto); + Get.toNamed( + '/webview', + parameters: { + 'url': videoItem.uri, + 'type': 'url', + 'pageTitle': videoItem.title, + }, + ); } } @@ -151,6 +161,15 @@ class VideoContent extends StatelessWidget { type: 'color', ) ], + if (videoItem.goto == 'picture') ...[ + const PBadge( + text: '动态', + stack: 'normal', + size: 'small', + type: 'line', + fs: 9, + ) + ], Expanded( child: Text( videoItem.owner.name,