Skip to content

Commit

Permalink
docs: 完善文档
Browse files Browse the repository at this point in the history
  • Loading branch information
wkl007 committed Jun 15, 2021
1 parent 04ed969 commit db400e1
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 9 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 wkl

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
48 changes: 39 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,46 @@
# flutter_trip

Flutter 仿携程网App
[慕课网仿携程网App](https://coding.imooc.com/class/321.html) ,基于`Flutter`支持`Android``iOS`平台。

## Getting Started
## 目录

This project is a starting point for a Flutter application.
- [下载](#下载)
- [真机预览](#真机预览)
- [功能与特性](#功能与特性)
- [插件使用](#插件使用)
- [运行调试](#运行调试)

A few resources to get you started if this is your first Flutter project:
## 下载

- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
![Flutter_Trip](https://apk-1256738511.cos.ap-chengdu.myqcloud.com/FlutterTrip/images/flutter_trip_qr_code.png)

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
## 真机预览

![Flutter_Trip](https://apk-1256738511.cos.ap-chengdu.myqcloud.com/FlutterTrip/images/flutter_trip_preview.png)

## 功能与特性

- 实现首页、搜索、旅拍、我的四大模块;
- 实现网络图片本地缓存;
- 旅拍模块实现瀑布流布局;
- 接口数据抓取携程`H5`端;
- 集成友盟数据统计;

## 插件使用

- [azlistview ^2.0.0-nullsafety.0](https://pub.flutter-io.cn/packages/azlistview)
- [cached_network_image ^3.0.0](https://pub.flutter-io.cn/packages/cached_network_image)
- [dio ^4.0.0](https://pub.flutter-io.cn/packages/dio)
- [flutter_card_swipper ^0.4.0](https://pub.flutter-io.cn/packages/flutter_card_swipper)
- [flutter_staggered_grid_view ^0.4.0](https://pub.flutter-io.cn/packages/flutter_staggered_grid_view)
- [fluttertoast ^8.0.7](https://pub.flutter-io.cn/packages/fluttertoast)
- [webview_flutter ^2.0.8](https://pub.flutter-io.cn/packages/webview_flutter)
- [umeng_common_sdk ^1.1.3](https://pub.flutter-io.cn/packages/umeng_common_sdk)

## 运行调试

1. 准备Flutter环境,可参考: [getting-started](<https://flutter-io.cn/docs/get-started/install>)
2. Clone [flutter_trip](https://github.com/wkl007/flutter_trip.git) ,然后终端进入项目根目录。
3. 终端运行 `flutter packages get`
4. 然后运行 `flutter run`
5. 打包运行 `flutter build apk`

0 comments on commit db400e1

Please sign in to comment.