|
|
@ -210,7 +210,7 @@ class _HomePageState extends State<HomePage>
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 32.w),
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 32.w),
|
|
|
|
padding:
|
|
|
|
padding:
|
|
|
|
EdgeInsets.only(top: 20.w, left: 36.w, right: 36.w),
|
|
|
|
EdgeInsets.only(top: 20.w, left: 0.w, right: 0.w),
|
|
|
|
child: _applications(), //ApplicationView(),
|
|
|
|
child: _applications(), //ApplicationView(),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
@ -230,7 +230,7 @@ class _HomePageState extends State<HomePage>
|
|
|
|
child: Row(
|
|
|
|
child: Row(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
flex: 1,
|
|
|
|
flex: 2,
|
|
|
|
child: GestureDetector(
|
|
|
|
child: GestureDetector(
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
padding:
|
|
|
|
padding:
|
|
|
@ -250,7 +250,7 @@ class _HomePageState extends State<HomePage>
|
|
|
|
'访客邀请',
|
|
|
|
'访客邀请',
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
color: Color(0xD9000000),
|
|
|
|
color: Color(0xD9000000),
|
|
|
|
fontSize: 26.sp,
|
|
|
|
fontSize: 28.sp,
|
|
|
|
fontWeight: FontWeight.bold),
|
|
|
|
fontWeight: FontWeight.bold),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
10.hb,
|
|
|
|
10.hb,
|
|
|
@ -271,7 +271,7 @@ class _HomePageState extends State<HomePage>
|
|
|
|
),
|
|
|
|
),
|
|
|
|
BeeGradientDivider.vertical(),
|
|
|
|
BeeGradientDivider.vertical(),
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
flex: 2,
|
|
|
|
flex: 3,
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
@ -297,7 +297,7 @@ class _HomePageState extends State<HomePage>
|
|
|
|
'一键报警',
|
|
|
|
'一键报警',
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
color: Color(0xD9000000),
|
|
|
|
color: Color(0xD9000000),
|
|
|
|
fontSize: 26.sp,
|
|
|
|
fontSize: 28.sp,
|
|
|
|
fontWeight: FontWeight.bold),
|
|
|
|
fontWeight: FontWeight.bold),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
10.hb,
|
|
|
|
10.hb,
|
|
|
@ -340,7 +340,7 @@ class _HomePageState extends State<HomePage>
|
|
|
|
'建议咨询',
|
|
|
|
'建议咨询',
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
color: Color(0xD9000000),
|
|
|
|
color: Color(0xD9000000),
|
|
|
|
fontSize: 26.sp,
|
|
|
|
fontSize: 28.sp,
|
|
|
|
fontWeight: FontWeight.bold),
|
|
|
|
fontWeight: FontWeight.bold),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
10.hb,
|
|
|
|
10.hb,
|
|
|
@ -368,6 +368,12 @@ class _HomePageState extends State<HomePage>
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SliverToBoxAdapter(
|
|
|
|
SliverToBoxAdapter(
|
|
|
|
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
padding: EdgeInsets.all(32.w),
|
|
|
|
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 32.w),
|
|
|
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
|
|
|
borderRadius: BorderRadius.circular(16.w)),
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
HomeTitle(
|
|
|
|
HomeTitle(
|
|
|
@ -375,11 +381,11 @@ class _HomePageState extends State<HomePage>
|
|
|
|
suffixTitle: '查看全部',
|
|
|
|
suffixTitle: '查看全部',
|
|
|
|
onTap: () => Get.to(() => ActivityListPage()),
|
|
|
|
onTap: () => Get.to(() => ActivityListPage()),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
24.hb,
|
|
|
|
_activityItemModels == []
|
|
|
|
_activityItemModels == []
|
|
|
|
? SizedBox()
|
|
|
|
? SizedBox()
|
|
|
|
: Container(
|
|
|
|
: Container(
|
|
|
|
height: 480.w,
|
|
|
|
height: 460.w,
|
|
|
|
padding: EdgeInsets.only(left: 32.w),
|
|
|
|
|
|
|
|
child: ListView.separated(
|
|
|
|
child: ListView.separated(
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
separatorBuilder: (context, index) {
|
|
|
|
separatorBuilder: (context, index) {
|
|
|
@ -406,7 +412,11 @@ class _HomePageState extends State<HomePage>
|
|
|
|
// : ActivityCard(model: _activityItemModel)
|
|
|
|
// : ActivityCard(model: _activityItemModel)
|
|
|
|
// .pSymmetric(h: 24.w, v: 24.w),
|
|
|
|
// .pSymmetric(h: 24.w, v: 24.w),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
)),
|
|
|
|
|
|
|
|
SliverToBoxAdapter(
|
|
|
|
|
|
|
|
child: 48.hb,
|
|
|
|
|
|
|
|
)
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
@ -529,7 +539,7 @@ class _HomePageState extends State<HomePage>
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
getFunctionBtn(AO.fromRaw('周边服务')),
|
|
|
|
getFunctionBtn(AO.fromRaw('周边服务')),
|
|
|
|
getFunctionBtn(AO.fromRaw('小蜜蜂任务', replaceTitle: '任务发布')),
|
|
|
|
getFunctionBtn(AO.fromRaw('任务发布', replaceTitle: '任务发布')),
|
|
|
|
getFunctionBtn(AO.fromRaw('邻家宠物')),
|
|
|
|
getFunctionBtn(AO.fromRaw('邻家宠物')),
|
|
|
|
getFunctionBtn(AO.fromRaw('全部应用')),
|
|
|
|
getFunctionBtn(AO.fromRaw('全部应用')),
|
|
|
|
],
|
|
|
|
],
|
|
|
|