update scaffold

hmxc
张萌 4 years ago
parent dceada58f6
commit 64c7981cc3

@ -1,4 +1,5 @@
import 'package:akuCommunity/pages/activities_page/member_list_page/member_list_page.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter_icons/flutter_icons.dart';
@ -263,13 +264,8 @@ class _ActivitiesDetailsPageState extends State<ActivitiesDetailsPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: PreferredSize(
child: CommonAppBar(
return BeeScaffold(
title: '活动详情',
),
preferredSize: Size.fromHeight(kToolbarHeight),
),
body: Stack(
children: [
Container(

@ -1,3 +1,4 @@
import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:get/get.dart';
@ -126,13 +127,8 @@ class _ActivitiesPageState extends State<ActivitiesPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: PreferredSize(
child: CommonAppBar(
return BeeScaffold(
title: '社区活动',
),
preferredSize: Size.fromHeight(kToolbarHeight),
),
body: RefreshConfiguration(
hideFooterWhenNotFull: true,
child: SmartRefresher(

@ -1,3 +1,4 @@
import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
@ -150,13 +151,8 @@ class _MemberListPageState extends State<MemberListPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: PreferredSize(
child: CommonAppBar(
return BeeScaffold(
title: '参与人员',
),
preferredSize: Size.fromHeight(kToolbarHeight),
),
body: Container(
color: Colors.white,
child: RefreshConfiguration(

@ -1,9 +1,11 @@
import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'package:get/get.dart';
import 'widget/address_edit_item.dart';
import 'package:velocity_x/velocity_x.dart';
class AddressEditPage extends StatefulWidget {
final Bundle bundle;
@ -80,14 +82,20 @@ class _AddressEditPageState extends State<AddressEditPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: PreferredSize(
child: CommonAppBar(
return BeeScaffold(
title: '${widget.bundle.getMap('details')['title']}',
subtitle: '保存',
),
preferredSize: Size.fromHeight(kToolbarHeight),
),
actions: [
InkWell(
onTap: () {
Get.back();
},
child: Container(
height: 98.w,
width: 48.w + 32.w * 2,
alignment: Alignment.center,
child: '保存'.text.color(Color(0xFFFFC40C)).size(24.sp).make()),
)
],
body: SingleChildScrollView(
physics: NeverScrollableScrollPhysics(),
child: Container(

@ -1,7 +1,9 @@
import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'package:velocity_x/velocity_x.dart';
import 'widget/address_item.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class AddressPage extends StatefulWidget {
AddressPage({Key key}) : super(key: key);
@ -34,14 +36,14 @@ class _AddressPageState extends State<AddressPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: PreferredSize(
child: CommonAppBar(
return BeeScaffold(
title: '我的收货地址',
subtitle: '添加新地址',
),
preferredSize: Size.fromHeight(kToolbarHeight),
),
actions: [
InkWell(
onTap: () {},
child: '添加新地址'.text.black.size(24.sp).make(),
)
],
body: ListView.builder(
itemBuilder: (BuildContext context, int index) => AddressItem(
name: _addressInfoList[index]['name'],

@ -1,3 +1,4 @@
import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/base/assets_image.dart';
@ -49,8 +50,7 @@ class _CertificationPageState extends State<CertificationPage> {
children: [
Text(
'证件类型',
style: TextStyle(
fontSize: 28.sp, color: Color(0xff333333)),
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
),
SizedBox(height: 25.w),
Container(
@ -81,8 +81,7 @@ class _CertificationPageState extends State<CertificationPage> {
children: [
Text(
'上传证件照片',
style: TextStyle(
fontSize: 28.sp, color: Color(0xff333333)),
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
),
SizedBox(height: 25.w),
Row(
@ -116,8 +115,7 @@ class _CertificationPageState extends State<CertificationPage> {
children: [
Text(
title,
style: TextStyle(
fontSize: 28.sp, color: Color(0xff333333)),
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
),
SizedBox(height: 25.w),
CommonInput(inputController: controller, hintText: hintText)
@ -151,13 +149,8 @@ class _CertificationPageState extends State<CertificationPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: PreferredSize(
child: CommonAppBar(
return BeeScaffold(
title: '实名认证',
),
preferredSize: Size.fromHeight(kToolbarHeight),
),
body: Container(
padding: EdgeInsets.only(
top: 32.w,

Loading…
Cancel
Save