Showing
4 changed files
with
9 additions
and
5 deletions
| @@ -74,8 +74,10 @@ class _EnterStoreAddressPageState extends State<EnterStoreAddressPage> { | @@ -74,8 +74,10 @@ class _EnterStoreAddressPageState extends State<EnterStoreAddressPage> { | ||
| 74 | storeAddress = address['address']; | 74 | storeAddress = address['address']; |
| 75 | createStoreModel.storeInfo?.address = | 75 | createStoreModel.storeInfo?.address = |
| 76 | storeAddress; | 76 | storeAddress; |
| 77 | - createStoreModel.storeInfo?.lat = address['lat']; | ||
| 78 | - createStoreModel.storeInfo?.lng = address['lng']; | 77 | + createStoreModel.storeInfo?.lat = |
| 78 | + double.parse(address['lat'].toString()); | ||
| 79 | + createStoreModel.storeInfo?.lng = | ||
| 80 | + double.parse(address['lng'].toString()); | ||
| 79 | }); | 81 | }); |
| 80 | } | 82 | } |
| 81 | }, Permission.location); | 83 | }, Permission.location); |
| @@ -49,6 +49,7 @@ class _EnterStoreNamePageState extends State<EnterStoreNamePage> { | @@ -49,6 +49,7 @@ class _EnterStoreNamePageState extends State<EnterStoreNamePage> { | ||
| 49 | FocusScope.of(context).requestFocus(FocusNode()); //点击空白处隐藏键盘 | 49 | FocusScope.of(context).requestFocus(FocusNode()); //点击空白处隐藏键盘 |
| 50 | }, | 50 | }, |
| 51 | child: Container( | 51 | child: Container( |
| 52 | + color: Colors.white, | ||
| 52 | padding: EdgeInsets.symmetric( | 53 | padding: EdgeInsets.symmetric( |
| 53 | horizontal: ScreenUtil().setWidth(70), | 54 | horizontal: ScreenUtil().setWidth(70), |
| 54 | vertical: ScreenUtil().setWidth(60)), | 55 | vertical: ScreenUtil().setWidth(60)), |
| @@ -895,6 +895,7 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver { | @@ -895,6 +895,7 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver { | ||
| 895 | fontWeight: FontWeight.bold, | 895 | fontWeight: FontWeight.bold, |
| 896 | fontSize: ScreenUtil().setSp(26), | 896 | fontSize: ScreenUtil().setSp(26), |
| 897 | decoration: TextDecoration.underline))), | 897 | decoration: TextDecoration.underline))), |
| 898 | + VEmptyView(30), | ||
| 898 | ], | 899 | ], |
| 899 | ), | 900 | ), |
| 900 | ), | 901 | ), |
| @@ -185,9 +185,9 @@ class _BaseInfoPageState extends State<BaseInfoPage> { | @@ -185,9 +185,9 @@ class _BaseInfoPageState extends State<BaseInfoPage> { | ||
| 185 | if (isSelect) { | 185 | if (isSelect) { |
| 186 | params['wechat'] = phoneTemp; | 186 | params['wechat'] = phoneTemp; |
| 187 | } else { | 187 | } else { |
| 188 | - if (_wechatController.text.trim().length > 0) { | ||
| 189 | - params['wechat'] = _wechatController.text; | ||
| 190 | - } | 188 | + // if (_wechatController.text.trim().length > 0) { |
| 189 | + params['wechat'] = _wechatController.text; | ||
| 190 | + // } | ||
| 191 | } | 191 | } |
| 192 | 192 | ||
| 193 | if (_uploadImageProvider.erweima.qiniuUrl != null && | 193 | if (_uploadImageProvider.erweima.qiniuUrl != null && |
-
Please register or login to post a comment