|
|
|
@ -302,7 +302,7 @@ class ReportPage extends StatelessWidget { |
|
|
|
), |
|
|
|
SizedBox(height: 29.w ,), |
|
|
|
Row( |
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
children: [ |
|
|
|
Text( |
|
|
|
"图片证据(选填)", |
|
|
|
@ -311,6 +311,18 @@ class ReportPage extends StatelessWidget { |
|
|
|
color: const Color.fromRGBO(144, 144, 144, 1) |
|
|
|
), |
|
|
|
), |
|
|
|
Row( |
|
|
|
children: [ |
|
|
|
Text( |
|
|
|
"${controller.imgList.length}/9", |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.w, |
|
|
|
color: const Color.fromRGBO(144, 144, 144, 1) |
|
|
|
), |
|
|
|
), |
|
|
|
SizedBox(width: 15,) |
|
|
|
], |
|
|
|
), |
|
|
|
], |
|
|
|
), |
|
|
|
SizedBox(height: 13.w ,), |
|
|
|
@ -370,7 +382,7 @@ class ReportPage extends StatelessWidget { |
|
|
|
), |
|
|
|
SizedBox(height: 15.w ,), |
|
|
|
Row( |
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
children: [ |
|
|
|
Text( |
|
|
|
"投诉内容(选填)", |
|
|
|
@ -379,6 +391,18 @@ class ReportPage extends StatelessWidget { |
|
|
|
color: const Color.fromRGBO(144, 144, 144, 1) |
|
|
|
), |
|
|
|
), |
|
|
|
Row( |
|
|
|
children: [ |
|
|
|
Text( |
|
|
|
"${controller.message.value.length}/200", |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.w, |
|
|
|
color: const Color.fromRGBO(144, 144, 144, 1) |
|
|
|
), |
|
|
|
), |
|
|
|
SizedBox(width: 15,) |
|
|
|
], |
|
|
|
), |
|
|
|
], |
|
|
|
), |
|
|
|
Container( |
|
|
|
@ -391,6 +415,15 @@ class ReportPage extends StatelessWidget { |
|
|
|
controller: controller.messageController.value, |
|
|
|
minLines: 3, // 多行 |
|
|
|
maxLines: 3, // 自适应高度 |
|
|
|
maxLength: 200, |
|
|
|
buildCounter: ( |
|
|
|
context, { |
|
|
|
required int currentLength, |
|
|
|
required bool isFocused, |
|
|
|
required int? maxLength, |
|
|
|
}) { |
|
|
|
return null; // 👈 直接不显示计数器 |
|
|
|
}, |
|
|
|
style: TextStyle( |
|
|
|
fontSize: ScreenUtil().setWidth(12), |
|
|
|
height: 1 |
|
|
|
|