|
|
@ -325,65 +325,71 @@ class _BrandPage extends State<BrandPage> |
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
Row( |
|
|
|
GestureDetector( |
|
|
|
children: [ |
|
|
|
onTap: () { |
|
|
|
ClipOval( |
|
|
|
Navigator.of(context).pushNamed('/router/founder_story_page'); |
|
|
|
child: MImage( |
|
|
|
}, |
|
|
|
brandData == null ? "" : brandData.originAvatar, |
|
|
|
child: Row( |
|
|
|
fit: BoxFit.cover, |
|
|
|
children: [ |
|
|
|
width: 60, |
|
|
|
ClipOval( |
|
|
|
height: 60, |
|
|
|
child: MImage( |
|
|
|
errorSrc: "assets/image/default_1.png", |
|
|
|
brandData == null ? "" : brandData.originAvatar, |
|
|
|
fadeSrc: "assets/image/default_1.png", |
|
|
|
fit: BoxFit.cover, |
|
|
|
|
|
|
|
width: 60, |
|
|
|
|
|
|
|
height: 60, |
|
|
|
|
|
|
|
errorSrc: "assets/image/default_1.png", |
|
|
|
|
|
|
|
fadeSrc: "assets/image/default_1.png", |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
clipBehavior: Clip.hardEdge, |
|
|
|
), |
|
|
|
), |
|
|
|
clipBehavior: Clip.hardEdge, |
|
|
|
SizedBox( |
|
|
|
), |
|
|
|
width: 16, |
|
|
|
SizedBox( |
|
|
|
), |
|
|
|
width: 16, |
|
|
|
Expanded( |
|
|
|
), |
|
|
|
child: Container( |
|
|
|
Expanded( |
|
|
|
height: 60, |
|
|
|
child: Container( |
|
|
|
child: Column( |
|
|
|
height: 60, |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly, |
|
|
|
child: Column( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly, |
|
|
|
children: [ |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
Text.rich( |
|
|
|
children: [ |
|
|
|
TextSpan(children: [ |
|
|
|
Text.rich( |
|
|
|
TextSpan( |
|
|
|
TextSpan(children: [ |
|
|
|
text: brandData == null ? "" : brandData.originator, |
|
|
|
TextSpan( |
|
|
|
style: TextStyle( |
|
|
|
text: brandData == null ? "" : brandData.originator, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 14, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
color: Colors.black, |
|
|
|
fontSize: 14, |
|
|
|
), |
|
|
|
color: Colors.black, |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
TextSpan( |
|
|
|
TextSpan( |
|
|
|
text: " 集团创办人", |
|
|
|
text: " 集团创办人", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 10, |
|
|
|
fontSize: 10, |
|
|
|
color: Colors.black, |
|
|
|
color: Colors.black, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
|
|
|
|
]), |
|
|
|
|
|
|
|
textDirection: TextDirection.ltr, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
Text( |
|
|
|
|
|
|
|
brandData == null ? "" : brandData.originDesc, |
|
|
|
|
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
|
|
|
|
maxLines: 2, |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
|
|
|
color: Color(0xFF353535), |
|
|
|
), |
|
|
|
), |
|
|
|
]), |
|
|
|
|
|
|
|
textDirection: TextDirection.ltr, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
Text( |
|
|
|
|
|
|
|
brandData == null ? "" : brandData.originDesc, |
|
|
|
|
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
|
|
|
|
maxLines: 2, |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
|
|
|
color: Color(0xFF353535), |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
|
|
|
|
flex: 1, |
|
|
|
), |
|
|
|
), |
|
|
|
flex: 1, |
|
|
|
], |
|
|
|
) |
|
|
|
), |
|
|
|
], |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
|
|
|
|
|
|
|
|
SizedBox( |
|
|
|
SizedBox( |
|
|
|
height: 40, |
|
|
|
height: 40, |
|
|
|
), |
|
|
|
), |
|
|
@ -410,7 +416,7 @@ class _BrandPage extends State<BrandPage> |
|
|
|
height: 40, |
|
|
|
height: 40, |
|
|
|
), |
|
|
|
), |
|
|
|
Text( |
|
|
|
Text( |
|
|
|
S.of(context).tixian, |
|
|
|
S.of(context).linian, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 16.sp, |
|
|
|
fontSize: 16.sp, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|