细节修改

This commit is contained in:
Seven Tsui 2025-09-17 16:50:23 +08:00
parent 3b01d77393
commit 6808729de1

View File

@ -540,9 +540,9 @@ class _SearchResultPageState extends State<SearchResultPage> with SingleTickerPr
child: Container( child: Container(
width: double.infinity, width: double.infinity,
color: Colors.grey[200], color: Colors.grey[200],
child: video['cover'] != null && video['cover'].toString().isNotEmpty child: video['firstFrameImg'] != null && video['firstFrameImg'].toString().isNotEmpty
? Image.network( ? Image.network(
video['cover'].toString(), video['firstFrameImg'].toString(),
fit: BoxFit.cover, fit: BoxFit.cover,
errorBuilder: (context, error, stackTrace) { errorBuilder: (context, error, stackTrace) {
return Container( return Container(