补充地图的演示功能
This commit is contained in:
@@ -16,6 +16,7 @@ class BaseWidgetsPage extends GetView<BaseWidgetsController> {
|
||||
Widget _buildView() {
|
||||
return PageView(
|
||||
controller: _pageController,
|
||||
physics: const NeverScrollableScrollPhysics(), // 禁止滑动
|
||||
onPageChanged: (index) {
|
||||
jumpTabAndPage(index);
|
||||
},
|
||||
@@ -31,7 +32,7 @@ class BaseWidgetsPage extends GetView<BaseWidgetsController> {
|
||||
// 对应的页面
|
||||
List<Widget> _buildPages() {
|
||||
return [
|
||||
// MapPage(),
|
||||
MapPage(),
|
||||
ReservationPage(),
|
||||
CarInfoPage(),
|
||||
MinePage(),
|
||||
@@ -46,12 +47,12 @@ class BaseWidgetsPage extends GetView<BaseWidgetsController> {
|
||||
jumpTabAndPage(index);
|
||||
}, // 切换tab事件
|
||||
items: [
|
||||
/*NavigationItemModel(
|
||||
NavigationItemModel(
|
||||
label: '地图',
|
||||
icon: AntdIcon.location,
|
||||
selectedIcon: AntdIcon.location_fill,
|
||||
dot: false,
|
||||
),*/
|
||||
),
|
||||
NavigationItemModel(
|
||||
label: '加氢预约',
|
||||
icon: AntdIcon.orderedlist,
|
||||
|
||||
Reference in New Issue
Block a user