fix:调整昵称过长溢出的问题
This commit is contained in:
parent
a59edfcfff
commit
3762ade84a
@ -71,6 +71,7 @@ class _ValueAddedServicesRecordPageState
|
||||
// 购买记录
|
||||
class _PurchaseRecords extends StatelessWidget {
|
||||
const _PurchaseRecords({required this.buyRecordList, required this.logic});
|
||||
|
||||
final List<UseItemData> buyRecordList;
|
||||
final ValueAddedServicesRecordLogic logic;
|
||||
|
||||
@ -134,6 +135,7 @@ class _PurchaseRecords extends StatelessWidget {
|
||||
// 使用记录
|
||||
class _UseRecordsTable extends StatelessWidget {
|
||||
const _UseRecordsTable({required this.useRecordList, required this.logic});
|
||||
|
||||
final List<UseItemData> useRecordList;
|
||||
final ValueAddedServicesRecordLogic logic;
|
||||
|
||||
@ -172,9 +174,12 @@ class _UseRecordsTable extends StatelessWidget {
|
||||
Text(
|
||||
logic.state.useCountStr.value,
|
||||
style: TextStyle(
|
||||
fontSize: 24.sp,
|
||||
color: AppColors.blackColor,
|
||||
fontWeight: FontWeight.bold),
|
||||
fontSize: 24.sp,
|
||||
color: AppColors.blackColor,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
overflow: TextOverflow.ellipsis, // 超出显示省略号
|
||||
maxLines: 1, // 限制为单行
|
||||
),
|
||||
Expanded(child: Container()),
|
||||
if (itemData.authStatus == 0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user