@@ -112,9 +112,9 @@ android { | |||||
// 智夜生活 | // 智夜生活 | ||||
zhiying { | zhiying { | ||||
applicationId "cn.zhios.zhiying" | applicationId "cn.zhios.zhiying" | ||||
versionCode 26 | |||||
versionCode 27 | |||||
dimension "app" | dimension "app" | ||||
versionName '1.2.26' | |||||
versionName '1.2.27' | |||||
// 签名信息 | // 签名信息 | ||||
signingConfig signingConfigs.zhiying | signingConfig signingConfigs.zhiying | ||||
} | } | ||||
@@ -139,7 +139,7 @@ public class MainActivity extends FlutterActivity implements ZhiyingFlutterCommN | |||||
Map map = new HashMap(); | Map map = new HashMap(); | ||||
map.put("domain", "http://inapi.izhyin.cn/"); //"http://120.76.175.204:8989"); | map.put("domain", "http://inapi.izhyin.cn/"); //"http://120.76.175.204:8989"); | ||||
// map.put("domain", "http://192.168.0.113:5000"); | // 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("secret_key", "123456"); | ||||
// map.put("token", "123465"); | // map.put("token", "123465"); | ||||
return map; | return map; | ||||
@@ -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; | return null; | ||||
} | } | ||||