更换导航栏位置

This commit is contained in:
2026-01-05 14:09:15 +08:00
parent 5168b23609
commit 6cc123f272

View File

@@ -32,8 +32,8 @@ class BaseWidgetsPage extends GetView<BaseWidgetsController> {
// 对应的页面 // 对应的页面
List<Widget> _buildPages() { List<Widget> _buildPages() {
return [ return [
MapPage(),
ReservationPage(), ReservationPage(),
MapPage(),
CarInfoPage(), CarInfoPage(),
MinePage(), MinePage(),
]; ];
@@ -47,16 +47,16 @@ class BaseWidgetsPage extends GetView<BaseWidgetsController> {
jumpTabAndPage(index); jumpTabAndPage(index);
}, // 切换tab事件 }, // 切换tab事件
items: [ items: [
NavigationItemModel(
label: '地图',
icon: AntdIcon.location,
selectedIcon: AntdIcon.location_fill,
),
NavigationItemModel( NavigationItemModel(
label: '加氢预约', label: '加氢预约',
icon: AntdIcon.orderedlist, icon: AntdIcon.orderedlist,
selectedIcon: AntdIcon.calendar_fill, selectedIcon: AntdIcon.calendar_fill,
), ),
NavigationItemModel(
label: '地图',
icon: AntdIcon.location,
selectedIcon: AntdIcon.location_fill,
),
NavigationItemModel( NavigationItemModel(
label: '车辆信息', label: '车辆信息',
icon: AntdIcon.car, icon: AntdIcon.car,