format/sort codes

hmxc
张萌 3 years ago
parent 171e3f6596
commit cf107a46d0

@ -6,13 +6,12 @@
import 'package:device_info_plus_web/device_info_plus_web.dart'; import 'package:device_info_plus_web/device_info_plus_web.dart';
import 'package:firebase_core_web/firebase_core_web.dart'; import 'package:firebase_core_web/firebase_core_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
import 'package:image_picker_for_web/image_picker_for_web.dart'; import 'package:image_picker_for_web/image_picker_for_web.dart';
import 'package:package_info_plus_web/package_info_plus_web.dart'; import 'package:package_info_plus_web/package_info_plus_web.dart';
import 'package:shared_preferences_web/shared_preferences_web.dart'; import 'package:shared_preferences_web/shared_preferences_web.dart';
import 'package:url_launcher_web/url_launcher_web.dart'; import 'package:url_launcher_web/url_launcher_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
// ignore: public_member_api_docs // ignore: public_member_api_docs
void registerPlugins(Registrar registrar) { void registerPlugins(Registrar registrar) {
DeviceInfoPlusPlugin.registerWith(registrar); DeviceInfoPlusPlugin.registerWith(registrar);

@ -1,5 +1,6 @@
import 'package:equatable/equatable.dart'; import 'package:equatable/equatable.dart';
import 'package:json_annotation/json_annotation.dart'; import 'package:json_annotation/json_annotation.dart';
part 'life_pay_list_model.g.dart'; part 'life_pay_list_model.g.dart';
@JsonSerializable(createToJson: true, explicitToJson: true) @JsonSerializable(createToJson: true, explicitToJson: true)

@ -1,5 +1,6 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:equatable/equatable.dart';
import 'package:json_annotation/json_annotation.dart'; import 'package:json_annotation/json_annotation.dart';
part 'passed_house_list_model.g.dart'; part 'passed_house_list_model.g.dart';

@ -1,6 +1,3 @@
import 'package:aku_community/models/life_pay/life_pay_list_model.dart';
import 'package:aku_community/utils/network/base_list_model.dart';
import 'package:aku_community/widget/bee_divider.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -12,6 +9,7 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/base/base_style.dart'; import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/constants/api.dart'; import 'package:aku_community/constants/api.dart';
import 'package:aku_community/models/life_pay/life_pay_list_model.dart';
import 'package:aku_community/pages/life_pay/life_pay_record_page.dart'; import 'package:aku_community/pages/life_pay/life_pay_record_page.dart';
import 'package:aku_community/pages/life_pay/pay_finish_page.dart'; import 'package:aku_community/pages/life_pay/pay_finish_page.dart';
import 'package:aku_community/pages/life_pay/pay_util.dart'; import 'package:aku_community/pages/life_pay/pay_util.dart';
@ -19,8 +17,10 @@ import 'package:aku_community/pages/life_pay/widget/life_pay_detail_page.dart';
import 'package:aku_community/provider/app_provider.dart'; import 'package:aku_community/provider/app_provider.dart';
import 'package:aku_community/utils/bee_parse.dart'; import 'package:aku_community/utils/bee_parse.dart';
import 'package:aku_community/utils/headers.dart'; import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/utils/network/base_list_model.dart';
import 'package:aku_community/utils/network/base_model.dart'; import 'package:aku_community/utils/network/base_model.dart';
import 'package:aku_community/utils/network/net_util.dart'; import 'package:aku_community/utils/network/net_util.dart';
import 'package:aku_community/widget/bee_divider.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/buttons/bee_check_radio.dart'; import 'package:aku_community/widget/buttons/bee_check_radio.dart';
import 'package:aku_community/widget/others/house_head_card.dart'; import 'package:aku_community/widget/others/house_head_card.dart';
@ -43,11 +43,7 @@ class SelectPay {
class _LifePayPageState extends State<LifePayPage> { class _LifePayPageState extends State<LifePayPage> {
EasyRefreshController? _controller; EasyRefreshController? _controller;
List<int> _selectYears = []; // List<int> _selectYears = []; //
List<LifePayListModel> _models = []; List<LifePayListModel> _models = []; //model,
// List<SelectPay> _selectPay = []; //
// double _totalCost = 0; //
// // int _count = 0; //
// List _ids = []; //id
int _page = 0; int _page = 0;
int _size = 10; int _size = 10;
@ -114,17 +110,8 @@ class _LifePayPageState extends State<LifePayPage> {
setState(() { setState(() {
if (_selectYears.contains(index)) { if (_selectYears.contains(index)) {
_selectYears.remove(index); _selectYears.remove(index);
// _totalCost -= (_selectPay[index].payTotal);
// _count -= (_selectPay[index].payCount);
// _selectPay[index].ids.forEach((element) {
// _ids.remove(element);
// });
} else { } else {
_selectYears.add(index); _selectYears.add(index);
// _totalCost += (_selectPay[index].payTotal);
// _count += (_selectPay[index].payCount);
// _ids.addAll(_selectPay[index].ids);
} }
}); });
}, },
@ -175,13 +162,7 @@ class _LifePayPageState extends State<LifePayPage> {
children: [ children: [
GestureDetector( GestureDetector(
onTap: () async { onTap: () async {
if (_selectYears.contains(index)) { if (_selectYears.contains(index)) {}
// _totalCost -= _selectPay[index].payTotal;
// _count -= _selectPay[index].payCount;
// _selectPay[index].ids.forEach((element) {
// _ids.remove(element);
// });
}
dynamic payMent = await (Get.to(() => LifePayDetailPage( dynamic payMent = await (Get.to(() => LifePayDetailPage(
model: _models[index], model: _models[index],
@ -191,13 +172,6 @@ class _LifePayPageState extends State<LifePayPage> {
if (payMent.runtimeType == LifePayListModel) { if (payMent.runtimeType == LifePayListModel) {
_selectModels[index] = payMent; _selectModels[index] = payMent;
} }
// _selectPay[index].payCount = payMent[0];
// _selectPay[index].payTotal = payMent[1];
// _selectPay[index].ids = payMent[2];
// if (_selectYears.contains(index)) {
// _totalCost += _selectPay[index].payTotal;
// _count += _selectPay[index].payCount;
// }
setState(() {}); setState(() {});
}, },
child: Container( child: Container(
@ -217,63 +191,6 @@ class _LifePayPageState extends State<LifePayPage> {
); );
} }
// double getPayTotal(LifePayListModel list) {
// num total = 0;
// if (list.dailyPaymentTypeVos != null) {
// for (var item in list.dailyPaymentTypeVos!) {
// for (var v in item.detailedVoList!) {
// total += v.paymentPrice ?? 0;
// }
// }
// }
// return total as double;
// }
// List<int> getIds(LifePayListModel list) {
// List<int> _list = [];
// if (list.dailyPaymentTypeVos != null) {
// for (var item in list.dailyPaymentTypeVos!) {
// for (var v in item.detailedVoList!) {
// _list.addAll(_findIds(v.detailsVoList ?? []));
// }
// }
// }
// return _list;
// }
// List<int> _findIds(List<DetailsVoList> list) {
// List<int> _list = [];
// list.forEach((element) {
// _list.add(element.id!);
// });
// return _list;
// }
// _allSelectOption() {
// //
// if (_models.length == _selectYears.length) {
// _selectYears.clear();
// _ids.clear();
// _totalCost = 0;
// _count = 0;
// } else {
// for (var i = 0; i < _models.length; i++) {
// if (!_selectYears.contains(i)) {
// _selectYears.add(i);
// }
// }
// _totalCost = 0;
// _count = 0;
// _ids.clear();
// for (var item in _selectPay) {
// _totalCost += item.payTotal;
// _count += item.payCount;
// _ids.addAll(item.ids);
// }
// }
// setState(() {});
// }
Widget _payButton() { Widget _payButton() {
return MaterialButton( return MaterialButton(
elevation: 0, elevation: 0,
@ -342,14 +259,6 @@ class _LifePayPageState extends State<LifePayPage> {
for (var i = 0; i < _selectModels.length; i++) { for (var i = 0; i < _selectModels.length; i++) {
_selectYears.add(i); _selectYears.add(i);
} }
// _totalCost = 0;
// _count = 0;
// _selectPay.addAll(_models
// .map((e) => SelectPay(
// payCount: e.dailyPaymentTypeVos!.length,
// payTotal: getPayTotal(e),
// ids: getIds(e)))
// .toList());
if (mounted) setState(() {}); if (mounted) setState(() {});
}, },
child: Column( child: Column(
@ -386,7 +295,6 @@ class _LifePayPageState extends State<LifePayPage> {
children: [ children: [
GestureDetector( GestureDetector(
onTap: () { onTap: () {
// _allSelectOption();
if (allSelect) { if (allSelect) {
_selectYears.clear(); _selectYears.clear();
setState(() {}); setState(() {});

@ -7,11 +7,11 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/base/base_style.dart'; import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/constants/api.dart'; import 'package:aku_community/constants/api.dart';
import 'package:aku_community/extensions/widget_list_ext.dart';
import 'package:aku_community/model/manager/life_pay_record_model.dart'; import 'package:aku_community/model/manager/life_pay_record_model.dart';
import 'package:aku_community/pages/things_page/widget/bee_list_view.dart'; import 'package:aku_community/pages/things_page/widget/bee_list_view.dart';
import 'package:aku_community/utils/headers.dart'; import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/extensions/widget_list_ext.dart';
class LifePayRecordPage extends StatefulWidget { class LifePayRecordPage extends StatefulWidget {
LifePayRecordPage({Key? key}) : super(key: key); LifePayRecordPage({Key? key}) : super(key: key);

@ -1,21 +0,0 @@
import 'package:aku_community/models/life_pay/life_pay_list_model.dart';
import 'package:flutter/material.dart';
class SharLifPayModel extends InheritedWidget {
SharLifPayModel({Key? key, required this.child, required this.models})
: super(key: key, child: child);
final Widget child;
List<LifePayListModel> models;
static SharLifPayModel? of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<SharLifPayModel>();
}
@override
bool updateShouldNotify(SharLifPayModel oldWidget) {
return oldWidget.models != models;
}
}

@ -1,13 +1,13 @@
import 'package:aku_community/models/life_pay/life_pay_list_model.dart';
import 'package:aku_community/pages/life_pay/life_pay_page.dart';
import 'package:expandable/expandable.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:expandable/expandable.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:aku_community/base/base_style.dart'; import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/models/life_pay/life_pay_list_model.dart';
import 'package:aku_community/pages/life_pay/life_pay_page.dart';
import 'package:aku_community/provider/app_provider.dart'; import 'package:aku_community/provider/app_provider.dart';
import 'package:aku_community/utils/bee_parse.dart'; import 'package:aku_community/utils/bee_parse.dart';
import 'package:aku_community/utils/headers.dart'; import 'package:aku_community/utils/headers.dart';
@ -30,24 +30,7 @@ class LifePayDetailPage extends StatefulWidget {
} }
class _LifePayDetailPageState extends State<LifePayDetailPage> { class _LifePayDetailPageState extends State<LifePayDetailPage> {
// List<String> _selectItems = []; late LifePayListModel _selectModel; //model
// List<int> _ids = [];
// double _payTotal = 0;
// int _payNum = 0;
// int get listLength {
// int count = 0;
// widget.model.dailyPaymentTypeVos!.forEach((element) {
// element.detailedVoList!.forEach((element) {
// count++;
// });
// });
// return count;
// }
// bool get isAllSelect {
// return listLength == _selectItems.length;
// }
late LifePayListModel _selectModel;
late LifePayListModel _model; late LifePayListModel _model;
SelectPay get total { SelectPay get total {
int count = 0; int count = 0;
@ -72,81 +55,10 @@ class _LifePayDetailPageState extends State<LifePayDetailPage> {
@override @override
void initState() { void initState() {
super.initState(); super.initState();
// for (var i = 0; i < widget.model!.dailyPaymentTypeVos!.length; i++) {
// for (var j = 0;
// j < widget.model!.dailyPaymentTypeVos![i].detailedVoList!.length;
// j++) {
// String id = widget.model!.dailyPaymentTypeVos![i].id.toString() +
// widget.model!.dailyPaymentTypeVos![i].detailedVoList![j].groupId
// .toString();
// if (!_selectItems.contains(id)) {
// _selectItems.add(id);
// _ids.addAll(_findIds(widget.model!.dailyPaymentTypeVos![i]
// .detailedVoList![j].detailsVoList ??
// []));
// _payNum += 1;
// _payTotal += widget
// .model!.dailyPaymentTypeVos![i].detailedVoList![j].paymentPrice!
// .toDouble();
// }
// }
// }
_selectModel = widget.selectModel; _selectModel = widget.selectModel;
_model = widget.model; _model = widget.model;
} }
// List<int> _findIds(List<DetailsVoList> list) {
// List<int> _list = [];
// list.forEach((element) {
// _list.add(element.id!);
// });
// return _list;
// }
// Widget _buildTile(
// // int? groupId, int? id, int? years, double? price, List<int> list
// DetailedVoList model,int index,int id,
// ) {
// return GestureDetector(
// onTap: () {
// // String item = id.toString() + model.groupId.toString();
// // if (_selectItems.contains(item)) {
// // _selectItems.remove(item);
// // _payNum -= 1;
// // _payTotal -= price!.toDouble();
// // list.forEach((element) {
// // _ids.remove(element);
// // });
// // } else {
// // _selectItems.add(item);
// // _ids.addAll(list);
// // _payNum += 1;
// // _payTotal += price!.toDouble();
// // }
// setState(() {});
// },
// child: Row(
// children: [
// BeeCheckRadio(
// value: id.toString() + groupId.toString(),
// groupValue: _selectItems),
// 24.w.widthBox,
// groupId == 1
// ? '$years上半年'.text.black.size(28.sp).make()
// : '$years下半年'.text.black.size(28.sp).make(),
// Spacer(),
// '¥${price.toString()}'
// .text
// .color(kDangerColor)
// .size(28.sp)
// .bold
// .make(),
// 24.w.widthBox,
// ],
// ).material(color: Colors.transparent),
// );
// }
Widget _expandedTile(DetailedVoList model, int index1, int index2) { Widget _expandedTile(DetailedVoList model, int index1, int index2) {
return ExpandablePanel( return ExpandablePanel(
theme: ExpandableThemeData.combine( theme: ExpandableThemeData.combine(
@ -157,7 +69,6 @@ class _LifePayDetailPageState extends State<LifePayDetailPage> {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
12.w.widthBox, 12.w.widthBox,
model.groupId == 1 model.groupId == 1
? '${widget.year}上半年'.text.black.size(28.sp).make() ? '${widget.year}上半年'.text.black.size(28.sp).make()
@ -176,9 +87,7 @@ class _LifePayDetailPageState extends State<LifePayDetailPage> {
expanded: Column( expanded: Column(
children: model.detailsVoList children: model.detailsVoList
.map((e) => _expandedChild(e, index1, index2)) .map((e) => _expandedChild(e, index1, index2))
.toList() .toList()),
// .sepWidget(separate: 12.w.heightBox),
),
); );
} }
@ -263,8 +172,7 @@ class _LifePayDetailPageState extends State<LifePayDetailPage> {
duration: Duration(milliseconds: 300), duration: Duration(milliseconds: 300),
decoration: BoxDecoration( decoration: BoxDecoration(
border: Border.all( border: Border.all(
width: 1.w, width: 1.w, color: isAllSelect ? kPrimaryColor : kDarkSubColor),
color: isAllSelect ? kPrimaryColor : kDarkSubColor),
color: isAllSelect ? kPrimaryColor : Colors.transparent, color: isAllSelect ? kPrimaryColor : Colors.transparent,
borderRadius: BorderRadius.circular(20.w)), borderRadius: BorderRadius.circular(20.w)),
curve: Curves.easeInOutCubic, curve: Curves.easeInOutCubic,
@ -293,40 +201,8 @@ class _LifePayDetailPageState extends State<LifePayDetailPage> {
GestureDetector( GestureDetector(
onTap: () { onTap: () {
if (isAllSelect) { if (isAllSelect) {
// _selectItems.clear();
// _ids.clear();
// _payNum = 0;
// _payTotal = 0;
clearModel(_selectModel); clearModel(_selectModel);
} else { } else {
// for (var i = 0;
// i < widget.model.dailyPaymentTypeVos!.length;
// i++) {
// for (var j = 0;
// j <
// widget.model.dailyPaymentTypeVos![i]
// .detailedVoList!.length;
// j++) {
// String id =
// widget.model.dailyPaymentTypeVos![i].id.toString() +
// widget.model.dailyPaymentTypeVos![i]
// .detailedVoList![j].groupId
// .toString();
// if (!_selectItems.contains(id)) {
// _selectItems.add(id);
// _ids.addAll(_findIds(widget
// .model!
// .dailyPaymentTypeVos![i]
// .detailedVoList![j]
// .detailsVoList ??
// []));
// _payNum += 1;
// _payTotal += widget.model!.dailyPaymentTypeVos![i]
// .detailedVoList![j].paymentPrice!
// .toDouble();
// }
// }
// }
_selectModel = LifePayListModel.fromJson(_model.toJson()); _selectModel = LifePayListModel.fromJson(_model.toJson());
} }
setState(() {}); setState(() {});

@ -1,14 +1,17 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:aku_community/base/base_style.dart'; import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/ui/profile/house/contract_stop/upload_empty_list_page.dart'; import 'package:aku_community/ui/profile/house/contract_stop/upload_empty_list_page.dart';
import 'package:aku_community/utils/headers.dart'; import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/widget/buttons/bottom_button.dart';
import 'package:flutter/material.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:get/get.dart'; import 'package:aku_community/widget/buttons/bottom_button.dart';
class ContractStopPage extends StatefulWidget { class ContractStopPage extends StatefulWidget {
ContractStopPage({Key? key,}) : super(key: key); ContractStopPage({
Key? key,
}) : super(key: key);
@override @override
_ContractStopPageState createState() => _ContractStopPageState(); _ContractStopPageState createState() => _ContractStopPageState();

@ -1,12 +1,14 @@
import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/ui/profile/house/contract_stop/refund_bond_page.dart';
import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/others/finish_result_image.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:get/get.dart'; import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/ui/profile/house/contract_stop/refund_bond_page.dart';
import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/others/finish_result_image.dart';
class PayResultPage extends StatefulWidget { class PayResultPage extends StatefulWidget {
final String name; final String name;
final double bond; final double bond;

@ -1,21 +1,23 @@
import 'package:flutter/material.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flustars/flustars.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:power_logger/power_logger.dart';
import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/base/base_style.dart'; import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/constants/api.dart'; import 'package:aku_community/constants/api.dart';
import 'package:aku_community/extensions/widget_list_ext.dart';
import 'package:aku_community/pages/life_pay/pay_finish_page.dart'; import 'package:aku_community/pages/life_pay/pay_finish_page.dart';
import 'package:aku_community/pages/life_pay/pay_util.dart'; import 'package:aku_community/pages/life_pay/pay_util.dart';
import 'package:aku_community/ui/profile/house/house_func.dart'; import 'package:aku_community/ui/profile/house/house_func.dart';
import 'package:aku_community/widget/bottom_sheets/pay_mothod_bottom_sheet.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/bottom_sheets/pay_mothod_bottom_sheet.dart';
import 'package:aku_community/widget/buttons/bottom_button.dart'; import 'package:aku_community/widget/buttons/bottom_button.dart';
import 'package:aku_community/widget/others/bee_input_row.dart'; import 'package:aku_community/widget/others/bee_input_row.dart';
import 'package:aku_community/widget/others/house_head_card.dart'; import 'package:aku_community/widget/others/house_head_card.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flustars/flustars.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:power_logger/power_logger.dart';
import 'package:velocity_x/velocity_x.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:aku_community/extensions/widget_list_ext.dart';
class PaySuerplusRentPage extends StatefulWidget { class PaySuerplusRentPage extends StatefulWidget {
/// ///

@ -1,14 +1,16 @@
import 'package:flutter/material.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/base/base_style.dart'; import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/ui/profile/house/house_func.dart'; import 'package:aku_community/ui/profile/house/house_func.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/buttons/bottom_button.dart'; import 'package:aku_community/widget/buttons/bottom_button.dart';
import 'package:aku_community/widget/others/bee_input_row.dart'; import 'package:aku_community/widget/others/bee_input_row.dart';
import 'package:aku_community/widget/others/house_head_card.dart'; import 'package:aku_community/widget/others/house_head_card.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart';
class RefundBondPage extends StatefulWidget { class RefundBondPage extends StatefulWidget {
final String name; final String name;

@ -1,12 +1,14 @@
import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/ui/profile/house/contract_stop/refund_bond_page.dart';
import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/others/finish_result_image.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:get/get.dart'; import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/ui/profile/house/contract_stop/refund_bond_page.dart';
import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/others/finish_result_image.dart';
class RefundBondResultPage extends StatefulWidget { class RefundBondResultPage extends StatefulWidget {
final int status; final int status;
final String name; final String name;

@ -1,14 +1,16 @@
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/base/base_style.dart'; import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/models/house/lease_detail_model.dart'; import 'package:aku_community/models/house/lease_detail_model.dart';
import 'package:aku_community/ui/profile/house/contract_stop/contract_stop_page.dart'; import 'package:aku_community/ui/profile/house/contract_stop/contract_stop_page.dart';
import 'package:aku_community/ui/profile/house/house_func.dart';
import 'package:aku_community/ui/profile/house/contract_stop/pay_surplus_rent_page.dart'; import 'package:aku_community/ui/profile/house/contract_stop/pay_surplus_rent_page.dart';
import 'package:aku_community/ui/profile/house/house_func.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/others/finish_result_image.dart'; import 'package:aku_community/widget/others/finish_result_image.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart';
class SubmitFinishPage extends StatefulWidget { class SubmitFinishPage extends StatefulWidget {
final int status; final int status;

@ -1,5 +1,13 @@
import 'dart:io'; import 'dart:io';
import 'package:flutter/material.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flustars/flustars.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/base/base_style.dart'; import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/ui/profile/house/house_func.dart'; import 'package:aku_community/ui/profile/house/house_func.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
@ -9,12 +17,6 @@ import 'package:aku_community/widget/others/house_head_card.dart';
import 'package:aku_community/widget/others/upload_widget.dart'; import 'package:aku_community/widget/others/upload_widget.dart';
import 'package:aku_community/widget/others/user_tool.dart'; import 'package:aku_community/widget/others/user_tool.dart';
import 'package:aku_community/widget/picker/bee_date_picker.dart'; import 'package:aku_community/widget/picker/bee_date_picker.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flustars/flustars.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart';
class UploadEmptyListPage extends StatefulWidget { class UploadEmptyListPage extends StatefulWidget {
UploadEmptyListPage({Key? key}) : super(key: key); UploadEmptyListPage({Key? key}) : super(key: key);

@ -1,12 +1,7 @@
import 'package:aku_community/models/house/lease_detail_model.dart';
import 'package:aku_community/ui/profile/house/contract_stop/contract_stop_page.dart';
import 'package:aku_community/ui/profile/house/contract_stop/pay_result_page.dart';
import 'package:aku_community/ui/profile/house/contract_stop/refund_bond_result_page.dart';
import 'package:aku_community/ui/profile/house/contract_stop/submit_finish_page.dart';
import 'package:flustars/flustars.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_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';
@ -15,13 +10,18 @@ import 'package:provider/provider.dart';
import 'package:aku_community/base/base_style.dart'; import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/const/resource.dart'; import 'package:aku_community/const/resource.dart';
import 'package:aku_community/models/house/lease_detail_model.dart';
import 'package:aku_community/provider/app_provider.dart'; import 'package:aku_community/provider/app_provider.dart';
import 'package:aku_community/ui/profile/house/add_house_page.dart'; import 'package:aku_community/ui/profile/house/add_house_page.dart';
import 'package:aku_community/ui/profile/house/contract_stop/contract_stop_page.dart';
import 'package:aku_community/ui/profile/house/contract_stop/pay_result_page.dart';
import 'package:aku_community/ui/profile/house/contract_stop/refund_bond_result_page.dart';
import 'package:aku_community/ui/profile/house/contract_stop/submit_finish_page.dart';
import 'package:aku_community/ui/profile/house/house_card.dart'; import 'package:aku_community/ui/profile/house/house_card.dart';
import 'package:aku_community/ui/profile/house/house_func.dart'; import 'package:aku_community/ui/profile/house/house_func.dart';
import 'package:aku_community/ui/profile/house/identify_selection_page.dart'; import 'package:aku_community/ui/profile/house/identify_selection_page.dart';
import 'package:aku_community/ui/profile/house/my_house_list.dart';
import 'package:aku_community/ui/profile/house/lease_relevation/tenant_house_list_page.dart'; import 'package:aku_community/ui/profile/house/lease_relevation/tenant_house_list_page.dart';
import 'package:aku_community/ui/profile/house/my_house_list.dart';
import 'package:aku_community/utils/headers.dart'; import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/buttons/bottom_button.dart'; import 'package:aku_community/widget/buttons/bottom_button.dart';

@ -7,8 +7,8 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/const/resource.dart'; import 'package:aku_community/const/resource.dart';
import 'package:aku_community/extensions/widget_list_ext.dart'; import 'package:aku_community/extensions/widget_list_ext.dart';
import 'package:aku_community/ui/profile/house/my_house_list.dart';
import 'package:aku_community/ui/profile/house/lease_relevation/user_identify_page.dart'; import 'package:aku_community/ui/profile/house/lease_relevation/user_identify_page.dart';
import 'package:aku_community/ui/profile/house/my_house_list.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
class IdentifySelectionPage extends StatelessWidget { class IdentifySelectionPage extends StatelessWidget {

@ -1,4 +1,3 @@
import 'package:aku_community/widget/bottom_sheets/pay_mothod_bottom_sheet.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -14,6 +13,7 @@ import 'package:aku_community/pages/life_pay/pay_finish_page.dart';
import 'package:aku_community/pages/life_pay/pay_util.dart'; import 'package:aku_community/pages/life_pay/pay_util.dart';
import 'package:aku_community/ui/profile/house/house_func.dart'; import 'package:aku_community/ui/profile/house/house_func.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/bottom_sheets/pay_mothod_bottom_sheet.dart';
import 'package:aku_community/widget/buttons/bottom_button.dart'; import 'package:aku_community/widget/buttons/bottom_button.dart';
import 'package:aku_community/widget/others/bee_input_row.dart'; import 'package:aku_community/widget/others/bee_input_row.dart';

@ -12,8 +12,8 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/base/base_style.dart'; import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/constants/api.dart'; import 'package:aku_community/constants/api.dart';
import 'package:aku_community/ui/profile/house/lease_relevation/download_contract_page.dart';
import 'package:aku_community/ui/profile/house/house_func.dart'; import 'package:aku_community/ui/profile/house/house_func.dart';
import 'package:aku_community/ui/profile/house/lease_relevation/download_contract_page.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/buttons/bottom_button.dart'; import 'package:aku_community/widget/buttons/bottom_button.dart';
import 'package:aku_community/widget/others/sign_name_board.dart'; import 'package:aku_community/widget/others/sign_name_board.dart';

@ -10,8 +10,8 @@ import 'package:aku_community/base/base_style.dart';
import 'package:aku_community/const/resource.dart'; import 'package:aku_community/const/resource.dart';
import 'package:aku_community/models/house/lease_detail_model.dart'; import 'package:aku_community/models/house/lease_detail_model.dart';
import 'package:aku_community/models/house/submit_model.dart'; import 'package:aku_community/models/house/submit_model.dart';
import 'package:aku_community/ui/profile/house/lease_relevation/contract_preview_page.dart';
import 'package:aku_community/ui/profile/house/house_func.dart'; import 'package:aku_community/ui/profile/house/house_func.dart';
import 'package:aku_community/ui/profile/house/lease_relevation/contract_preview_page.dart';
import 'package:aku_community/utils/headers.dart'; import 'package:aku_community/utils/headers.dart';
import 'package:aku_community/widget/bee_divider.dart'; import 'package:aku_community/widget/bee_divider.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';

@ -7,8 +7,8 @@ import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/const/resource.dart'; import 'package:aku_community/const/resource.dart';
import 'package:aku_community/extensions/widget_list_ext.dart'; import 'package:aku_community/extensions/widget_list_ext.dart';
import 'package:aku_community/ui/profile/house/my_house_list.dart';
import 'package:aku_community/ui/profile/house/lease_relevation/user_identify_page.dart'; import 'package:aku_community/ui/profile/house/lease_relevation/user_identify_page.dart';
import 'package:aku_community/ui/profile/house/my_house_list.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
class IdentifySelectionPage extends StatelessWidget { class IdentifySelectionPage extends StatelessWidget {

@ -1,6 +1,5 @@
import 'dart:io'; import 'dart:io';
import 'package:aku_community/widget/bottom_sheets/sex_bottom_sheet.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -16,6 +15,7 @@ import 'package:aku_community/models/house/submit_model.dart';
import 'package:aku_community/ui/profile/house/house_func.dart'; import 'package:aku_community/ui/profile/house/house_func.dart';
import 'package:aku_community/ui/profile/house/lease_relevation/house_information_check_page.dart'; import 'package:aku_community/ui/profile/house/lease_relevation/house_information_check_page.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/bottom_sheets/sex_bottom_sheet.dart';
import 'package:aku_community/widget/buttons/bottom_button.dart'; import 'package:aku_community/widget/buttons/bottom_button.dart';
import 'package:aku_community/widget/others/bee_input_row.dart'; import 'package:aku_community/widget/others/bee_input_row.dart';
import 'package:aku_community/widget/others/user_tool.dart'; import 'package:aku_community/widget/others/user_tool.dart';

@ -1,4 +1,3 @@
import 'package:aku_community/widget/bottom_sheets/sex_bottom_sheet.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
@ -14,6 +13,7 @@ import 'package:aku_community/models/house/lease_echo_model.dart';
import 'package:aku_community/ui/profile/house/house_func.dart'; import 'package:aku_community/ui/profile/house/house_func.dart';
import 'package:aku_community/ui/profile/house/lease_relevation/tenant_house_list_page.dart'; import 'package:aku_community/ui/profile/house/lease_relevation/tenant_house_list_page.dart';
import 'package:aku_community/widget/bee_scaffold.dart'; import 'package:aku_community/widget/bee_scaffold.dart';
import 'package:aku_community/widget/bottom_sheets/sex_bottom_sheet.dart';
import 'package:aku_community/widget/buttons/bottom_button.dart'; import 'package:aku_community/widget/buttons/bottom_button.dart';
import 'package:aku_community/widget/others/bee_input_row.dart'; import 'package:aku_community/widget/others/bee_input_row.dart';

@ -1,9 +1,11 @@
import 'package:aku_community/base/base_style.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.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:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/base/base_style.dart';
class PayMethodBottomSheet extends StatelessWidget { class PayMethodBottomSheet extends StatelessWidget {
final Function(String value) onChoose; final Function(String value) onChoose;
const PayMethodBottomSheet({Key? key, required this.onChoose}) const PayMethodBottomSheet({Key? key, required this.onChoose})

@ -1,10 +1,12 @@
import 'package:aku_community/base/base_style.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
import 'package:aku_community/base/base_style.dart';
class SexBottomSheet extends StatelessWidget { class SexBottomSheet extends StatelessWidget {
final Function(String value) onChoose; final Function(String value) onChoose;
const SexBottomSheet({Key? key, required this.onChoose}) : super(key: key); const SexBottomSheet({Key? key, required this.onChoose}) : super(key: key);

Loading…
Cancel
Save