|
|
@ -263,12 +263,12 @@ class _InviteFriends extends State<InviteFriends> { |
|
|
|
Widget activityRule(){ |
|
|
|
Widget activityRule(){ |
|
|
|
return Container( |
|
|
|
return Container( |
|
|
|
width:double.infinity, |
|
|
|
width:double.infinity, |
|
|
|
height: 173.h,decoration: BoxDecoration( |
|
|
|
decoration: BoxDecoration( |
|
|
|
borderRadius: BorderRadius.circular(6), |
|
|
|
borderRadius: BorderRadius.circular(6), |
|
|
|
color: Color(0xFFFFFFFF), |
|
|
|
color: Color(0xFFFFFFFF), |
|
|
|
), |
|
|
|
), |
|
|
|
margin: EdgeInsets.only(bottom:12.h,left:14.h,right: 14.h), |
|
|
|
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( |
|
|
|
child:Column( |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
Container( |
|
|
|
Container( |
|
|
@ -291,241 +291,244 @@ class _InviteFriends extends State<InviteFriends> { |
|
|
|
) |
|
|
|
) |
|
|
|
), |
|
|
|
), |
|
|
|
SizedBox(height: 17.h,), |
|
|
|
SizedBox(height: 17.h,), |
|
|
|
Row( |
|
|
|
IntrinsicHeight( |
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
child: |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
Row( |
|
|
|
children: [ |
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
Column( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
children: [ |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
Column( |
|
|
|
children: [ |
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
Row( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
children: [ |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
Row( |
|
|
|
children: [ |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
Image.asset( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
"assets/image/zu_tuan.webp", |
|
|
|
children: [ |
|
|
|
width: 42, |
|
|
|
Image.asset( |
|
|
|
height: 42, |
|
|
|
"assets/image/zu_tuan.webp", |
|
|
|
fit: BoxFit.cover, |
|
|
|
width: 42, |
|
|
|
), |
|
|
|
height: 42, |
|
|
|
Container( |
|
|
|
fit: BoxFit.cover, |
|
|
|
width: 51, |
|
|
|
|
|
|
|
child: Flex( |
|
|
|
|
|
|
|
children: List.generate(8, (_) { |
|
|
|
|
|
|
|
return SizedBox( |
|
|
|
|
|
|
|
width: 3, |
|
|
|
|
|
|
|
height: 1, |
|
|
|
|
|
|
|
child: DecoratedBox( |
|
|
|
|
|
|
|
decoration: |
|
|
|
|
|
|
|
BoxDecoration(color: Color(0xFF32A060)), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
|
|
|
|
direction: Axis.horizontal, |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
Container( |
|
|
|
], |
|
|
|
width: 51, |
|
|
|
), |
|
|
|
child: Flex( |
|
|
|
SizedBox(height: 8.h), |
|
|
|
children: List.generate(8, (_) { |
|
|
|
Row( |
|
|
|
return SizedBox( |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
width: 3, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
height: 1, |
|
|
|
children: [ |
|
|
|
child: DecoratedBox( |
|
|
|
Container( |
|
|
|
decoration: |
|
|
|
width:46.w, |
|
|
|
BoxDecoration(color: Color(0xFF32A060)), |
|
|
|
child: |
|
|
|
), |
|
|
|
Text( |
|
|
|
); |
|
|
|
"1.分享给微信好友", |
|
|
|
}), |
|
|
|
style: TextStyle( |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
fontSize: 12.sp, |
|
|
|
direction: Axis.horizontal, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
color: Color(0xFF181818), |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
Container( |
|
|
|
), |
|
|
|
width: 43, |
|
|
|
SizedBox(height: 8.h), |
|
|
|
child: Flex( |
|
|
|
Row( |
|
|
|
children: List.generate(0, (_) { |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
return SizedBox( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
width: 3, |
|
|
|
children: [ |
|
|
|
height: 1, |
|
|
|
Container( |
|
|
|
child: DecoratedBox( |
|
|
|
width:46.w, |
|
|
|
decoration: BoxDecoration(color: Colors.white), |
|
|
|
child: |
|
|
|
), |
|
|
|
Text( |
|
|
|
); |
|
|
|
"1.分享给微信好友", |
|
|
|
}), |
|
|
|
style: TextStyle( |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
fontSize: 12.sp, |
|
|
|
direction: Axis.horizontal, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
color: Color(0xFF181818), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
Container( |
|
|
|
], |
|
|
|
width: 43, |
|
|
|
), |
|
|
|
child: Flex( |
|
|
|
], |
|
|
|
children: List.generate(0, (_) { |
|
|
|
), |
|
|
|
return SizedBox( |
|
|
|
Column( |
|
|
|
width: 3, |
|
|
|
children: [ |
|
|
|
height: 1, |
|
|
|
Row( |
|
|
|
child: DecoratedBox( |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
decoration: BoxDecoration(color: Colors.white), |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
), |
|
|
|
children: [ |
|
|
|
); |
|
|
|
Image.asset( |
|
|
|
}), |
|
|
|
"assets/image/zt_zf.webp", |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
width: 42, |
|
|
|
direction: Axis.horizontal, |
|
|
|
height: 42, |
|
|
|
), |
|
|
|
fit: BoxFit.cover, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
Container( |
|
|
|
|
|
|
|
width: 51, |
|
|
|
|
|
|
|
child: Flex( |
|
|
|
|
|
|
|
children: List.generate(8, (_) { |
|
|
|
|
|
|
|
return SizedBox( |
|
|
|
|
|
|
|
width: 3, |
|
|
|
|
|
|
|
height: 1, |
|
|
|
|
|
|
|
child: DecoratedBox( |
|
|
|
|
|
|
|
decoration: |
|
|
|
|
|
|
|
BoxDecoration(color: Color(0xFF32A060)), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
|
|
|
|
direction: Axis.horizontal, |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
SizedBox(height: 8.h), |
|
|
|
), |
|
|
|
Row( |
|
|
|
Column( |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
children: [ |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
Row( |
|
|
|
children: [ |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
Container( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
width:46.w, |
|
|
|
children: [ |
|
|
|
child: |
|
|
|
Image.asset( |
|
|
|
Text( |
|
|
|
"assets/image/zt_zf.webp", |
|
|
|
"2.好友注册", |
|
|
|
width: 42, |
|
|
|
style: TextStyle( |
|
|
|
height: 42, |
|
|
|
fontSize: 12.sp, |
|
|
|
fit: BoxFit.cover, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
), |
|
|
|
color: Color(0xFF181818), |
|
|
|
Container( |
|
|
|
|
|
|
|
width: 51, |
|
|
|
|
|
|
|
child: Flex( |
|
|
|
|
|
|
|
children: List.generate(8, (_) { |
|
|
|
|
|
|
|
return SizedBox( |
|
|
|
|
|
|
|
width: 3, |
|
|
|
|
|
|
|
height: 1, |
|
|
|
|
|
|
|
child: DecoratedBox( |
|
|
|
|
|
|
|
decoration: |
|
|
|
|
|
|
|
BoxDecoration(color: Color(0xFF32A060)), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
|
|
|
|
direction: Axis.horizontal, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
Container( |
|
|
|
), |
|
|
|
width: 43, |
|
|
|
SizedBox(height: 8.h), |
|
|
|
child: Flex( |
|
|
|
Row( |
|
|
|
children: List.generate(0, (_) { |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
return SizedBox( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
width: 3, |
|
|
|
children: [ |
|
|
|
height: 1, |
|
|
|
Container( |
|
|
|
child: DecoratedBox( |
|
|
|
width:46.w, |
|
|
|
decoration: BoxDecoration(color: Colors.white), |
|
|
|
child: |
|
|
|
), |
|
|
|
Text( |
|
|
|
); |
|
|
|
"2.好友注册", |
|
|
|
}), |
|
|
|
style: TextStyle( |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
fontSize: 12.sp, |
|
|
|
direction: Axis.horizontal, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
color: Color(0xFF181818), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
Container( |
|
|
|
], |
|
|
|
width: 43, |
|
|
|
), |
|
|
|
child: Flex( |
|
|
|
], |
|
|
|
children: List.generate(0, (_) { |
|
|
|
), |
|
|
|
return SizedBox( |
|
|
|
Column( |
|
|
|
width: 3, |
|
|
|
children: [ |
|
|
|
height: 1, |
|
|
|
Row( |
|
|
|
child: DecoratedBox( |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
decoration: BoxDecoration(color: Colors.white), |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
), |
|
|
|
children: [ |
|
|
|
); |
|
|
|
Image.asset( |
|
|
|
}), |
|
|
|
"assets/image/yq_zt.webp", |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
width: 42, |
|
|
|
direction: Axis.horizontal, |
|
|
|
height: 42, |
|
|
|
), |
|
|
|
fit: BoxFit.cover, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
Container( |
|
|
|
|
|
|
|
width: 51, |
|
|
|
|
|
|
|
child: Flex( |
|
|
|
|
|
|
|
children: List.generate(8, (_) { |
|
|
|
|
|
|
|
return SizedBox( |
|
|
|
|
|
|
|
width: 3, |
|
|
|
|
|
|
|
height: 1, |
|
|
|
|
|
|
|
child: DecoratedBox( |
|
|
|
|
|
|
|
decoration: |
|
|
|
|
|
|
|
BoxDecoration(color: Color(0xFF32A060)), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
|
|
|
|
direction: Axis.horizontal, |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
SizedBox(height: 8.h), |
|
|
|
), |
|
|
|
Row( |
|
|
|
Column( |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
children: [ |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
Row( |
|
|
|
children: [ |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
|
|
|
children: [ |
|
|
|
|
|
|
|
Image.asset( |
|
|
|
|
|
|
|
"assets/image/yq_zt.webp", |
|
|
|
|
|
|
|
width: 42, |
|
|
|
|
|
|
|
height: 42, |
|
|
|
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
Container( |
|
|
|
|
|
|
|
width: 51, |
|
|
|
|
|
|
|
child: Flex( |
|
|
|
|
|
|
|
children: List.generate(8, (_) { |
|
|
|
|
|
|
|
return SizedBox( |
|
|
|
|
|
|
|
width: 3, |
|
|
|
|
|
|
|
height: 1, |
|
|
|
|
|
|
|
child: DecoratedBox( |
|
|
|
|
|
|
|
decoration: |
|
|
|
|
|
|
|
BoxDecoration(color: Color(0xFF32A060)), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
|
|
|
|
direction: Axis.horizontal, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
SizedBox(height: 8.h), |
|
|
|
|
|
|
|
Row( |
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
|
|
|
children: [ |
|
|
|
|
|
|
|
|
|
|
|
Container( |
|
|
|
Container( |
|
|
|
width: 46.w, |
|
|
|
width: 46.w, |
|
|
|
child: |
|
|
|
child: |
|
|
|
Text( |
|
|
|
Text( |
|
|
|
"3.邀请完成", |
|
|
|
"3.邀请完成", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
color: Color(0xFF181818), |
|
|
|
color: Color(0xFF181818), |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
Container( |
|
|
|
Container( |
|
|
|
width: 43, |
|
|
|
width: 43, |
|
|
|
child: Flex( |
|
|
|
child: Flex( |
|
|
|
children: List.generate(0, (_) { |
|
|
|
children: List.generate(0, (_) { |
|
|
|
return SizedBox( |
|
|
|
return SizedBox( |
|
|
|
width: 3, |
|
|
|
width: 3, |
|
|
|
height: 1, |
|
|
|
height: 1, |
|
|
|
child: DecoratedBox( |
|
|
|
child: DecoratedBox( |
|
|
|
decoration: BoxDecoration(color: Colors.white), |
|
|
|
decoration: BoxDecoration(color: Colors.white), |
|
|
|
), |
|
|
|
), |
|
|
|
); |
|
|
|
); |
|
|
|
}), |
|
|
|
}), |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
direction: Axis.horizontal, |
|
|
|
direction: Axis.horizontal, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
Column( |
|
|
|
|
|
|
|
children: [ |
|
|
|
|
|
|
|
Image.asset( |
|
|
|
|
|
|
|
"assets/image/zt_m.webp", |
|
|
|
|
|
|
|
width: 42, |
|
|
|
|
|
|
|
height: 42, |
|
|
|
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
SizedBox(height: 8.h), |
|
|
|
|
|
|
|
Container( |
|
|
|
|
|
|
|
width: 46.w, |
|
|
|
|
|
|
|
child: |
|
|
|
|
|
|
|
Text( |
|
|
|
|
|
|
|
"4.获得优惠券", |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
color: Color(0xFF181818), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
) |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
Column( |
|
|
|
], |
|
|
|
children: [ |
|
|
|
|
|
|
|
Image.asset( |
|
|
|
|
|
|
|
"assets/image/zt_m.webp", |
|
|
|
|
|
|
|
width: 42, |
|
|
|
|
|
|
|
height: 42, |
|
|
|
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
SizedBox(height: 8.h), |
|
|
|
|
|
|
|
Container( |
|
|
|
|
|
|
|
width: 46.w, |
|
|
|
|
|
|
|
child: |
|
|
|
|
|
|
|
Text( |
|
|
|
|
|
|
|
"4.获得优惠券", |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
color: Color(0xFF181818), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|