|
|
|
@ -302,20 +302,23 @@ class _PersonalPage extends State<PersonalPage> with WidgetsBindingObserver {
|
|
|
|
|
child:Column( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
children: [ |
|
|
|
|
Stack( |
|
|
|
|
alignment: Alignment.bottomLeft, |
|
|
|
|
children: [ |
|
|
|
|
Container( |
|
|
|
|
height: 286, |
|
|
|
|
height: 260, |
|
|
|
|
color: Color(0xFFFFFFFF), |
|
|
|
|
child: Stack( |
|
|
|
|
alignment: Alignment.bottomRight, |
|
|
|
|
children: [ |
|
|
|
|
// color: Colors.red, |
|
|
|
|
child: |
|
|
|
|
Stack( |
|
|
|
|
// alignment: Alignment.bottomLeft, |
|
|
|
|
children: [ |
|
|
|
|
Positioned( |
|
|
|
|
child: Container( |
|
|
|
|
top:0, |
|
|
|
|
left: 0, |
|
|
|
|
bottom: 36, |
|
|
|
|
right: 0, |
|
|
|
|
child:Stack( |
|
|
|
|
children: [ |
|
|
|
|
Container( |
|
|
|
|
color: Colors.black, |
|
|
|
|
child: Opacity( |
|
|
|
|
opacity: 0.9, |
|
|
|
@ -328,7 +331,7 @@ class _PersonalPage extends State<PersonalPage> with WidgetsBindingObserver {
|
|
|
|
|
"assets/image/default_1.png", |
|
|
|
|
fadeSrc: |
|
|
|
|
"assets/image/default_1.png", |
|
|
|
|
)))), |
|
|
|
|
))), |
|
|
|
|
Container( |
|
|
|
|
margin: EdgeInsets.only( |
|
|
|
|
top: 50.h, left: 16.w, right: 16.w), |
|
|
|
@ -354,11 +357,9 @@ class _PersonalPage extends State<PersonalPage> with WidgetsBindingObserver {
|
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
if(memberId == "0") |
|
|
|
|
Positioned( |
|
|
|
|
bottom: 49.h, |
|
|
|
|
bottom: 9, |
|
|
|
|
right: 16.w, |
|
|
|
|
child:GestureDetector( |
|
|
|
|
onTap: (){ |
|
|
|
@ -367,7 +368,7 @@ class _PersonalPage extends State<PersonalPage> with WidgetsBindingObserver {
|
|
|
|
|
child:Container( |
|
|
|
|
padding: EdgeInsets.only(left: 2, right: 2), |
|
|
|
|
width: 59.w, |
|
|
|
|
height: 21.h, |
|
|
|
|
height: 23.h, |
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
borderRadius: BorderRadius.circular(2), |
|
|
|
@ -388,9 +389,94 @@ class _PersonalPage extends State<PersonalPage> with WidgetsBindingObserver {
|
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
// Positioned( |
|
|
|
|
// top:0, |
|
|
|
|
// left: 0, |
|
|
|
|
// bottom: 0, |
|
|
|
|
// right: 0, |
|
|
|
|
// child:Stack( |
|
|
|
|
// alignment: Alignment.bottomRight, |
|
|
|
|
// children: [ |
|
|
|
|
// Stack( |
|
|
|
|
// children: [ |
|
|
|
|
// Positioned( |
|
|
|
|
// child: Container( |
|
|
|
|
// color: Colors.black, |
|
|
|
|
// child: Opacity( |
|
|
|
|
// opacity: 0.9, |
|
|
|
|
// child: MImage( |
|
|
|
|
// memberInfor?.background ?? "", |
|
|
|
|
// width: double.infinity, |
|
|
|
|
// height: 260.h, |
|
|
|
|
// fit: BoxFit.cover, |
|
|
|
|
// errorSrc: |
|
|
|
|
// "assets/image/default_1.png", |
|
|
|
|
// fadeSrc: |
|
|
|
|
// "assets/image/default_1.png", |
|
|
|
|
// )))), |
|
|
|
|
// Container( |
|
|
|
|
// margin: EdgeInsets.only( |
|
|
|
|
// top: 50.h, left: 16.w, right: 16.w), |
|
|
|
|
// decoration: BoxDecoration( |
|
|
|
|
// color: Colors.transparent, |
|
|
|
|
// ), |
|
|
|
|
// child: Column( |
|
|
|
|
// mainAxisAlignment: |
|
|
|
|
// MainAxisAlignment.spaceBetween, |
|
|
|
|
// crossAxisAlignment: |
|
|
|
|
// CrossAxisAlignment.center, |
|
|
|
|
// children: [ |
|
|
|
|
// GestureDetector( |
|
|
|
|
// child: Image.asset( |
|
|
|
|
// "assets/image/integral_return.png", |
|
|
|
|
// width: 24, |
|
|
|
|
// height: 24, |
|
|
|
|
// ), |
|
|
|
|
// onTap: () { |
|
|
|
|
// Navigator.of(context).pop(); |
|
|
|
|
// }, |
|
|
|
|
// ), |
|
|
|
|
// ], |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
// ], |
|
|
|
|
// ), |
|
|
|
|
// if(memberId == "0") |
|
|
|
|
// Positioned( |
|
|
|
|
// bottom: 49.h, |
|
|
|
|
// right: 16.w, |
|
|
|
|
// child:GestureDetector( |
|
|
|
|
// onTap: (){ |
|
|
|
|
// showImagePicker(); |
|
|
|
|
// }, |
|
|
|
|
// child:Container( |
|
|
|
|
// padding: EdgeInsets.only(left: 2, right: 2), |
|
|
|
|
// width: 59.w, |
|
|
|
|
// height: 23.h, |
|
|
|
|
// alignment: Alignment.center, |
|
|
|
|
// decoration: BoxDecoration( |
|
|
|
|
// borderRadius: BorderRadius.circular(2), |
|
|
|
|
// color: Color(0x80000000), |
|
|
|
|
// ), |
|
|
|
|
// child: Text( |
|
|
|
|
// "更换背景", |
|
|
|
|
// overflow: TextOverflow.ellipsis, |
|
|
|
|
// style: TextStyle( |
|
|
|
|
// fontSize: 12.sp, |
|
|
|
|
// fontWeight: MyFontWeight.regular, |
|
|
|
|
// color: Color(0xFFFFFFFF), |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
// ], |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
homeInfo(), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
color: Color(0xFFFFFFFF), |
|
|
|
|
child: |
|
|
|
@ -610,7 +696,12 @@ class _PersonalPage extends State<PersonalPage> with WidgetsBindingObserver {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Widget homeInfo() { |
|
|
|
|
return Container( |
|
|
|
|
return Positioned( |
|
|
|
|
top: 0, |
|
|
|
|
bottom: 5, |
|
|
|
|
left: 0, |
|
|
|
|
right: 0, |
|
|
|
|
child: Container( |
|
|
|
|
padding: EdgeInsets.only( |
|
|
|
|
left: 16, |
|
|
|
|
right: 16, |
|
|
|
@ -667,6 +758,7 @@ class _PersonalPage extends State<PersonalPage> with WidgetsBindingObserver {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
child: Container( |
|
|
|
|
height: 23, |
|
|
|
|
padding: EdgeInsets.only(left: 6, right: 6, bottom: 2, top: 2), |
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
decoration: BoxDecoration( |
|
|
|
@ -688,7 +780,7 @@ class _PersonalPage extends State<PersonalPage> with WidgetsBindingObserver {
|
|
|
|
|
), |
|
|
|
|
) |
|
|
|
|
], |
|
|
|
|
),); |
|
|
|
|
),)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Widget dynamicList() { |
|
|
|
|