Browse Source

1.动态详情,评论-已显示全部—修改;

2.动态详情,评论-输入框发送点击范围更改;
new_revision_app
wurong 2 years ago
parent
commit
0309254ac5
  1. 2
      lib/web/web_view/comment_list.dart
  2. 3
      lib/web/web_view/input_comment.dart

2
lib/web/web_view/comment_list.dart

@ -128,7 +128,7 @@ class CommentListState extends State<CommentList> {
); );
}, },
), ),
if (memberList != null && memberList.length > 0) if (memberList != null && memberList.length > 10)
Container( Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Color(0xFFF2F2F2), color: Color(0xFFF2F2F2),

3
lib/web/web_view/input_comment.dart

@ -126,6 +126,7 @@ class _InputComment extends State<InputComment> {
), ),
if (widget.isKeyBoardShow) if (widget.isKeyBoardShow)
GestureDetector( GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () { onTap: () {
var commentText = widget.commentTextController.text; var commentText = widget.commentTextController.text;
if (commentText.trim() == "") { if (commentText.trim() == "") {
@ -134,7 +135,7 @@ class _InputComment extends State<InputComment> {
widget.queryMemberComment(commentText); widget.queryMemberComment(commentText);
}, },
child: Container( child: Container(
padding: EdgeInsets.symmetric(horizontal: 20.w), padding: EdgeInsets.symmetric(horizontal: 20.w,vertical:15.h),
child: Text( child: Text(
S.of(context).fasong, S.of(context).fasong,
style: TextStyle( style: TextStyle(

Loading…
Cancel
Save