fix:调整昵称过长溢出的问题
This commit is contained in:
parent
a59edfcfff
commit
3762ade84a
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user