diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index c639228..a3259a1 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -112,9 +112,9 @@ android { // 智夜生活 zhiying { applicationId "cn.zhios.zhiying" - versionCode 26 + versionCode 27 dimension "app" - versionName '1.2.26' + versionName '1.2.27' // 签名信息 signingConfig signingConfigs.zhiying } diff --git a/example/android/app/src/main/java/cn/zhios/zhiying_base_widget_example/MainActivity.java b/example/android/app/src/main/java/cn/zhios/zhiying_base_widget_example/MainActivity.java index 669d551..76da23f 100644 --- a/example/android/app/src/main/java/cn/zhios/zhiying_base_widget_example/MainActivity.java +++ b/example/android/app/src/main/java/cn/zhios/zhiying_base_widget_example/MainActivity.java @@ -139,7 +139,7 @@ public class MainActivity extends FlutterActivity implements ZhiyingFlutterCommN Map map = new HashMap(); map.put("domain", "http://inapi.izhyin.cn/"); //"http://120.76.175.204:8989"); // map.put("domain", "http://192.168.0.113:5000"); - map.put("master_id", "963258"); + map.put("master_id", "123456"); map.put("secret_key", "123456"); // map.put("token", "123465"); return map; diff --git a/lib/pages/main_page/main_page.dart b/lib/pages/main_page/main_page.dart index ea29bdd..3e813ff 100644 --- a/lib/pages/main_page/main_page.dart +++ b/lib/pages/main_page/main_page.dart @@ -198,6 +198,20 @@ class _MainPageContainerState extends State<_MainPageContainer> { ), ); } + if (item.modName == "member_info") { + final double statusBarHeight = MediaQuery.of(context).padding.top; + String url=json.decode(item.data)['bg_image']; + String bgColor=json.decode(item.data)['bg_color']; + return Container( + width: double.infinity, + height: statusBarHeight + 250, + color: HexColor.fromHex(bgColor??""), + child: CachedNetworkImage( + imageUrl: url??"", + fit: BoxFit.fitHeight, + ), + ); + } } return null; }