diff --git a/lib/components/search_input.dart b/lib/components/search_input.dart index 9852c83a..9d9bfe9f 100644 --- a/lib/components/search_input.dart +++ b/lib/components/search_input.dart @@ -448,7 +448,7 @@ class _History extends State { onTap: () { Application.router.navigateTo( context, "${targetRouter.toLowerCase()}", - transition: TransitionType.inFromRight); + transition: TransitionType.native); }, child: Chip( avatar: icon, diff --git a/lib/components/widget_item_container.dart b/lib/components/widget_item_container.dart index e0eae5a2..4ed220f2 100644 --- a/lib/components/widget_item_container.dart +++ b/lib/components/widget_item_container.dart @@ -23,7 +23,7 @@ class WidgetItemContainer extends StatelessWidget { /// 跳转goup void tapToGroup(CategoryComponent cate, BuildContext context) { Application.router.navigateTo(context, "/category/${cate.token}", - transition: TransitionType.inFromRight); + transition: TransitionType.native); } /// 跳转到老的widget界面 @@ -37,14 +37,14 @@ class WidgetItemContainer extends StatelessWidget { } }); Application.router.navigateTo(context, targetRouter, - transition: TransitionType.inFromRight); + transition: TransitionType.native); } /// 跳转到新的标准页 void tapToStandardPage(WidgetLeaf leaf, BuildContext context) { String targetRouter = '/standard-page/${leaf.pageId}'; Application.router.navigateTo(context, targetRouter, - transition: TransitionType.inFromRight); + transition: TransitionType.native); } List _buildColumns(context) { @@ -81,7 +81,7 @@ class WidgetItemContainer extends StatelessWidget { Application.router.navigateTo( context, "/category/error/404", - transition: TransitionType.inFromRight); + transition: TransitionType.native); }, index: addI, totalCount: length, diff --git a/lib/views/collection_page/collection_full_page.dart b/lib/views/collection_page/collection_full_page.dart index b0f8c5de..29be26e3 100644 --- a/lib/views/collection_page/collection_full_page.dart +++ b/lib/views/collection_page/collection_full_page.dart @@ -115,7 +115,7 @@ class _CollectionFullPageState extends State { Icon(Icons.keyboard_arrow_right, color: Colors.grey, size: 30.0), onTap: () { Application.router.navigateTo(context, targetRouter.toLowerCase(), - transition: TransitionType.inFromRight); + transition: TransitionType.native); }, ), ); diff --git a/lib/views/home.dart b/lib/views/home.dart index 4865161f..e9babf7e 100644 --- a/lib/views/home.dart +++ b/lib/views/home.dart @@ -107,7 +107,7 @@ class _MyHomePageState extends State .add(SearchHistory(name: targetName, targetRouter: targetRouter)); print("searchHistoryList1 ${searchHistoryList.toString()}"); Application.router.navigateTo(context, targetRouter.toLowerCase(), - transition: TransitionType.inFromRight); + transition: TransitionType.native); } Widget buildSearchInput(BuildContext context) {