细节修改
This commit is contained in:
parent
3b01d77393
commit
6808729de1
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user