From acfe81b5d143b554e292c7652c344b87877f49e3 Mon Sep 17 00:00:00 2001 From: "sanfan.hx" Date: Sat, 15 Jun 2019 17:18:49 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=95=B4=E7=90=86demo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/api/api.dart | 3 ++- lib/standard_pages/.pages.json | 12 +++++++++++- .../.page.json | 2 +- lib/views/collection_page/collection_page.dart | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/lib/api/api.dart b/lib/api/api.dart index 4ed411f6..d1ad9f33 100644 --- a/lib/api/api.dart +++ b/lib/api/api.dart @@ -9,4 +9,5 @@ class Api{ static const String LOGOUT = BASE_URL+'logout';//退出登陆 static const String VERSION = BASE_URL+'getAppVersion';//检查版本 -} \ No newline at end of file +} + diff --git a/lib/standard_pages/.pages.json b/lib/standard_pages/.pages.json index a7b7d977..e5fdc536 100644 --- a/lib/standard_pages/.pages.json +++ b/lib/standard_pages/.pages.json @@ -1 +1,11 @@ -[{"name":"name","screenShot":"","author":"name","title":"id","email":"123","desc":"desc","id":"b9ca48de_32ae_4241_9c8a_5c9e1f92b096"},{"name":"standard","screenShot":"","author":"sanfan","title":"appTitle","email":"hanxu317@qq.com","desc":"desc","id":"ee4feb8e_32ae_4241_9c8a_5c9e1f92b096"}] \ No newline at end of file +[ + { + "name": "standard", + "screenShot": "", + "author": "sanfan", + "title": "介绍页", + "email": "hanxu317@qq.com", + "desc": "desc", + "id": "ee4feb8e_32ae_4241_9c8a_5c9e1f92b096" + } +] \ No newline at end of file diff --git a/lib/standard_pages/standard_sanfan_ee4feb8e_32ae_4241_9c8a_5c9e1f92b096/.page.json b/lib/standard_pages/standard_sanfan_ee4feb8e_32ae_4241_9c8a_5c9e1f92b096/.page.json index 29f206fe..1e6d54b7 100644 --- a/lib/standard_pages/standard_sanfan_ee4feb8e_32ae_4241_9c8a_5c9e1f92b096/.page.json +++ b/lib/standard_pages/standard_sanfan_ee4feb8e_32ae_4241_9c8a_5c9e1f92b096/.page.json @@ -2,7 +2,7 @@ "name": "standard", "screenShot": "", "author":"sanfan", - "title":"appTitle", + "title":"介绍页", "email": "hanxu317@qq.com", "desc": "desc", "id": "ee4feb8e_32ae_4241_9c8a_5c9e1f92b096" diff --git a/lib/views/collection_page/collection_page.dart b/lib/views/collection_page/collection_page.dart index 28e95c44..bb2389ba 100644 --- a/lib/views/collection_page/collection_page.dart +++ b/lib/views/collection_page/collection_page.dart @@ -48,7 +48,7 @@ class _CollectionPageState extends State { resultList.forEach((item) { _collectionList.add(item); }); - _collectionList.add(Collection(name:'test', router: '/standard-page/b9ca48de_32ae_4241_9c8a_5c9e1f92b096')); + _collectionList.add(Collection(name:'test', router: '/standard-page/ee4feb8e_32ae_4241_9c8a_5c9e1f92b096')); print("_collectionList ${_collectionList}"); if (this.mounted) { setState(() {