|
|
@@ -562,39 +562,30 @@ class MemberPage extends BasePage<MemberController> {
|
|
|
}
|
|
|
|
|
|
Widget buildHeadBar() {
|
|
|
- return Stack(
|
|
|
+ return Column(
|
|
|
children: [
|
|
|
- /*IgnorePointer(
|
|
|
- child: Container(
|
|
|
- color: ColorName.colorPrimary.withOpacity(controller.toolBarOpacity),
|
|
|
- child: SafeArea(
|
|
|
- child: SizedBox(
|
|
|
- width: double.infinity,
|
|
|
- height: 56.w,
|
|
|
- ),
|
|
|
+ SizedBox(height: MediaQuery.of(Get.context!).padding.top,),
|
|
|
+ Container(
|
|
|
+ width: double.infinity,
|
|
|
+ height: 56.w,
|
|
|
+ child: Row(
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
+ children: [
|
|
|
+ SizedBox(width: 15.w,),
|
|
|
+ GestureDetector(
|
|
|
+ onTap: () => controller.onPopBack(),
|
|
|
+ child: Assets.images.iconMemberVipBack
|
|
|
+ .image(width: 26.w, height: 26..w),
|
|
|
),
|
|
|
- ),
|
|
|
- ),*/
|
|
|
- SafeArea(
|
|
|
- child: SizedBox(
|
|
|
- width: double.infinity,
|
|
|
- height: 56.w,
|
|
|
- child: Stack(alignment: Alignment.center, children: [
|
|
|
- Positioned(
|
|
|
- left: 15.w,
|
|
|
- child: GestureDetector(
|
|
|
- onTap: () => controller.onPopBack(),
|
|
|
- child: Assets.images.iconMemberVipBack
|
|
|
- .image(width: 26.w, height: 26..w),
|
|
|
- )),
|
|
|
-
|
|
|
+ SizedBox(width: 10.w,),
|
|
|
Container(
|
|
|
- padding: EdgeInsets.only(left: 51.w,right: 12.w),
|
|
|
+ width: MediaQuery.of(Get.context!).size.width - 51.w,
|
|
|
+ padding: EdgeInsets.only(right: 12.w),
|
|
|
child: buildVerticalSlideshowWidget()
|
|
|
- )
|
|
|
- ]),
|
|
|
+ ),
|
|
|
+ ],
|
|
|
),
|
|
|
- ),
|
|
|
+ )
|
|
|
],
|
|
|
);
|
|
|
}
|
|
|
@@ -602,18 +593,21 @@ class MemberPage extends BasePage<MemberController> {
|
|
|
Widget buildVerticalSlideshowWidget() {
|
|
|
return Row(
|
|
|
children: [
|
|
|
- Expanded(child: Container(
|
|
|
- width: 192.w,
|
|
|
- height: 26.w,
|
|
|
- decoration: BoxDecoration(
|
|
|
- color: ColorName.black40,
|
|
|
- borderRadius: BorderRadius.circular(87.w),
|
|
|
+ Expanded(child: Center(
|
|
|
+ child: Container(
|
|
|
+ width: 192.w,
|
|
|
+ height: 26.w,
|
|
|
+ decoration: BoxDecoration(
|
|
|
+ color: ColorName.black40,
|
|
|
+ borderRadius: BorderRadius.circular(87.w),
|
|
|
+ ),
|
|
|
+ child: Center(
|
|
|
+ child: AnimatedSwitcherWidget(
|
|
|
+ controller: controller.switcherController)),
|
|
|
),
|
|
|
- child: Center(
|
|
|
- child: AnimatedSwitcherWidget(
|
|
|
- controller: controller.switcherController)),
|
|
|
),
|
|
|
),
|
|
|
+ if (Platform.isAndroid) SizedBox(width: 40.w,),
|
|
|
if (Platform.isIOS) Obx(() {
|
|
|
return Visibility(
|
|
|
visible: Platform.isIOS && controller.accountRepository.isLogin.value,
|