Commit 00f4af6b18e14b27f1dcf587f86c81df7a7ef133

Authored by wdn127929
1 parent 0b4687d1

退出登录按钮点击范围扩大

... ... @@ -61,7 +61,7 @@ class _IfNeedCreateStoreState extends State<IfNeedCreateStore>
void dispose() {
super.dispose();
WidgetsBinding.instance.removeObserver(this); //销毁观察者
EventBus().emit('refresh_store_list');
EventBus().off('refresh_store_list');
}
@override
... ... @@ -106,8 +106,8 @@ class _IfNeedCreateStoreState extends State<IfNeedCreateStore>
///获取是否有店
_checkSellerAcc({showLoading = false}) async {
CreateStoreModel createStoreModel =
Provider.of<CreateStoreModel>(context, listen: false);
// CreateStoreModel createStoreModel =
// Provider.of<CreateStoreModel>(context, listen: false);
Map<String, String> params = {
// "phone": createStoreModel.storeInfo.phone,
// "phone": '',
... ...
... ... @@ -276,7 +276,7 @@ class UserModel with ChangeNotifier {
VEmptyView(66),
MyDivider(double.infinity, ScreenUtil().setWidth(1)),
Container(
height: ScreenUtil().setWidth(94),
// height: ScreenUtil().setWidth(94),
child: Row(
children: <Widget>[
Expanded(
... ... @@ -284,13 +284,16 @@ class UserModel with ChangeNotifier {
onTap: () {
Navigator.of(context).pop();
},
child: Text(
"取消",
style: TextStyle(
fontSize: ScreenUtil().setSp(34),
color: MyColours.color_777777),
textAlign: TextAlign.center,
),
child: Container(
height: ScreenUtil().setWidth(94),
alignment: Alignment.center,
child: Text(
"取消",
style: TextStyle(
fontSize: ScreenUtil().setSp(34),
color: MyColours.color_777777),
textAlign: TextAlign.center,
)),
),
),
MyDivider(
... ... @@ -304,12 +307,16 @@ class UserModel with ChangeNotifier {
"account": user.account
});
},
child: Text(
"确定",
style: TextStyle(
fontSize: ScreenUtil().setSp(34),
color: MyColours.color_2bb5b7),
textAlign: TextAlign.center,
child: Container(
height: ScreenUtil().setWidth(94),
alignment: Alignment.center,
child: Text(
"确定",
style: TextStyle(
fontSize: ScreenUtil().setSp(34),
color: MyColours.color_2bb5b7),
textAlign: TextAlign.center,
),
),
),
)
... ...