# Conflicts:
#	lib/ui/home/home_page.dart
hmxc
张萌 4 years ago
commit d54dfc92cb

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

@ -37,13 +37,14 @@ class _ApplicationPageState extends State<ApplicationPage>
int _nowSelectedIndex = 0;
List<AppApplication> _recommandApplications = [
AppApplication('活动管理', '', ActivityManagerPage()),
AppApplication('访客管理', '', Scaffold()),
AppApplication(
'活动管理', R.ASSETS_HOME_IC_ACTIVITY_PNG, ActivityManagerPage()),
AppApplication('访客管理', R.ASSETS_HOME_IC_VISITORS_PNG, Scaffold()),
AppApplication('便民电话', '', Scaffold()),
AppApplication('借还管理', '', Scaffold()),
AppApplication('借还管理', R.ASSETS_HOME_IC_BORROW_PNG, Scaffold()),
AppApplication('工单管理', '', Scaffold()),
AppApplication('语音管家', '', Scaffold()),
AppApplication('一键报警', '', Scaffold()),
AppApplication('一键报警', R.ASSETS_HOME_IC_POLICE_PNG, Scaffold()),
AppApplication('问卷调查', '', Scaffold()),
];
@ -245,10 +246,10 @@ class _ApplicationPageState extends State<ApplicationPage>
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
SizedBox(
height: 75.w,
width: 75.w,
child: Placeholder(),
Image.asset(
application.assetPath,
height: 72.w,
width: 72.w,
),
AkuBox.h(8),
Text(application.name),

@ -25,7 +25,7 @@ class HomePage extends StatefulWidget {
class _HomePageState extends State<HomePage> {
//bar
Widget _menuButton(String path, String text, Widget page) {
Widget _menuButton(String assetPath, String text, Widget page) {
return Expanded(
child: AkuButton(
radius: 8.w,
@ -37,9 +37,9 @@ class _HomePageState extends State<HomePage> {
mainAxisAlignment: MainAxisAlignment.center,
children: [
Image.asset(
path,
width: 75.w,
assetPath,
height: 75.w,
width: 75.w,
),
SizedBox(height: 8.w),
Text(

Loading…
Cancel
Save