|
|
|
@ -228,7 +228,7 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
height: 52.h, |
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
borderRadius: BorderRadius.circular(26), |
|
|
|
|
color: Color(0xFF00E16F), |
|
|
|
|
color: Color(0xFF32A060), |
|
|
|
|
), |
|
|
|
|
margin: EdgeInsets.symmetric(horizontal:14.w), |
|
|
|
|
child: Row( |
|
|
|
@ -263,13 +263,15 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
Widget activityRule(){ |
|
|
|
|
return Container( |
|
|
|
|
width:double.infinity, |
|
|
|
|
height: 173.h,decoration: BoxDecoration( |
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
borderRadius: BorderRadius.circular(6), |
|
|
|
|
color: Color(0xFFFFFFFF), |
|
|
|
|
), |
|
|
|
|
margin: EdgeInsets.only(bottom:12.h,left:14.h,right: 14.h), |
|
|
|
|
padding: EdgeInsets.only(top: 6.h,left: 6,right: 6), |
|
|
|
|
padding: EdgeInsets.all(6), |
|
|
|
|
child:Column( |
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
children: [ |
|
|
|
|
Container( |
|
|
|
|
decoration: BoxDecoration( |
|
|
|
@ -291,20 +293,19 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
) |
|
|
|
|
), |
|
|
|
|
SizedBox(height: 17.h,), |
|
|
|
|
Row( |
|
|
|
|
IntrinsicHeight( |
|
|
|
|
child: Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Column( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/zu_tuan.webp", |
|
|
|
|
"assets/image/invite_wx.webp", |
|
|
|
|
width: 42, |
|
|
|
|
height: 42, |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
@ -328,6 +329,34 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/invite_1.webp", |
|
|
|
|
width: 24, |
|
|
|
|
height: 24, |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
width: 43.w, |
|
|
|
|
child: Flex( |
|
|
|
|
children: List.generate(0, (_) { |
|
|
|
|
return SizedBox( |
|
|
|
|
width: 3, |
|
|
|
|
height: 1, |
|
|
|
|
child: DecoratedBox( |
|
|
|
|
decoration: BoxDecoration(color: Colors.white), |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
}), |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
|
direction: Axis.horizontal, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
SizedBox(height: 8.h), |
|
|
|
|
Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
@ -337,9 +366,10 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
width:46.w, |
|
|
|
|
child: |
|
|
|
|
Text( |
|
|
|
|
"1.分享给微信好友", |
|
|
|
|
"分享链接给好友", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
height: 1.3.h, |
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
color: Color(0xFF181818), |
|
|
|
|
), |
|
|
|
@ -372,7 +402,7 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/zt_zf.webp", |
|
|
|
|
"assets/image/yq_zt.webp", |
|
|
|
|
width: 42, |
|
|
|
|
height: 42, |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
@ -396,6 +426,34 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/invite_2.webp", |
|
|
|
|
width: 24, |
|
|
|
|
height: 24, |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
width: 43.w, |
|
|
|
|
child: Flex( |
|
|
|
|
children: List.generate(0, (_) { |
|
|
|
|
return SizedBox( |
|
|
|
|
width: 3, |
|
|
|
|
height: 1, |
|
|
|
|
child: DecoratedBox( |
|
|
|
|
decoration: BoxDecoration(color: Colors.white), |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
}), |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
|
direction: Axis.horizontal, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
SizedBox(height: 8.h), |
|
|
|
|
Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
@ -405,9 +463,10 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
width:46.w, |
|
|
|
|
child: |
|
|
|
|
Text( |
|
|
|
|
"2.好友注册", |
|
|
|
|
"好友注册并获得10元优惠券", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
height: 1.3.h, |
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
color: Color(0xFF181818), |
|
|
|
|
), |
|
|
|
@ -440,7 +499,7 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/yq_zt.webp", |
|
|
|
|
"assets/image/zt_m.webp", |
|
|
|
|
width: 42, |
|
|
|
|
height: 42, |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
@ -464,19 +523,47 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/invite_3.webp", |
|
|
|
|
width: 24, |
|
|
|
|
height: 24, |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
width: 43.w, |
|
|
|
|
child: Flex( |
|
|
|
|
children: List.generate(0, (_) { |
|
|
|
|
return SizedBox( |
|
|
|
|
width: 3, |
|
|
|
|
height: 1, |
|
|
|
|
child: DecoratedBox( |
|
|
|
|
decoration: BoxDecoration(color: Colors.white), |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
}), |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
|
direction: Axis.horizontal, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
SizedBox(height: 8.h), |
|
|
|
|
Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
|
|
|
|
|
Container( |
|
|
|
|
width: 46.w, |
|
|
|
|
child: |
|
|
|
|
Text( |
|
|
|
|
"3.邀请完成", |
|
|
|
|
"好友完成首单", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
height: 1.3.h, |
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
color: Color(0xFF181818), |
|
|
|
|
), |
|
|
|
@ -505,19 +592,26 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
Column( |
|
|
|
|
children: [ |
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/zt_m.webp", |
|
|
|
|
"assets/image/invite_q.webp", |
|
|
|
|
width: 42, |
|
|
|
|
height: 42, |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
), |
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/invite_4.webp", |
|
|
|
|
width: 24, |
|
|
|
|
height: 24, |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
), |
|
|
|
|
SizedBox(height: 8.h), |
|
|
|
|
Container( |
|
|
|
|
width: 46.w, |
|
|
|
|
child: |
|
|
|
|
Text( |
|
|
|
|
"4.获得优惠券", |
|
|
|
|
"邀请达成获得奖励", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
height: 1.3.h, |
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
color: Color(0xFF181818), |
|
|
|
|
), |
|
|
|
@ -527,6 +621,7 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
@ -664,7 +759,7 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
S.of(context).jiangli, |
|
|
|
|
"注册时间", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
fontSize:14.sp, |
|
|
|
@ -706,10 +801,6 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Column( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
children: [ |
|
|
|
|
Text( |
|
|
|
|
AppUtils.phoneEncode(invitationList?.phone ?? ""), |
|
|
|
@ -719,9 +810,8 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox(height:8), |
|
|
|
|
Text( |
|
|
|
|
"注册时间:${invitationList?.createTime ?? ""}", |
|
|
|
|
invitationList?.createTime ?? "", |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Color(0xFF000000), |
|
|
|
|
fontSize: 12.sp, |
|
|
|
@ -730,16 +820,6 @@ class _InviteFriends extends State<InviteFriends> {
|
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
"新人全场减30优惠券*1", |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Color(0xFF353535), |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
width: double.infinity, |
|
|
|
|
height: 1.h, |
|
|
|
|