|
|
|
@ -177,32 +177,16 @@ class _HotArticleDetailsPage extends State<HotArticleDetailsPage> {
|
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
color: Color(0xff1A1A1A))), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 28, |
|
|
|
|
child: ListView.builder( |
|
|
|
|
itemCount: 6, |
|
|
|
|
scrollDirection: Axis.vertical, |
|
|
|
|
physics: BouncingScrollPhysics(), |
|
|
|
|
itemBuilder: (context, position) { |
|
|
|
|
return _commentItem(); |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
// Container( |
|
|
|
|
// child: ListView.builder( |
|
|
|
|
// itemCount: 10, |
|
|
|
|
// itemBuilder: (context, position) { |
|
|
|
|
// _commentItem(); |
|
|
|
|
// return Container( |
|
|
|
|
// margin: EdgeInsets.only( |
|
|
|
|
// left: 16, right: 16, top: position == 0 ? 32 : 8, bottom: 8), |
|
|
|
|
// padding: EdgeInsets.only(top: 16, bottom: 16), |
|
|
|
|
// decoration: BoxDecoration( |
|
|
|
|
// color: Colors.white, |
|
|
|
|
// boxShadow: [ |
|
|
|
|
// BoxShadow( |
|
|
|
|
// color: Colors.black.withAlpha(12), |
|
|
|
|
// offset: Offset(0, 3), |
|
|
|
|
// blurRadius: 14, |
|
|
|
|
// spreadRadius: 0) |
|
|
|
|
// ], |
|
|
|
|
// borderRadius: BorderRadius.all(Radius.circular(8))), |
|
|
|
|
// child: _commentItem(), |
|
|
|
|
// ); |
|
|
|
|
// }), |
|
|
|
|
// ) |
|
|
|
|
_commentItem() |
|
|
|
|
// _commentItem() |
|
|
|
|
|
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|