fix:调整昵称过长溢出的问题

This commit is contained in:
liyi 2025-03-13 16:04:06 +08:00
parent a59edfcfff
commit 3762ade84a

View File

@ -71,6 +71,7 @@ class _ValueAddedServicesRecordPageState
// //
class _PurchaseRecords extends StatelessWidget { class _PurchaseRecords extends StatelessWidget {
const _PurchaseRecords({required this.buyRecordList, required this.logic}); const _PurchaseRecords({required this.buyRecordList, required this.logic});
final List<UseItemData> buyRecordList; final List<UseItemData> buyRecordList;
final ValueAddedServicesRecordLogic logic; final ValueAddedServicesRecordLogic logic;
@ -134,6 +135,7 @@ class _PurchaseRecords extends StatelessWidget {
// 使 // 使
class _UseRecordsTable extends StatelessWidget { class _UseRecordsTable extends StatelessWidget {
const _UseRecordsTable({required this.useRecordList, required this.logic}); const _UseRecordsTable({required this.useRecordList, required this.logic});
final List<UseItemData> useRecordList; final List<UseItemData> useRecordList;
final ValueAddedServicesRecordLogic logic; final ValueAddedServicesRecordLogic logic;
@ -172,9 +174,12 @@ class _UseRecordsTable extends StatelessWidget {
Text( Text(
logic.state.useCountStr.value, logic.state.useCountStr.value,
style: TextStyle( style: TextStyle(
fontSize: 24.sp, fontSize: 24.sp,
color: AppColors.blackColor, color: AppColors.blackColor,
fontWeight: FontWeight.bold), fontWeight: FontWeight.bold,
),
overflow: TextOverflow.ellipsis, //
maxLines: 1, //
), ),
Expanded(child: Container()), Expanded(child: Container()),
if (itemData.authStatus == 0) if (itemData.authStatus == 0)