细节修改
This commit is contained in:
parent
3b01d77393
commit
6808729de1
@ -540,9 +540,9 @@ class _SearchResultPageState extends State<SearchResultPage> with SingleTickerPr
|
||||
child: Container(
|
||||
width: double.infinity,
|
||||
color: Colors.grey[200],
|
||||
child: video['cover'] != null && video['cover'].toString().isNotEmpty
|
||||
child: video['firstFrameImg'] != null && video['firstFrameImg'].toString().isNotEmpty
|
||||
? Image.network(
|
||||
video['cover'].toString(),
|
||||
video['firstFrameImg'].toString(),
|
||||
fit: BoxFit.cover,
|
||||
errorBuilder: (context, error, stackTrace) {
|
||||
return Container(
|
||||
|
Loading…
x
Reference in New Issue
Block a user