Skip to content

Commit

Permalink
试探完成,准备搞线路详情页
Browse files Browse the repository at this point in the history
  • Loading branch information
imhansai committed Feb 25, 2019
1 parent 73c3757 commit f57321b
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 351 deletions.
22 changes: 22 additions & 0 deletions lib/ui/home/guide.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import 'package:flutter/material.dart';

class Guide extends StatefulWidget {
@override
_GuideState createState() => _GuideState();
}

class _GuideState extends State<Guide> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("导乘"),
),
body: Container(
child: Center(
child: Text("导乘"),
),
),
);
}
}
6 changes: 2 additions & 4 deletions lib/ui/home/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import 'package:weifangbus/entity/home/all_route_data_entity.dart';
import 'package:weifangbus/entity/home/headline_entity.dart';
import 'package:weifangbus/entity/home/startup_basic_info_entity.dart';
import 'package:weifangbus/entity_factory.dart';
import 'package:weifangbus/ui/home/guide.dart';
import 'package:weifangbus/ui/home/news_detail.dart';
import 'package:weifangbus/ui/home/news_list.dart';
import 'package:weifangbus/ui/home/search_demo.dart';
import 'package:weifangbus/ui/home/search_input.dart';
import 'package:weifangbus/utils/dioUtil.dart';
import 'package:weifangbus/utils/fontUtil.dart';
Expand Down Expand Up @@ -114,9 +114,7 @@ class _HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin
context,
MaterialPageRoute(
builder: (BuildContext context) {
return SearchDemo(
title: "搜索示例",
);
return Guide();
},
),
);
Expand Down
136 changes: 0 additions & 136 deletions lib/ui/home/search_demo.dart

This file was deleted.

Loading

0 comments on commit f57321b

Please sign in to comment.