From ae2441295e06f8f7beb4c41cdeac866265224d26 Mon Sep 17 00:00:00 2001
From: PH2 <1293456824@qq.com>
Date: Sat, 14 Nov 2020 11:15:19 +0800
Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=95=86=E5=93=81=E5=88=86=E4=BA=AB?=
=?UTF-8?q?=202=E3=80=81Android=20=E6=9D=83=E9=99=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../android/app/src/main/AndroidManifest.xml | 26 ++++---------------
.../app/src/profile/AndroidManifest.xml | 22 +++++++++++++++-
.../goods_share_page/goods_share_page.dart | 7 ++---
3 files changed, 30 insertions(+), 25 deletions(-)
diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml
index 0c7c20b..242424a 100644
--- a/example/android/app/src/main/AndroidManifest.xml
+++ b/example/android/app/src/main/AndroidManifest.xml
@@ -3,26 +3,12 @@
xmlns:tools="http://schemas.android.com/tools"
package="cn.zhios.zhiying_base_widget_example">
-
-
-
-
-
-
-
-
-
-
-
-
+ android:resource="@style/NormalTheme" />
-
-
+
+
diff --git a/example/android/app/src/profile/AndroidManifest.xml b/example/android/app/src/profile/AndroidManifest.xml
index 12ae298..4df990e 100644
--- a/example/android/app/src/profile/AndroidManifest.xml
+++ b/example/android/app/src/profile/AndroidManifest.xml
@@ -3,5 +3,25 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/pages/goods_share_page/goods_share_page.dart b/lib/pages/goods_share_page/goods_share_page.dart
index 050bd96..cdf6dda 100644
--- a/lib/pages/goods_share_page/goods_share_page.dart
+++ b/lib/pages/goods_share_page/goods_share_page.dart
@@ -47,9 +47,10 @@ class _GoodsShareContainerState extends State<_GoodsShareContainer>
@override
void initState() {
- String d = widget.model['data'];
- Map data =
- Map.from(convert.jsonDecode(d));
+ // String d = widget.model['data'];
+ // Map data =
+ // Map.from(convert.jsonDecode(d));
+ Map data = widget.model;
Logger.debug(data['share_url_args'].toString());
_bloc = BlocProvider.of(context);
_bloc.loadData('taobao', data['share_url_args']);