You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.4 KiB

4 years ago
import 'package:akuCommunity/pages/life_pay/life_pay_info_page/life_pay_info_page.dart';
4 years ago
import 'package:akuCommunity/pages/life_pay/life_pay_record_page/life_pay_record_page.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
4 years ago
import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/routers/page_routers.dart';
import 'widget/order_card.dart';
import 'widget/submit_bar.dart';
4 years ago
import 'package:velocity_x/velocity_x.dart';
class LifePayPage extends StatefulWidget {
LifePayPage({Key key}) : super(key: key);
@override
_LifePayPageState createState() => _LifePayPageState();
}
class _LifePayPageState extends State<LifePayPage> {
@override
Widget build(BuildContext context) {
4 years ago
return BeeScaffold(
title: '生活缴费',
actions: [
InkWell(
onTap: () {
LifePayRecordPage().to();
},
child: Container(
padding: EdgeInsets.fromLTRB(32.w, 28.w, 32.w, 20.w),
alignment: Alignment.center,
child: '缴费记录'.text.black.size(28.sp).make(),
),
),
4 years ago
],
body: Stack(
children: [
ListView(
4 years ago
padding: EdgeInsets.only(bottom: 130.w),
children: [
Container(
margin: EdgeInsets.only(
4 years ago
top: 32.w,
left: 32.w,
right: 32.w,
),
child: RichText(
text: TextSpan(
4 years ago
style:
TextStyle(fontSize: 28.sp, color: Color(0xff666666)),
children: <InlineSpan>[
TextSpan(
text: '深圳华茂悦峰',
),
TextSpan(
text: '1幢-1单元-702室',
style: TextStyle(fontWeight: FontWeight.bold),
),
]),
),
),
4 years ago
OrderCard(
fun: LifePayInfoPage(
bundle: Bundle()
..putMap('commentMap', {'title': '明细', 'isActions': false}),
).to),
],
),
Positioned(
bottom: 0,
child: SubmitBar(title: '去缴费'),
),
],
),
);
}
}