|
|
|
@ -9,6 +9,7 @@ import 'package:huixiang/retrofit/data/base_data.dart';
|
|
|
|
|
import 'package:huixiang/retrofit/data/member_comment_list.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/page.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/retrofit_api.dart'; |
|
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/comment_menu.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/custom_image.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/login_tips_dialog.dart'; |
|
|
|
@ -70,6 +71,7 @@ class _CommentList extends State<CommentList> {
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
void initState() { |
|
|
|
|
super.initState(); |
|
|
|
|
queryMemberCommentList(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -101,7 +103,7 @@ class _CommentList extends State<CommentList> {
|
|
|
|
|
S.of(context).pinglun_(commentTotal.toString()), |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 16.sp, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.bold, |
|
|
|
|
color: Color(0xff1A1A1A), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -110,10 +112,10 @@ class _CommentList extends State<CommentList> {
|
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
S.of(context).xihuan_( |
|
|
|
|
"${widget.article?.likes ?? widget.activity?.likes ?? "0"}"), |
|
|
|
|
"${(widget.article?.likes ?? widget.activity?.likes) ?? "0"}"), |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 16.sp, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.bold, |
|
|
|
|
color: Color(0xff1A1A1A), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -178,7 +180,7 @@ class _CommentList extends State<CommentList> {
|
|
|
|
|
S.of(context).zanwupinglun, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.bold, |
|
|
|
|
color: Color(0xFFA0A0A0), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -286,7 +288,7 @@ class _CommentList extends State<CommentList> {
|
|
|
|
|
TextSpan( |
|
|
|
|
text: memberList.username, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.bold, |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
color: Colors.black, |
|
|
|
|
), |
|
|
|
|