diff --git a/lib/home/huixiang_brand_page.dart b/lib/home/huixiang_brand_page.dart index ae8de78a..8b7cbb01 100644 --- a/lib/home/huixiang_brand_page.dart +++ b/lib/home/huixiang_brand_page.dart @@ -380,6 +380,7 @@ class _BrandPage extends State "将产业规模涵盖有机生态农业、食品加工、健康餐饮、文旅、电商、金融、信息、地产等领域。", softWrap: true, overflow: isShowMore?TextOverflow.visible:TextOverflow.ellipsis, + maxLines: isShowMore ? 10:2, style: TextStyle(fontSize: 12, color: Colors.black), ), SizedBox(height: 3), diff --git a/lib/setting/about_page.dart b/lib/setting/about_page.dart index 7ef8fdf8..1740cffa 100644 --- a/lib/setting/about_page.dart +++ b/lib/setting/about_page.dart @@ -131,6 +131,7 @@ class _AboutPage extends State { Text( "Copyright © 2020-2021 Yixinhuixiang. All Rights Reserved.", overflow: TextOverflow.ellipsis, + maxLines: 2, style: TextStyle( color: Color(0xFFAAA8AE), fontSize: 12,