|
|
|
@ -351,51 +351,56 @@ class _BrandPage extends State<BrandPage>
|
|
|
|
|
width: 16.w, |
|
|
|
|
), |
|
|
|
|
Expanded( |
|
|
|
|
child: Column( |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
children: [ |
|
|
|
|
Text.rich( |
|
|
|
|
TextSpan(children: [ |
|
|
|
|
TextSpan( |
|
|
|
|
text: brandData == null ? "" : brandData.originator, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontSize: 14, |
|
|
|
|
color: Colors.black, |
|
|
|
|
child: Container( |
|
|
|
|
child: Column( |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
children: [ |
|
|
|
|
Text.rich( |
|
|
|
|
TextSpan(children: [ |
|
|
|
|
TextSpan( |
|
|
|
|
text: |
|
|
|
|
brandData == null ? "" : brandData.originator, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
color: Colors.black, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
TextSpan( |
|
|
|
|
text: " 集团创办人", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 10, |
|
|
|
|
color: Colors.black, |
|
|
|
|
TextSpan( |
|
|
|
|
text: S.of(context).jituanchuangbanren, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
color: Colors.black, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
]), |
|
|
|
|
textDirection: TextDirection.ltr, |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
brandData == null ? "" : brandData.originDesc, |
|
|
|
|
overflow: isShowMore |
|
|
|
|
? TextOverflow.visible |
|
|
|
|
: TextOverflow.ellipsis, |
|
|
|
|
maxLines: isShowMore ? 10 : 1, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
color: Colors.black, |
|
|
|
|
), |
|
|
|
|
]), |
|
|
|
|
textDirection: TextDirection.ltr, |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
"李旭清女士于1993年创建以「地球公民责任」为企业理念,打造一个与环境共存共荣的永续有机产业的台湾回乡有机集团。" |
|
|
|
|
"2018年10月李旭清女士带领20几位台湾核心干部返乡落地武汉,将台湾有机产业成功经验带回湖北家乡," |
|
|
|
|
"将产业规模涵盖有机生态农业、食品加工、健康餐饮、文旅、电商、金融、信息、地产等领域。", |
|
|
|
|
softWrap: true, |
|
|
|
|
overflow: isShowMore?TextOverflow.visible:TextOverflow.ellipsis, |
|
|
|
|
style: TextStyle(fontSize: 12, color: Colors.black), |
|
|
|
|
), |
|
|
|
|
SizedBox(height: 3), |
|
|
|
|
GestureDetector( |
|
|
|
|
onTap: (){ |
|
|
|
|
setState(() { |
|
|
|
|
isShowMore=!isShowMore; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
child: Expanded( |
|
|
|
|
), |
|
|
|
|
SizedBox(height: 3.h), |
|
|
|
|
GestureDetector( |
|
|
|
|
onTap: () { |
|
|
|
|
setState(() { |
|
|
|
|
isShowMore = !isShowMore; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
child: Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.end, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
mainAxisSize: MainAxisSize.max, |
|
|
|
|
children: [ |
|
|
|
|
Text( |
|
|
|
|
"更多", |
|
|
|
|
S.of(context).gengduo, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
color: Colors.black, |
|
|
|
@ -411,8 +416,8 @@ class _BrandPage extends State<BrandPage>
|
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
flex: 1, |
|
|
|
|
), |
|
|
|
@ -453,7 +458,7 @@ class _BrandPage extends State<BrandPage>
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 20.h, |
|
|
|
|
height: 20, |
|
|
|
|
), |
|
|
|
|
Column( |
|
|
|
|
children: [ |
|
|
|
@ -471,7 +476,7 @@ class _BrandPage extends State<BrandPage>
|
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 18.h, |
|
|
|
|
height: 18, |
|
|
|
|
), |
|
|
|
|
//理念板块 |
|
|
|
|
// Row( |
|
|
|
@ -510,21 +515,21 @@ class _BrandPage extends State<BrandPage>
|
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Container( |
|
|
|
|
width: 63.w, |
|
|
|
|
height: 63.h, |
|
|
|
|
width: 63, |
|
|
|
|
height: 63, |
|
|
|
|
child: Stack( |
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Align( |
|
|
|
|
child: CircleAvatar( |
|
|
|
|
child: Image.asset(img), |
|
|
|
|
radius: 100.w, |
|
|
|
|
radius: 100, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
text, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 18.sp, |
|
|
|
|
fontSize: 18, |
|
|
|
|
fontWeight: FontWeight.w300, |
|
|
|
|
color: Colors.white), |
|
|
|
|
) |
|
|
|
@ -545,11 +550,11 @@ class _BrandPage extends State<BrandPage>
|
|
|
|
|
// ), |
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
width: 73.w, |
|
|
|
|
height: 73.h, |
|
|
|
|
width: 73, |
|
|
|
|
height: 73, |
|
|
|
|
child: CustomPaint( |
|
|
|
|
painter: MyPainter( |
|
|
|
|
lineColor: Color(0xff32A060), width: 2.w, isDividerRound: true,), |
|
|
|
|
lineColor: Color(0xff32A060), width: 2, isDividerRound: true), |
|
|
|
|
), |
|
|
|
|
) |
|
|
|
|
], |
|
|
|
|