remove unused import and sort import.

hmxc
小赖 4 years ago
parent 6cad032aa9
commit 03475e036a

@ -1,78 +0,0 @@
//TODO CLEAN BOTTOM CODES.
@Deprecated("sh*t assets_image need to be cleaned.")
class AssetsImage {
static const LOCATION = 'assets/icons/location.png';
static const HOUSE = 'assets/icons/house.png';
static const PHONE = 'assets/icons/phone.png';
static const IMAGEADD = 'assets/icons/img_add.png';
static const PROPERTY = 'assets/icons/property.png';
static const SYSTEMNOTICE = 'assets/icons/system_notice.png';
static const COMMENTNOTICE = 'assets/icons/comment_notice.png';
static const SHOPNOTICE = 'assets/icons/shop_notice.png';
static const MINEBG = 'assets/images/mine_bg.png';
static const MEMBERBG = 'assets/images/member_bg.png';
static const HOUSEHEADER = 'assets/images/house_header.png';
static const HOUSEATTESTATION = 'assets/images/house_attestation.png';
static const CARHEADER = 'assets/images/car_header.png';
static const LOGO = 'assets/images/logo.png';
static const PHONELOGO = 'assets/images/phone_logo.png';
static const CODELOGO = 'assets/images/code_logo.png';
static const LICENSE = 'assets/images/license.png';
static const LICENSEBACK = 'assets/images/license_back.png';
static const DRAWINGS = 'assets/images/drawings.png';
static const APPLICATION = 'assets/images/application.png';
static const COMMITMENT = 'assets/images/commitment.png';
static const WXPAY = 'assets/images/wxpay.png';
static const APPADD = 'assets/icons/app_add.png';
static const APPREDUCE = 'assets/icons/app_reduce.png';
static const COMPLAINT = 'assets/icons/complaint.png';
static const CONSULT = 'assets/icons/consult.png';
static const LIKE = 'assets/icons/like.png';
static const PROPOSAL = 'assets/icons/proposal.png';
static const List<Map<String, dynamic>> shopGridList = [
{'title': '居家生活', 'imagePath': 'assets/icons/tool_jjsh.png'},
{'title': '数码家电', 'imagePath': 'assets/icons/tool_smjd.png'},
{'title': '休闲副食', 'imagePath': 'assets/icons/tool_xxfs.png'},
{'title': '滋补保健', 'imagePath': 'assets/icons/tool_zbbj.png'},
{'title': '彩妆香水', 'imagePath': 'assets/icons/tool_czxs.png'},
{'title': '服饰箱包', 'imagePath': 'assets/icons/tool_fsxb.png'},
{'title': '母婴玩具', 'imagePath': 'assets/icons/tool_mywj.png'},
{'title': '饮料酒水', 'imagePath': 'assets/icons/tool_yljs.png'},
];
static const List<Map<String, dynamic>> orderGridList = [
{'title': '待付款', 'imagePath': 'assets/icons/user_icon_dfk.png'},
{'title': '待发货', 'imagePath': 'assets/icons/user_icon_dfh.png'},
{'title': '待收货', 'imagePath': 'assets/icons/user_icon_dsh.png'},
{'title': '待评价', 'imagePath': 'assets/icons/user_icon_dpj.png'},
{'title': '售后', 'imagePath': 'assets/icons/user_icon_sh.png'},
];
}

@ -1,5 +1,3 @@
import 'package:akuCommunity/ui/profile/car/car_manage_page.dart';
import 'package:akuCommunity/ui/profile/car_parking/car_parking_page.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/const/resource.dart';
@ -10,7 +8,6 @@ import 'package:akuCommunity/pages/goods_manage_page/goods_manage_page.dart';
import 'package:akuCommunity/pages/industry_committee/industry_committee_page.dart'; import 'package:akuCommunity/pages/industry_committee/industry_committee_page.dart';
import 'package:akuCommunity/pages/life_pay/life_pay_page.dart'; import 'package:akuCommunity/pages/life_pay/life_pay_page.dart';
import 'package:akuCommunity/pages/one_alarm/widget/alarm_page.dart'; import 'package:akuCommunity/pages/one_alarm/widget/alarm_page.dart';
import 'package:akuCommunity/pages/open_door_page/open_door_page.dart';
import 'package:akuCommunity/pages/opening_code_page/opening_code_page.dart'; import 'package:akuCommunity/pages/opening_code_page/opening_code_page.dart';
import 'package:akuCommunity/pages/setting_page/settings_page.dart'; import 'package:akuCommunity/pages/setting_page/settings_page.dart';
import 'package:akuCommunity/pages/things_page/fixed_submit_page.dart'; import 'package:akuCommunity/pages/things_page/fixed_submit_page.dart';
@ -19,6 +16,8 @@ import 'package:akuCommunity/ui/community/activity/activity_list_page.dart';
import 'package:akuCommunity/ui/home/application/all_application.dart'; import 'package:akuCommunity/ui/home/application/all_application.dart';
import 'package:akuCommunity/ui/manager/advice/advice_page.dart'; import 'package:akuCommunity/ui/manager/advice/advice_page.dart';
import 'package:akuCommunity/ui/manager/questionnaire/questionnaire_page.dart'; import 'package:akuCommunity/ui/manager/questionnaire/questionnaire_page.dart';
import 'package:akuCommunity/ui/profile/car/car_manage_page.dart';
import 'package:akuCommunity/ui/profile/car_parking/car_parking_page.dart';
import 'package:akuCommunity/ui/profile/house/house_owners_page.dart'; import 'package:akuCommunity/ui/profile/house/house_owners_page.dart';
/// ///
@ -54,7 +53,7 @@ class AO {
/// ///
List<AO> appObjects = [ List<AO> appObjects = [
AO('一键开门', R.ASSETS_APPLICATIONS_OEPN_DOOR_PNG, () => OpenDoorPage()), AO('一键开门', R.ASSETS_APPLICATIONS_OEPN_DOOR_PNG, () => Scaffold()),
AO('开门码', R.ASSETS_APPLICATIONS_DOOR_CODE_PNG, () => OpeningCodePage()), AO('开门码', R.ASSETS_APPLICATIONS_DOOR_CODE_PNG, () => OpeningCodePage()),
AO('访客邀请', R.ASSETS_APPLICATIONS_VISITOR_INVITE_PNG, AO('访客邀请', R.ASSETS_APPLICATIONS_VISITOR_INVITE_PNG,
() => VisitorAccessPage()), () => VisitorAccessPage()),

@ -1,5 +1,6 @@
import 'package:flustars/flustars.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flustars/flustars.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
class CarParkingModel { class CarParkingModel {

@ -1,6 +1,7 @@
import 'package:flustars/flustars.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flustars/flustars.dart';
class HouseModel { class HouseModel {
int id; int id;
String roomName; String roomName;

@ -1,193 +0,0 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:akuCommunity/widget/common_input.dart';
class CertificationPage extends StatefulWidget {
CertificationPage({Key key}) : super(key: key);
@override
_CertificationPageState createState() => _CertificationPageState();
}
class _CertificationPageState extends State<CertificationPage> {
TextEditingController _userName = new TextEditingController();
TextEditingController _userIDCard = new TextEditingController();
List<Map<String, dynamic>> _uploadImageList = [
{
'imagePath': AssetsImage.LICENSE,
'title': '上传身份证正面照',
},
{
'imagePath': AssetsImage.LICENSEBACK,
'title': '上传身份证背面照',
},
];
@override
void initState() {
super.initState();
}
Widget _idCardType() {
return Container(
padding: EdgeInsets.only(
top: 23.w,
bottom: 24.w,
),
margin: EdgeInsets.only(bottom: 60.w),
decoration: BoxDecoration(
border:
Border(bottom: BorderSide(color: Color(0xffeeeeee), width: 0.5)),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'证件类型',
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
),
SizedBox(height: 25.w),
Container(
width: 686.w,
child: Text(
'身份证',
style: TextStyle(
fontSize: 36.sp,
color: Color(0xff333333),
fontWeight: FontWeight.w600,
),
),
)
],
),
);
}
Widget _upLoadImage() {
return Container(
padding: EdgeInsets.only(
top: 23.w,
bottom: 24.w,
),
margin: EdgeInsets.only(bottom: 60.w),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'上传证件照片',
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
),
SizedBox(height: 25.w),
// Row(
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
// children: List.generate(
// _uploadImageList.length,
// (index) => SingleImageUp(
// title: _uploadImageList[index]['title'],
// imagePath: _uploadImageList[index]['imagePath'],
// ),
// ),
// ),
],
),
);
}
Widget _input(String title, hintText, TextEditingController controller) {
return Container(
padding: EdgeInsets.only(
top: 23.w,
bottom: 24.w,
),
margin: EdgeInsets.only(bottom: 60.w),
decoration: BoxDecoration(
border:
Border(bottom: BorderSide(color: Color(0xffeeeeee), width: 0.5)),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
title,
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
),
SizedBox(height: 25.w),
CommonInput(inputController: controller, hintText: hintText)
],
),
);
}
InkWell _submit() {
return InkWell(
child: Container(
alignment: Alignment.center,
height: 96.w,
width: 686.w,
padding: EdgeInsets.symmetric(
vertical: 26.w,
),
decoration: BoxDecoration(
color: Color(0xffffc40c),
borderRadius: BorderRadius.all(Radius.circular(48))),
child: Text(
'确认提交',
style: TextStyle(
fontWeight: FontWeight.w600,
fontSize: 32.sp,
color: Color(0xff333333)),
),
),
);
}
@override
Widget build(BuildContext context) {
return BeeScaffold(
title: '实名认证',
body: Container(
padding: EdgeInsets.only(
top: 32.w,
left: 32.w,
right: 32.w,
),
color: Colors.white,
child: ListView(
children: [
SingleChildScrollView(
child: Container(
child: GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () {
FocusScope.of(context).requestFocus(FocusNode());
},
child: Container(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
children: [
_idCardType(),
_upLoadImage(),
_input('证件号', '请输入证件号', _userName),
_input('姓名', '姓名需与证件上相同', _userIDCard),
],
),
],
),
),
),
),
),
_submit(),
],
),
),
);
}
}

@ -1,6 +1,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:get/get.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
@ -10,7 +11,6 @@ import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:akuCommunity/widget/others/stack_avatar.dart'; import 'package:akuCommunity/widget/others/stack_avatar.dart';
import 'package:get/get.dart';
class EventVotingPage extends StatefulWidget { class EventVotingPage extends StatefulWidget {
EventVotingPage({Key key}) : super(key: key); EventVotingPage({Key key}) : super(key: key);

@ -1,13 +1,14 @@
import 'package:akuCommunity/model/common/img_model.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:bot_toast/bot_toast.dart'; import 'package:bot_toast/bot_toast.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/model/common/img_model.dart';
import 'package:akuCommunity/model/manager/voting_detail_model.dart'; import 'package:akuCommunity/model/manager/voting_detail_model.dart';
import 'package:akuCommunity/pages/manager_func.dart'; import 'package:akuCommunity/pages/manager_func.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
@ -16,7 +17,6 @@ import 'package:akuCommunity/widget/bee_divider.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:akuCommunity/widget/buttons/bee_single_check.dart'; import 'package:akuCommunity/widget/buttons/bee_single_check.dart';
import 'package:akuCommunity/widget/buttons/bottom_button.dart'; import 'package:akuCommunity/widget/buttons/bottom_button.dart';
import 'package:velocity_x/velocity_x.dart';
class VotingDetailPage extends StatefulWidget { class VotingDetailPage extends StatefulWidget {
final int id; final int id;

@ -1,89 +0,0 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:akuCommunity/widget/sliver_app_bar_delegate.dart';
import 'widget/director_manage.dart';
import 'widget/owner_manage.dart';
class FitupManagePage extends StatefulWidget {
FitupManagePage({Key key}) : super(key: key);
@override
_FitupManagePageState createState() => _FitupManagePageState();
}
class _FitupManagePageState extends State<FitupManagePage>
with TickerProviderStateMixin {
TabController _controller;
//
List<Map<String, dynamic>> treeList = [
{'name': '业主'},
{'name': '装修负责人'},
];
@override
void initState() {
_controller = TabController(length: 2, vsync: this);
super.initState();
}
@override
void dispose() {
_controller.dispose();
super.dispose();
}
List<Widget> _silverBuilder(BuildContext context, bool innerBoxIsScrolled) {
return <Widget>[
SliverPersistentHeader(
pinned: true,
delegate: SliverAppBarDelegate(
minHeight: 56,
maxHeight: 56,
child: Container(
color: Colors.white,
child: TabBar(
unselectedLabelStyle: TextStyle(
fontSize: BaseStyle.fontSize28,
),
labelStyle: TextStyle(
fontWeight: FontWeight.w600,
fontSize: BaseStyle.fontSize28,
),
labelPadding: EdgeInsets.symmetric(horizontal: (131.5).w),
indicatorColor: Color(0xffffc40c),
indicatorSize: TabBarIndicatorSize.label,
indicatorPadding: EdgeInsets.symmetric(horizontal: 21.w),
isScrollable: true,
controller: _controller,
tabs: List.generate(
treeList.length,
(index) => Tab(text: treeList[index]['name']),
),
),
),
),
),
];
}
@override
Widget build(BuildContext context) {
return BeeScaffold(
title: '装修管理',
body: NestedScrollView(
headerSliverBuilder: _silverBuilder,
body: TabBarView(
controller: _controller,
children: List.generate(
treeList.length,
(index) => index == 0 ? OwnerManage() : DirectorManage(),
),
),
),
);
}
}

@ -1,117 +0,0 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/common_input.dart';
// import 'package:akuCommunity/widget/single_image_up.dart';
class DecoratorInfo extends StatefulWidget {
DecoratorInfo({Key key}) : super(key: key);
@override
_DecoratorInfoState createState() => _DecoratorInfoState();
}
class _DecoratorInfoState extends State<DecoratorInfo> {
TextEditingController _userName = new TextEditingController();
TextEditingController _userIDCard = new TextEditingController();
TextEditingController _userPhone = new TextEditingController();
TextEditingController _userAddress = new TextEditingController();
List<Map<String, dynamic>> _uploadImageList = [
{
'imagePath': AssetsImage.LICENSE,
'title': '上传身份证正面照',
},
{
'imagePath': AssetsImage.LICENSEBACK,
'title': '上传身份证背面照',
},
];
@override
void initState() {
super.initState();
}
Widget _cardList(String title, Widget widget) {
return Container(
padding: EdgeInsets.only(
top: 23.w,
bottom: 24.w,
),
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(color: BaseStyle.coloreeeeee, width: 0.5)),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
title,
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
),
SizedBox(height: 25.w),
widget
],
),
);
}
Widget _upLoadImage() {
return Container(
padding: EdgeInsets.only(
top: 23.w,
bottom: 24.w,
),
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(color: BaseStyle.coloreeeeee, width: 0.5)),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'上传证件照片',
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
),
SizedBox(height: 25.w),
// Row(
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
// children: List.generate(
// _uploadImageList.length,
// (index) => SingleImageUp(
// title: _uploadImageList[index]['title'],
// imagePath: _uploadImageList[index]['imagePath'],
// ),
// ),
// ),
],
),
);
}
@override
Widget build(BuildContext context) {
return Container(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
_cardList(
'姓名', CommonInput(inputController: _userName, hintText: '请输入姓名')),
// _cardList('证件类型', CommonSelect(title: '证件类型')),
_cardList('证件号',
CommonInput(inputController: _userIDCard, hintText: '请输入证件号')),
_cardList('联系方式',
CommonInput(inputController: _userPhone, hintText: '请输入电话号码')),
_cardList('联系地址',
CommonInput(inputController: _userAddress, hintText: '请输入公司地址')),
_upLoadImage(),
],
),
);
}
}

@ -1,265 +0,0 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/common_input.dart';
import 'decorator_info.dart';
import 'house_info.dart';
// import 'package:akuCommunity/widget/single_image_up.dart';
class DirectorManage extends StatefulWidget {
DirectorManage({Key key}) : super(key: key);
@override
_DirectorManageState createState() => _DirectorManageState();
}
class _DirectorManageState extends State<DirectorManage> {
TextEditingController _companyName = new TextEditingController();
int memberNum = 1;
List<Map<String, dynamic>> _uploadImageList = [
{
'imagePath': AssetsImage.LICENSE,
'title': '上传营业执照',
},
{
'imagePath': AssetsImage.LICENSEBACK,
'title': '上传资质证书',
},
{'imagePath': AssetsImage.DRAWINGS, 'title': '上传装修图纸'},
{'imagePath': AssetsImage.APPLICATION, 'title': '上传装修申请表'},
{'imagePath': AssetsImage.COMMITMENT, 'title': '上传装修承诺书'}
];
List<Map<String, dynamic>> _listHouse = [
{'title': '宁波华茂悦峰', 'subtitle': '1幢-1单元-702室'},
];
@override
void initState() {
super.initState();
}
Widget _doorIdCard() {
return Container(
width: 686.w,
child: RichText(
text: TextSpan(children: <InlineSpan>[
TextSpan(
text: '2',
style: TextStyle(
fontSize: BaseStyle.fontSize36,
color: ktextPrimary,
fontWeight: FontWeight.w600,
),
),
TextSpan(
text: '',
style: TextStyle(
fontSize: BaseStyle.fontSize28,
color: ktextPrimary,
fontWeight: FontWeight.w600,
),
),
]),
),
);
}
Widget _cardList(String title, Widget widget) {
return Container(
padding: EdgeInsets.only(
top: 23.w,
bottom: 24.w,
),
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(color: BaseStyle.coloreeeeee, width: 0.5)),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
title,
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
),
SizedBox(height: 25.w),
widget
],
),
);
}
Widget _upLoadImage() {
return Container(
padding: EdgeInsets.only(
top: 23.w,
bottom: 24.w,
),
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(color: BaseStyle.coloreeeeee, width: 0.5)),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'上传凭证',
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
),
SizedBox(height: 25.w),
// Row(
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
// children: List.generate(
// 2,
// (index) => SingleImageUp(
// title: _uploadImageList[index]['title'],
// imagePath: _uploadImageList[index]['imagePath'],
// ),
// ),
// ),
// SizedBox(height: 25.w),
// Row(
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
// children: List.generate(
// 2,
// (index) => SingleImageUp(
// title: _uploadImageList.take(4).skip(2).toList()[index]
// ['title'],
// imagePath: _uploadImageList.take(4).skip(2).toList()[index]
// ['imagePath'],
// ),
// ),
// ),
// SizedBox(height: 25.w),
// Row(
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
// children: List.generate(
// 1,
// (index) => SingleImageUp(
// title: _uploadImageList.take(5).skip(4).toList()[index]
// ['title'],
// imagePath: _uploadImageList.take(5).skip(4).toList()[index]
// ['imagePath'],
// ),
// ),
// ),
],
),
);
}
Widget _inkWellSubmit() {
return InkWell(
child: Center(
child: Container(
margin: EdgeInsets.only(bottom: 64.w),
decoration: BoxDecoration(
color: BaseStyle.colorffc40c,
borderRadius: BorderRadius.all(Radius.circular(36)),
),
width: 426.w,
height: 82.w,
padding: EdgeInsets.only(
top: 19.w,
bottom: 18.w,
),
alignment: Alignment.center,
child: Text(
'确认提交',
style: TextStyle(
fontSize: BaseStyle.fontSize32,
color: ktextPrimary,
fontWeight: FontWeight.w600,
),
),
),
),
);
}
@override
Widget build(BuildContext context) {
return SingleChildScrollView(
child: Container(
color: Colors.white,
child: GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () {
FocusScope.of(context).requestFocus(FocusNode());
},
child: Stack(
children: [
Container(
margin: EdgeInsets.only(
top: 32.w,
left: 32.w,
right: 32.w,
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Column(
children: _listHouse
.map((item) => HouseInfo(
title: item['title'],
subtitle: item['subtitle'],
))
.toList(),
),
_cardList(
'装修公司',
CommonInput(
inputController: _companyName,
hintText: '请输入公司名称')),
_cardList('门禁卡数量', _doorIdCard()),
_upLoadImage(),
SizedBox(height: 78.w),
Text(
'装修人员',
style: TextStyle(
fontWeight: FontWeight.w600,
fontSize: BaseStyle.fontSize32,
color: ktextPrimary),
),
Column(
children:
List.generate(memberNum, (index) => DecoratorInfo()),
),
InkWell(
onTap: () {
setState(() {
memberNum++;
});
},
child: Container(
margin: EdgeInsets.only(top: 54.w),
padding: EdgeInsets.only(
top: 16.w,
bottom: 16.w,
),
alignment: Alignment.center,
child: Text(
'继续添加装修工人',
style: TextStyle(
fontSize: BaseStyle.fontSize24,
color: BaseStyle.color999999),
),
),
),
_inkWellSubmit(),
],
),
),
],
),
),
),
);
}
}

@ -1,61 +0,0 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/utils/headers.dart';
class HouseInfo extends StatefulWidget {
final String title, subtitle;
HouseInfo({Key key, this.title, this.subtitle}) : super(key: key);
@override
_HouseInfoState createState() => _HouseInfoState();
}
class _HouseInfoState extends State<HouseInfo> {
@override
Widget build(BuildContext context) {
return Container(
padding: EdgeInsets.only(
bottom: 32.w,
),
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(color: BaseStyle.coloreeeeee, width: 0.5)),
),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
AssetsImage.HOUSEATTESTATION,
height: 48.w,
width: 48.w,
),
SizedBox(width: 20.w),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
widget.title,
style: TextStyle(
fontSize: BaseStyle.fontSize32,
color: BaseStyle.color474747,
),
),
SizedBox(height: 10.w),
Text(
widget.subtitle,
style: TextStyle(
fontSize: BaseStyle.fontSize32,
color: BaseStyle.color474747,
),
)
],
),
],
),
);
}
}

@ -1,157 +0,0 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bottom_button.dart';
import 'package:akuCommunity/widget/common_input.dart';
import 'house_info.dart';
import 'pay_model_sheet.dart';
class OwnerManage extends StatefulWidget {
OwnerManage({Key key}) : super(key: key);
@override
_OwnerManageState createState() => _OwnerManageState();
}
class _OwnerManageState extends State<OwnerManage>
with AutomaticKeepAliveClientMixin {
@override
bool get wantKeepAlive => true;
TextEditingController _companyName = new TextEditingController();
TextEditingController _contactsName = new TextEditingController();
TextEditingController _contactsPhone = new TextEditingController();
List<Map<String, dynamic>> _listHouse = [
{'title': '宁波华茂悦峰', 'subtitle': '1幢-1单元-702室'},
];
List<Map<String, dynamic>> _listWidget = [];
@override
void initState() {
super.initState();
_listWidget = [
{
'title': '装修公司',
'widget':
CommonInput(inputController: _companyName, hintText: '请输入公司名称')
},
{
'title': '房屋紧急联系人',
'widget':
CommonInput(inputController: _contactsName, hintText: '请输入联系人姓名')
},
{
'title': '联系方式',
'widget':
CommonInput(inputController: _contactsPhone, hintText: '请输入联系方式')
},
// {'title': '预计开始时间', 'widget': CommonSelect(title: '时间')},
// {'title': '预计结束时间', 'widget': CommonSelect(title: '时间')},
];
}
void _showModelBotoomSheet() {
showModalBottomSheet(
// isScrollControlled: true,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(10),
topRight: Radius.circular(10),
),
),
context: context,
backgroundColor: Colors.white,
builder: (context) {
return PayModelSheet();
},
);
}
List<Widget> _listView() {
return _listWidget
.asMap()
.keys
.map((index) => Container(
padding: EdgeInsets.only(
top: 23.w,
bottom: 24.w,
),
margin: EdgeInsets.only(bottom: (index == 2 ? 117 : 0).w),
decoration: BoxDecoration(
border: Border(
bottom:
BorderSide(color: BaseStyle.coloreeeeee, width: 0.5)),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
_listWidget[index]['title'],
style: TextStyle(
fontSize: BaseStyle.fontSize28, color: ktextPrimary),
),
SizedBox(height: 25.w),
_listWidget[index]['widget'],
],
),
))
.toList();
}
@override
Widget build(BuildContext context) {
super.build(context);
return Container(
color: Colors.white,
child: Stack(
children: [
SingleChildScrollView(
child: Container(
child: GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () {
FocusScope.of(context).requestFocus(FocusNode());
},
child: Container(
margin: EdgeInsets.only(
top: 32.w,
left: 32.w,
right: 32.w,
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
children: _listHouse
.map((item) => HouseInfo(
title: item['title'],
subtitle: item['subtitle'],
))
.toList(),
),
Column(
children: _listView(),
),
SizedBox(height: 89.w),
],
),
),
),
),
),
Positioned(
bottom: 0,
child: BottomButton(
title: '申请付款',
fun: _showModelBotoomSheet,
),
)
],
),
);
}
}

@ -1,286 +0,0 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_icons/flutter_icons.dart';
import 'package:get/get.dart';
import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bottom_button.dart';
class PayModelSheet extends StatefulWidget {
PayModelSheet({Key key}) : super(key: key);
@override
_PayModelSheetState createState() => _PayModelSheetState();
}
class _PayModelSheetState extends State<PayModelSheet> {
List<Map<String, dynamic>> _listPay = [
{
'title': '支付宝支付',
'widget': Icon(
AntDesign.alipay_circle,
color: Color(0xff06b4fd),
size: 50.w,
),
'id': 'alipay',
'isCheck': true
},
{
'title': '微信支付',
'widget': Image.asset(
AssetsImage.WXPAY,
height: 60.w,
width: 60.w,
),
'id': 'wxpay',
'isCheck': false
}
];
int _currentindex = 0;
void _showModelBotoomSheet() {
showModalBottomSheet(
// isScrollControlled: true,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(10),
topRight: Radius.circular(10),
),
),
context: context,
backgroundColor: Colors.white,
builder: (context) {
return Container(
margin: EdgeInsets.only(
top: 20.w,
left: 20.w,
right: 20.w,
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
alignment: Alignment.center,
decoration: BoxDecoration(
border: Border(
bottom:
BorderSide(color: BaseStyle.coloreeeeee, width: 0.5)),
),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
IconButton(
icon: Icon(
AntDesign.left,
size: 40.sp,
color: BaseStyle.color999999,
),
onPressed: () {
Get.back();
},
),
Container(
padding: EdgeInsets.only(left: 190.w),
child: Text(
'选择付款方式',
style: TextStyle(
fontSize: BaseStyle.fontSize32,
color: ktextPrimary,
fontWeight: FontWeight.w600,
),
),
),
],
),
),
Column(
children: _listPay
.asMap()
.keys
.map((index) => _inkWellSelectPay(_listPay[index]['title'],
_listPay[index]['widget'], index))
.toList(),
),
],
),
);
},
);
}
InkWell _inkWellSelectPay(String title, Widget logo, int index) {
return InkWell(
onTap: () {
setState(() {
_listPay.forEach((item) {
item['isCheck'] = false;
});
_listPay[index]['isCheck'] = true;
_currentindex = index;
Get.back();
});
},
child: Container(
padding: EdgeInsets.only(
top: 10.w,
),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
logo,
SizedBox(width: 24.w),
Expanded(
child: Container(
padding: EdgeInsets.only(
bottom: 27.w,
top: 28.w,
),
decoration: BoxDecoration(
border: Border(
bottom:
BorderSide(color: BaseStyle.coloreeeeee, width: 0.5)),
),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
title,
style: TextStyle(
fontSize: BaseStyle.fontSize28, color: ktextPrimary),
),
_listPay[index]['isCheck']
? Icon(
AntDesign.check,
color: BaseStyle.colorffc40c,
size: 50.w,
)
: SizedBox(),
],
),
),
),
],
),
),
);
}
InkWell _inkWellDefaultPay() {
return InkWell(
onTap: _showModelBotoomSheet,
child: Container(
padding: EdgeInsets.only(
bottom: 27.w,
top: 28.w,
),
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(color: BaseStyle.coloreeeeee, width: 0.5)),
),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Row(
children: [
_listPay[_currentindex]['widget'],
SizedBox(width: 24.w),
Text(
_listPay[_currentindex]['title'],
style: TextStyle(
fontSize: BaseStyle.fontSize28, color: ktextPrimary),
),
],
),
Icon(
AntDesign.right,
color: BaseStyle.color999999,
size: 32.w,
),
],
),
),
);
}
@override
Widget build(BuildContext context) {
return Container(
child: Stack(
children: [
Container(
margin: EdgeInsets.only(
top: 36.w,
left: 32.w,
right: 32.w,
),
child: Column(
children: [
Container(
alignment: Alignment.center,
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(
color: BaseStyle.coloreeeeee, width: 0.5)),
),
padding: EdgeInsets.only(bottom: 20.w),
child: Text(
'付款详情',
style: TextStyle(
fontSize: BaseStyle.fontSize32,
color: ktextPrimary,
fontWeight: FontWeight.w600,
),
),
),
Container(
padding: EdgeInsets.only(
bottom: 80.w,
top: 89.w,
),
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(
color: BaseStyle.coloreeeeee, width: 0.5)),
),
alignment: Alignment.center,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
'${5300}',
style: TextStyle(
fontSize: BaseStyle.fontSize52,
color: Color(0xffe60e0e),
fontWeight: FontWeight.w600,
),
),
SizedBox(height: 20.w),
Text(
'注释:装修押金${5000}元,垃圾清理费${300}',
style: TextStyle(
fontSize: BaseStyle.fontSize22,
color: BaseStyle.color999999),
),
],
),
),
_inkWellDefaultPay(),
],
),
),
Positioned(
bottom: 0,
child: BottomButton(
title: '立即付款',
),
)
],
),
);
}
}

@ -1,4 +1,3 @@
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -8,6 +7,7 @@ import 'package:provider/provider.dart';
import 'package:qr_flutter/qr_flutter.dart'; import 'package:qr_flutter/qr_flutter.dart';
import 'package:akuCommunity/model/manager/article_QR_code_model.dart'; import 'package:akuCommunity/model/manager/article_QR_code_model.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:akuCommunity/widget/dotted_line.dart'; import 'package:akuCommunity/widget/dotted_line.dart';

@ -2,8 +2,6 @@
import 'dart:io'; import 'dart:io';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/house/pick_my_house_page.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -17,7 +15,9 @@ import 'package:akuCommunity/const/resource.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/pages/goods_deto_page/select_move_company_page.dart'; import 'package:akuCommunity/pages/goods_deto_page/select_move_company_page.dart';
import 'package:akuCommunity/pages/manager_func.dart'; import 'package:akuCommunity/pages/manager_func.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/provider/user_provider.dart';
import 'package:akuCommunity/ui/profile/house/pick_my_house_page.dart';
import 'package:akuCommunity/utils/bee_parse.dart'; import 'package:akuCommunity/utils/bee_parse.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/utils/network/base_model.dart'; import 'package:akuCommunity/utils/network/base_model.dart';

@ -126,7 +126,7 @@ class _GoodsDetoPageState extends State<GoodsDetoPage> {
} }
: () { : () {
userProvider.isLogin userProvider.isLogin
? Get.to(()=>DetoCreatePage()) ? Get.to(() => DetoCreatePage())
: BotToast.showText(text: '请先登录!'); : BotToast.showText(text: '请先登录!');
}, },
child: _isEdit child: _isEdit

@ -1,10 +1,10 @@
import 'package:akuCommunity/utils/headers.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:akuCommunity/provider/app_provider.dart'; import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/utils/headers.dart';
class AnimateAppBar extends StatefulWidget with PreferredSizeWidget { class AnimateAppBar extends StatefulWidget with PreferredSizeWidget {
final ScrollController scrollController; final ScrollController scrollController;

@ -1,11 +1,12 @@
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
// import 'package:flutter_swiper/flutter_swiper.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/cached_image_wrapper.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart';
// import 'package:flutter_swiper/flutter_swiper.dart';
//TODO CLEAN BOTTOM CODES. //TODO CLEAN BOTTOM CODES.
@Deprecated("sh*t home_swiper need to be cleaned.") @Deprecated("sh*t home_swiper need to be cleaned.")
class HomeSwiper extends StatefulWidget { class HomeSwiper extends StatefulWidget {

@ -1,6 +1,3 @@
import 'package:akuCommunity/pages/life_pay/life_pay_record_page.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/house/pick_my_house_page.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -12,10 +9,13 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/model/manager/life_pay_model.dart'; import 'package:akuCommunity/model/manager/life_pay_model.dart';
import 'package:akuCommunity/pages/life_pay/life_pay_record_page.dart';
import 'package:akuCommunity/pages/life_pay/widget/life_pay_detail_page.dart'; import 'package:akuCommunity/pages/life_pay/widget/life_pay_detail_page.dart';
import 'package:akuCommunity/pages/life_pay/widget/my_house_page.dart'; import 'package:akuCommunity/pages/life_pay/widget/my_house_page.dart';
import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/provider/user_provider.dart';
import 'package:akuCommunity/ui/profile/house/pick_my_house_page.dart';
import 'package:akuCommunity/utils/bee_parse.dart'; import 'package:akuCommunity/utils/bee_parse.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bee_divider.dart'; import 'package:akuCommunity/widget/bee_divider.dart';

@ -1,14 +1,15 @@
import 'package:flutter/material.dart';
import 'package:flustars/flustars.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/model/manager/life_pay_record_model.dart'; import 'package:akuCommunity/model/manager/life_pay_record_model.dart';
import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flustars/flustars.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:velocity_x/velocity_x.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
class LifePayRecordPage extends StatefulWidget { class LifePayRecordPage extends StatefulWidget {
LifePayRecordPage({Key key}) : super(key: key); LifePayRecordPage({Key key}) : super(key: key);

@ -1,4 +1,3 @@
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -7,6 +6,7 @@ import 'package:provider/provider.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/model/manager/life_pay_model.dart'; import 'package:akuCommunity/model/manager/life_pay_model.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/provider/user_provider.dart';
import 'package:akuCommunity/utils/bee_parse.dart'; import 'package:akuCommunity/utils/bee_parse.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';

@ -1,4 +1,3 @@
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
@ -7,6 +6,7 @@ import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/model/manager/estate_payment_model.dart'; import 'package:akuCommunity/model/manager/estate_payment_model.dart';
import 'package:akuCommunity/pages/goods_deto_page/deto_create_page/widget/common_radio.dart'; import 'package:akuCommunity/pages/goods_deto_page/deto_create_page/widget/common_radio.dart';
import 'package:akuCommunity/pages/manager_func.dart'; import 'package:akuCommunity/pages/manager_func.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/provider/user_provider.dart';
import 'package:akuCommunity/utils/bee_parse.dart'; import 'package:akuCommunity/utils/bee_parse.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';

@ -1,4 +1,3 @@
import 'package:akuCommunity/model/common/img_model.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -9,6 +8,7 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/const/resource.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/model/common/img_model.dart';
import 'package:akuCommunity/model/message/comment_message_model.dart'; import 'package:akuCommunity/model/message/comment_message_model.dart';
import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart';
import 'package:akuCommunity/utils/bee_date_util.dart'; import 'package:akuCommunity/utils/bee_date_util.dart';

@ -38,10 +38,10 @@ class _SystemMessageDetailPageState extends State<SystemMessageDetailPage> {
child: _onload child: _onload
? _empty() ? _empty()
: Center( : Center(
child: Padding( child: Padding(
padding: EdgeInsets.all(32.w), padding: EdgeInsets.all(32.w),
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
20.w.heightBox, 20.w.heightBox,
'系统通知'.text.black.bold.size(32.sp).make(), '系统通知'.text.black.bold.size(32.sp).make(),
@ -51,8 +51,8 @@ class _SystemMessageDetailPageState extends State<SystemMessageDetailPage> {
_model.content.text.black.size(28.sp).isIntrinsic.make(), _model.content.text.black.size(28.sp).isIntrinsic.make(),
], ],
), ),
),
), ),
),
), ),
); );
} }

@ -2,6 +2,7 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:get/get.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
@ -13,7 +14,6 @@ import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/utils/network/net_util.dart'; import 'package:akuCommunity/utils/network/net_util.dart';
import 'package:akuCommunity/widget/bee_divider.dart'; import 'package:akuCommunity/widget/bee_divider.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:get/get.dart';
class SystemMessagePage extends StatefulWidget { class SystemMessagePage extends StatefulWidget {
SystemMessagePage({Key key}) : super(key: key); SystemMessagePage({Key key}) : super(key: key);

@ -1,130 +0,0 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:akuCommunity/pages/certification_page/certification_page.dart';
import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart';
class OpenDoorPage extends StatefulWidget {
OpenDoorPage({Key key}) : super(key: key);
@override
_OpenDoorPageState createState() => _OpenDoorPageState();
}
class _OpenDoorPageState extends State<OpenDoorPage> {
void _showDialog() {
showCupertinoDialog(
context: context,
builder: (context) {
return CupertinoAlertDialog(
title: Text(
'实名认证',
style: TextStyle(
fontSize: 34.sp,
color: Color(0xff030303),
),
),
content: Text(
'\n为了小区的安全,需要先进行实名认证',
style: TextStyle(
fontSize: 28.sp,
color: Color(0xff030303),
),
),
actions: <Widget>[
CupertinoDialogAction(
child: Text(
'考虑考虑',
style: TextStyle(
fontSize: 34.sp,
color: Color(0xff333333),
),
),
onPressed: () {
Get.back();
},
),
CupertinoDialogAction(
child: Text(
'前去认证',
style: TextStyle(
fontWeight: FontWeight.w600,
fontSize: 34.sp,
color: Color(0xffff8200),
),
),
onPressed: () {
Get.back();
Get.to(() => CertificationPage());
},
),
],
);
},
);
}
@override
Widget build(BuildContext context) {
return BeeScaffold(
title: '一键开门',
body: Container(
color: Colors.white,
alignment: Alignment.center,
child: ListView(
children: [
Container(
margin: EdgeInsets.only(top: 220.w),
child: Column(
children: [
InkWell(
onTap: _showDialog,
child: Stack(
children: [
Container(
alignment: Alignment.center,
width: 400.w,
height: 420.w,
child: Image.asset(
'assets/images/open_door.png',
width: 400.w,
height: 420.w,
fit: BoxFit.fill,
),
),
Positioned(
top: 120.w,
left: 137.5.w,
child: Image.asset(
'assets/images/lock.png',
width: 125.w,
height: 150.w,
fit: BoxFit.fill,
),
),
],
),
),
Container(
margin: EdgeInsets.only(top: 40.w),
child: Text(
'未检测到相关设备',
style: TextStyle(
fontSize: 44.w,
color: Color(0xff999999),
fontWeight: FontWeight.w600,
),
),
),
],
),
),
],
),
),
);
}
}

@ -6,12 +6,14 @@ import 'package:flutter/material.dart';
import 'package:cached_network_image/cached_network_image.dart'; import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
// import 'package:sliding_up_panel/sliding_up_panel.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/cached_image_wrapper.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart';
// import 'package:sliding_up_panel/sliding_up_panel.dart';
class LookLogisticsPage extends StatefulWidget { class LookLogisticsPage extends StatefulWidget {
LookLogisticsPage({Key key}) : super(key: key); LookLogisticsPage({Key key}) : super(key: key);

@ -6,7 +6,6 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/const/resource.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
@ -48,7 +47,7 @@ class _PersonalIndexState extends State<PersonalIndex>
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
image: DecorationImage( image: DecorationImage(
image: AssetImage(AssetsImage.MINEBG), image: AssetImage(R.ASSETS_IMAGES_MINE_BG_PNG),
fit: BoxFit.cover, fit: BoxFit.cover,
), ),
), ),

@ -4,24 +4,16 @@ import 'package:flutter/material.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher.dart';
import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
class PropertyCard extends StatelessWidget { class PropertyCard extends StatelessWidget {
PropertyCard({Key key}) : super(key: key); PropertyCard({Key key}) : super(key: key);
final List<Map<String, dynamic>> _listCard = [ final List<Map<String, dynamic>> _listCard = [
// {
// 'title': '语音管家',
// 'subtitle': '随时随地帮你下单',
// 'image': AssetsImage.PROPERTY,
// 'coloList': [Color(0xff33dfe4), Color(0xff00ccf3)],
// 'shapeColoList': [Color(0xff04ddf2), Color(0xff339a8f)]
// },
{ {
'title': '电话物业', 'title': '电话物业',
'subtitle': '24小时在线', 'subtitle': '24小时在线',
'image': AssetsImage.PROPERTY, 'image': R.ASSETS_ICONS_PROPERTY_PNG,
'coloList': [Color(0xff42ceff), Color(0xff198cfb)], 'coloList': [Color(0xff42ceff), Color(0xff198cfb)],
'shapeColoList': [Color(0xff42ceff), Color(0xff0b69c4)] 'shapeColoList': [Color(0xff42ceff), Color(0xff0b69c4)]
} }

@ -38,7 +38,7 @@ class _AccountManagerPageState extends State<AccountManagerPage> {
), ),
), ),
onPressed: () { onPressed: () {
Get.offAll(()=>SignInPage()); Get.offAll(() => SignInPage());
}, },
), ),
], ],

@ -1,7 +1,6 @@
import 'dart:async'; import 'dart:async';
import 'dart:ui'; import 'dart:ui';
import 'package:akuCommunity/pages/sign/sign_up/sign_up_set_nickname_page.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -15,13 +14,13 @@ import 'package:power_logger/power_logger.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/const/resource.dart';
import 'package:akuCommunity/extensions/num_ext.dart'; import 'package:akuCommunity/extensions/num_ext.dart';
import 'package:akuCommunity/pages/setting_page/agreement_page/agreement_page.dart'; import 'package:akuCommunity/pages/setting_page/agreement_page/agreement_page.dart';
import 'package:akuCommunity/pages/setting_page/agreement_page/privacy_page.dart'; import 'package:akuCommunity/pages/setting_page/agreement_page/privacy_page.dart';
import 'package:akuCommunity/pages/sign/sign_func.dart'; import 'package:akuCommunity/pages/sign/sign_func.dart';
import 'package:akuCommunity/pages/sign/sign_up/sign_up_set_nickname_page.dart';
import 'package:akuCommunity/pages/tab_navigator.dart'; import 'package:akuCommunity/pages/tab_navigator.dart';
import 'package:akuCommunity/provider/sign_up_provider.dart'; import 'package:akuCommunity/provider/sign_up_provider.dart';
import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/provider/user_provider.dart';
@ -50,7 +49,7 @@ class _SignInPageState extends State<SignInPage> {
return Container( return Container(
alignment: Alignment.center, alignment: Alignment.center,
child: Image.asset( child: Image.asset(
AssetsImage.LOGO, R.ASSETS_IMAGES_LOGO_PNG,
height: 184.w, height: 184.w,
width: 266.w, width: 266.w,
), ),

@ -1,8 +1,6 @@
import 'package:akuCommunity/pages/sign/sign_func.dart';
import 'package:akuCommunity/pages/tab_navigator.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flustars/flustars.dart'; import 'package:flustars/flustars.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
@ -10,7 +8,9 @@ import 'package:random_character/chinese_character/random_chinese_charater.dart'
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/pages/sign/sign_func.dart';
import 'package:akuCommunity/pages/sign/sign_up/sign_up_common_widget.dart'; import 'package:akuCommunity/pages/sign/sign_up/sign_up_common_widget.dart';
import 'package:akuCommunity/pages/tab_navigator.dart';
import 'package:akuCommunity/provider/sign_up_provider.dart'; import 'package:akuCommunity/provider/sign_up_provider.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';

@ -69,8 +69,6 @@ class _TabNavigatorState extends State<TabNavigator>
List<BottomNavigationBarItem> _bottomNav = <BottomNavigationBarItem>[ List<BottomNavigationBarItem> _bottomNav = <BottomNavigationBarItem>[
_buildBottomBar('首页', R.ASSETS_ICONS_TABBAR_HOME_NO_PNG, _buildBottomBar('首页', R.ASSETS_ICONS_TABBAR_HOME_NO_PNG,
R.ASSETS_ICONS_TABBAR_HOME_PNG), R.ASSETS_ICONS_TABBAR_HOME_PNG),
// _buildBottomBar(
// '商城', AssetsImage.TAB_MARKET_UNSELECT, AssetsImage.TAB_MARKET_SELECT),
_buildBottomBar('物业', R.ASSETS_ICONS_TABBAR_HOUSE_NO_PNG, _buildBottomBar('物业', R.ASSETS_ICONS_TABBAR_HOUSE_NO_PNG,
R.ASSETS_ICONS_TABBAR_HOUSE_PNG), R.ASSETS_ICONS_TABBAR_HOUSE_PNG),
_buildBottomBar('社区', R.ASSETS_ICONS_TABBAR_MESSAGE_NO_PNG, _buildBottomBar('社区', R.ASSETS_ICONS_TABBAR_MESSAGE_NO_PNG,

@ -10,7 +10,6 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/extensions/num_ext.dart'; import 'package:akuCommunity/extensions/num_ext.dart';
import 'package:akuCommunity/model/user/fixed_submit_model.dart'; import 'package:akuCommunity/model/user/fixed_submit_model.dart';
import 'package:akuCommunity/pages/manager_func.dart'; import 'package:akuCommunity/pages/manager_func.dart';
import 'package:akuCommunity/pages/things_page/widget/add_fixed_submit_page.dart'; import 'package:akuCommunity/pages/things_page/widget/add_fixed_submit_page.dart';

@ -1,9 +1,5 @@
import 'dart:io'; import 'dart:io';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/house/house_owners_page.dart';
import 'package:akuCommunity/ui/profile/house/pick_my_house_page.dart';
import 'package:akuCommunity/utils/headers.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -16,13 +12,16 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/const/resource.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/extensions/widget_list_ext.dart'; import 'package:akuCommunity/extensions/widget_list_ext.dart';
import 'package:akuCommunity/pages/life_pay/widget/my_house_page.dart'; import 'package:akuCommunity/pages/life_pay/widget/my_house_page.dart';
import 'package:akuCommunity/pages/manager_func.dart'; import 'package:akuCommunity/pages/manager_func.dart';
import 'package:akuCommunity/pages/things_page/widget/finish_fixed_submit_page.dart'; import 'package:akuCommunity/pages/things_page/widget/finish_fixed_submit_page.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/provider/user_provider.dart';
import 'package:akuCommunity/ui/profile/house/house_owners_page.dart';
import 'package:akuCommunity/ui/profile/house/pick_my_house_page.dart';
import 'package:akuCommunity/utils/bee_parse.dart'; import 'package:akuCommunity/utils/bee_parse.dart';
import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/utils/network/base_model.dart'; import 'package:akuCommunity/utils/network/base_model.dart';
import 'package:akuCommunity/utils/network/net_util.dart'; import 'package:akuCommunity/utils/network/net_util.dart';
import 'package:akuCommunity/widget/bee_divider.dart'; import 'package:akuCommunity/widget/bee_divider.dart';

@ -98,7 +98,7 @@ class _BeeListViewState<T> extends State<BeeListView> {
); );
_models = widget.convert(_model); _models = widget.convert(_model);
widget.controller?.resetLoadState(); widget.controller?.resetLoadState();
if(mounted)setState(() {}); if (mounted) setState(() {});
}, },
firstRefresh: true, firstRefresh: true,
onLoad: () async { onLoad: () async {

@ -1,10 +1,8 @@
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/house/pick_my_house_page.dart';
import 'package:flustars/flustars.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:bot_toast/bot_toast.dart'; import 'package:bot_toast/bot_toast.dart';
import 'package:flustars/flustars.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
@ -13,8 +11,10 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/pages/life_pay/widget/my_house_page.dart'; import 'package:akuCommunity/pages/life_pay/widget/my_house_page.dart';
import 'package:akuCommunity/pages/manager_func.dart'; import 'package:akuCommunity/pages/manager_func.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/provider/user_provider.dart';
import 'package:akuCommunity/ui/manager/visitor/visitor_record_page.dart'; import 'package:akuCommunity/ui/manager/visitor/visitor_record_page.dart';
import 'package:akuCommunity/ui/profile/house/pick_my_house_page.dart';
import 'package:akuCommunity/utils/bee_parse.dart'; import 'package:akuCommunity/utils/bee_parse.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bee_divider.dart'; import 'package:akuCommunity/widget/bee_divider.dart';

@ -1,5 +1,3 @@
import 'package:akuCommunity/model/user/car_parking_model.dart';
import 'package:akuCommunity/model/user/house_model.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:amap_flutter_location/amap_flutter_location.dart'; import 'package:amap_flutter_location/amap_flutter_location.dart';
@ -12,6 +10,8 @@ import 'package:akuCommunity/constants/application_objects.dart';
import 'package:akuCommunity/model/common/real_time_weather_model.dart'; import 'package:akuCommunity/model/common/real_time_weather_model.dart';
import 'package:akuCommunity/model/community/hot_topic_model.dart'; import 'package:akuCommunity/model/community/hot_topic_model.dart';
import 'package:akuCommunity/model/message/message_center_model.dart'; import 'package:akuCommunity/model/message/message_center_model.dart';
import 'package:akuCommunity/model/user/car_parking_model.dart';
import 'package:akuCommunity/model/user/house_model.dart';
import 'package:akuCommunity/utils/hive_store.dart'; import 'package:akuCommunity/utils/hive_store.dart';
import 'package:akuCommunity/utils/network/base_model.dart'; import 'package:akuCommunity/utils/network/base_model.dart';
import 'package:akuCommunity/utils/network/net_util.dart'; import 'package:akuCommunity/utils/network/net_util.dart';

@ -1,18 +1,18 @@
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/house/house_func.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flustars/flustars.dart'; import 'package:flustars/flustars.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/model/user/user_detail_model.dart'; import 'package:akuCommunity/model/user/user_detail_model.dart';
import 'package:akuCommunity/model/user/user_info_model.dart'; import 'package:akuCommunity/model/user/user_info_model.dart';
import 'package:akuCommunity/pages/sign/sign_func.dart'; import 'package:akuCommunity/pages/sign/sign_func.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/house/house_func.dart';
import 'package:akuCommunity/utils/hive_store.dart'; import 'package:akuCommunity/utils/hive_store.dart';
import 'package:akuCommunity/utils/network/base_model.dart'; import 'package:akuCommunity/utils/network/base_model.dart';
import 'package:akuCommunity/utils/network/net_util.dart'; import 'package:akuCommunity/utils/network/net_util.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart';
class UserProvider extends ChangeNotifier { class UserProvider extends ChangeNotifier {
bool _isLogin = false; bool _isLogin = false;

@ -1,9 +1,9 @@
import 'package:akuCommunity/pages/message_center_page/message_center_page.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:akuCommunity/pages/message_center_page/message_center_page.dart';
import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/provider/user_provider.dart';
import 'package:akuCommunity/ui/community/community_views/add_new_event_page.dart'; import 'package:akuCommunity/ui/community/community_views/add_new_event_page.dart';
import 'package:akuCommunity/ui/community/community_views/my_community_view.dart'; import 'package:akuCommunity/ui/community/community_views/my_community_view.dart';

@ -1,4 +1,3 @@
import 'package:akuCommunity/constants/app_theme.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
@ -6,6 +5,7 @@ import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/constants/app_theme.dart';
import 'package:akuCommunity/model/community/community_topic_model.dart'; import 'package:akuCommunity/model/community/community_topic_model.dart';
import 'package:akuCommunity/model/community/event_item_model.dart'; import 'package:akuCommunity/model/community/event_item_model.dart';
import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart';

@ -1,6 +1,5 @@
import 'dart:math'; import 'dart:math';
import 'package:akuCommunity/model/common/img_model.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -10,6 +9,7 @@ import 'package:provider/provider.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/model/common/img_model.dart';
import 'package:akuCommunity/model/community/event_item_model.dart'; import 'package:akuCommunity/model/community/event_item_model.dart';
import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/provider/user_provider.dart';
import 'package:akuCommunity/ui/community/community_views/event_detail_page.dart'; import 'package:akuCommunity/ui/community/community_views/event_detail_page.dart';

@ -1,4 +1,3 @@
import 'package:akuCommunity/model/common/img_model.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
@ -6,6 +5,7 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/const/resource.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/model/common/img_model.dart';
import 'package:akuCommunity/model/community/my_event_item_model.dart'; import 'package:akuCommunity/model/community/my_event_item_model.dart';
import 'package:akuCommunity/ui/community/community_views/event_detail_page.dart'; import 'package:akuCommunity/ui/community/community_views/event_detail_page.dart';
import 'package:akuCommunity/utils/bee_date_util.dart'; import 'package:akuCommunity/utils/bee_date_util.dart';

@ -1,4 +1,3 @@
import 'package:akuCommunity/model/common/img_model.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flustars/flustars.dart'; import 'package:flustars/flustars.dart';
@ -7,6 +6,7 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/const/resource.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/model/common/img_model.dart';
import 'package:akuCommunity/model/community/board_model.dart'; import 'package:akuCommunity/model/community/board_model.dart';
import 'package:akuCommunity/ui/community/notice/notice_detail_page.dart'; import 'package:akuCommunity/ui/community/notice/notice_detail_page.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';

@ -1,7 +1,6 @@
import 'package:akuCommunity/widget/views/%20bee_download_view.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:open_file/open_file.dart'; import 'package:open_file/open_file.dart';
@ -15,6 +14,7 @@ import 'package:akuCommunity/utils/network/base_model.dart';
import 'package:akuCommunity/utils/network/net_util.dart'; import 'package:akuCommunity/utils/network/net_util.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:akuCommunity/widget/picker/bee_image_preview.dart'; import 'package:akuCommunity/widget/picker/bee_image_preview.dart';
import 'package:akuCommunity/widget/views/%20bee_download_view.dart';
class NoticeDetailPage extends StatefulWidget { class NoticeDetailPage extends StatefulWidget {
final int id; final int id;

@ -1,7 +1,7 @@
import 'package:animated_text_kit/animated_text_kit.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:animated_text_kit/animated_text_kit.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';

@ -1,6 +1,5 @@
import 'dart:io'; import 'dart:io';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -13,6 +12,7 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/const/resource.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/manager/advice/advice_page.dart'; import 'package:akuCommunity/ui/manager/advice/advice_page.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/utils/network/base_model.dart'; import 'package:akuCommunity/utils/network/base_model.dart';

@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:flustars/flustars.dart'; import 'package:flustars/flustars.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:get/get.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/api.dart';
@ -11,7 +12,6 @@ import 'package:akuCommunity/ui/manager/questionnaire/questionnaire_detail_page.
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:akuCommunity/widget/others/stack_avatar.dart'; import 'package:akuCommunity/widget/others/stack_avatar.dart';
import 'package:get/get.dart';
class QuestionnairePage extends StatefulWidget { class QuestionnairePage extends StatefulWidget {
QuestionnairePage({Key key}) : super(key: key); QuestionnairePage({Key key}) : super(key: key);

@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:akuCommunity/model/user/car_parking_model.dart'; import 'package:akuCommunity/model/user/car_parking_model.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:flutter/material.dart';
class CarManageCard extends StatelessWidget { class CarManageCard extends StatelessWidget {
final CarParkingModel model; final CarParkingModel model;

@ -1,11 +1,13 @@
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:provider/provider.dart';
import 'package:akuCommunity/provider/app_provider.dart'; import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/car/car_manage_card.dart'; import 'package:akuCommunity/ui/profile/car/car_manage_card.dart';
import 'package:akuCommunity/ui/profile/car_parking/car_parking_card.dart'; import 'package:akuCommunity/ui/profile/car_parking/car_parking_card.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:provider/provider.dart';
class CarManagePage extends StatefulWidget { class CarManagePage extends StatefulWidget {
CarManagePage({Key key}) : super(key: key); CarManagePage({Key key}) : super(key: key);

@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:akuCommunity/model/user/car_parking_model.dart'; import 'package:akuCommunity/model/user/car_parking_model.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:flutter/material.dart';
class CarparkingCard extends StatelessWidget { class CarparkingCard extends StatelessWidget {
final CarParkingModel model; final CarParkingModel model;

@ -1,10 +1,12 @@
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:provider/provider.dart';
import 'package:akuCommunity/provider/app_provider.dart'; import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/car_parking/car_parking_card.dart'; import 'package:akuCommunity/ui/profile/car_parking/car_parking_card.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:provider/provider.dart';
class CarParkingPage extends StatefulWidget { class CarParkingPage extends StatefulWidget {
CarParkingPage({Key key}) : super(key: key); CarParkingPage({Key key}) : super(key: key);

@ -1,6 +1,7 @@
import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart';
class ManageCarParkingPage extends StatefulWidget { class ManageCarParkingPage extends StatefulWidget {
ManageCarParkingPage({Key key}) : super(key: key); ManageCarParkingPage({Key key}) : super(key: key);

@ -1,9 +1,11 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/const/resource.dart';
import 'package:akuCommunity/model/user/house_model.dart'; import 'package:akuCommunity/model/user/house_model.dart';
import 'package:akuCommunity/ui/profile/house/pick_my_house_page.dart'; import 'package:akuCommunity/ui/profile/house/pick_my_house_page.dart';
import 'package:flutter/material.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:get/get.dart';
enum CardAuthType { enum CardAuthType {
FAIL, FAIL,

@ -1,17 +1,17 @@
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/house/house_card.dart';
import 'package:akuCommunity/ui/profile/house/house_func.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:provider/provider.dart';
import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/const/resource.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/house/add_house_page.dart'; import 'package:akuCommunity/ui/profile/house/add_house_page.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/ui/profile/house/house_card.dart';
import 'package:akuCommunity/ui/profile/house/house_func.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:provider/provider.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
class HouseOwnersPage extends StatefulWidget { class HouseOwnersPage extends StatefulWidget {
HouseOwnersPage({Key key}) : super(key: key); HouseOwnersPage({Key key}) : super(key: key);

@ -1,18 +1,20 @@
import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/model/user/house_model.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/house/add_house_page.dart';
import 'package:akuCommunity/ui/profile/house/house_func.dart';
import 'package:akuCommunity/utils/network/net_util.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_slidable/flutter_slidable.dart'; import 'package:flutter_slidable/flutter_slidable.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/model/user/house_model.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/house/add_house_page.dart';
import 'package:akuCommunity/ui/profile/house/house_func.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/utils/network/net_util.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart';
class PickMyHousePage extends StatefulWidget { class PickMyHousePage extends StatefulWidget {
PickMyHousePage({Key key}) : super(key: key); PickMyHousePage({Key key}) : super(key: key);

@ -51,8 +51,8 @@ class BeeMap {
3: '已读', 3: '已读',
}; };
static Map<int,bool> messageIsRead ={ static Map<int, bool> messageIsRead = {
1:false, 1: false,
3:true, 3: true,
}; };
} }

@ -1,12 +1,12 @@
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/ui/profile/house/add_house_page.dart';
import 'package:akuCommunity/ui/profile/house/house_owners_page.dart';
import 'package:bot_toast/bot_toast.dart'; import 'package:bot_toast/bot_toast.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:akuCommunity/pages/sign/sign_in_page.dart'; import 'package:akuCommunity/pages/sign/sign_in_page.dart';
import 'package:akuCommunity/provider/app_provider.dart';
import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/provider/user_provider.dart';
import 'package:akuCommunity/ui/profile/house/add_house_page.dart';
import 'package:akuCommunity/ui/profile/house/house_owners_page.dart';
/// | | | /// | | |
/// |-----|------| /// |-----|------|

@ -1,7 +1,8 @@
import 'dart:io'; import 'dart:io';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:dio/dio.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:path_provider/path_provider.dart'; import 'package:path_provider/path_provider.dart';

Loading…
Cancel
Save