Browse Source

safety

master
fmk 3 years ago
parent
commit
2084910d99
  1. 1
      android/app/build.gradle
  2. BIN
      android/app/libs/BaiduLBS_Android.jar
  3. BIN
      android/app/libs/arm64-v8a/libAMapSDK_MAP_v7_9_1.so
  4. BIN
      android/app/libs/armeabi-v7a/libAMapSDK_MAP_v7_9_1.so
  5. 5
      lib/home/home_page.dart
  6. 2
      lib/utils/location.dart

1
android/app/build.gradle

@ -111,7 +111,6 @@ android {
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()
versionName flutterVersionName versionName flutterVersionName
ndk { ndk {
/// .so /// .so
abiFilters 'armeabi-v7a', 'arm64-v8a' abiFilters 'armeabi-v7a', 'arm64-v8a'

BIN
android/app/libs/BaiduLBS_Android.jar

Binary file not shown.

BIN
android/app/libs/arm64-v8a/libAMapSDK_MAP_v7_9_1.so

Binary file not shown.

BIN
android/app/libs/armeabi-v7a/libAMapSDK_MAP_v7_9_1.so

Binary file not shown.

5
lib/home/home_page.dart

@ -592,7 +592,7 @@ class _HomePage extends State<HomePage> with AutomaticKeepAliveClientMixin {
style: TextStyle( style: TextStyle(
color: Color(0xFF727272), color: Color(0xFF727272),
fontSize: 12.sp, fontSize: 12.sp,
fontWeight: MyFontWeight.regular), fontWeight: MyFontWeight.regular,),
), ),
], ],
), ),
@ -607,6 +607,7 @@ class _HomePage extends State<HomePage> with AutomaticKeepAliveClientMixin {
physics: BouncingScrollPhysics(), physics: BouncingScrollPhysics(),
viewportFraction: 0.32, viewportFraction: 0.32,
scale: 0.7, scale: 0.7,
loop: true,
itemBuilder: (context, position) { itemBuilder: (context, position) {
return Container( return Container(
// height: 60.h, // height: 60.h,
@ -634,7 +635,7 @@ class _HomePage extends State<HomePage> with AutomaticKeepAliveClientMixin {
); );
}, },
itemCount: itemCount:
(brandData != null && brandData.length > 0) ? brandData.length : 0, (brandData != null && brandData.length > 0) ? brandData.length : 1,
), ),
// child: ListView.builder( // child: ListView.builder(
// padding: EdgeInsets.only(left: 10.w, right: 10.w), // padding: EdgeInsets.only(left: 10.w, right: 10.w),

2
lib/utils/location.dart

@ -88,7 +88,7 @@ class Location {
S.of(context).weilexiangnintuijianfujindemendianxinxi, S.of(context).weilexiangnintuijianfujindemendianxinxi,
S.of(context).dakaidingwei, S.of(context).dakaidingwei,
(result) async { (result) async {
if (result) { if(result) {
final AndroidIntent intent = AndroidIntent( final AndroidIntent intent = AndroidIntent(
action: 'action_location_source_settings', action: 'action_location_source_settings',
package: "com.zsw.huixiang"); package: "com.zsw.huixiang");

Loading…
Cancel
Save