|
...
|
...
|
@@ -191,32 +191,34 @@ class _IfNeedCreateStoreState extends State<IfNeedCreateStore> |
|
|
|
_baseIndoProvider = Provider.of<BaseIndoProvider>(context, listen: true);
|
|
|
|
return Scaffold(
|
|
|
|
backgroundColor: Colors.white,
|
|
|
|
appBar: SystemAppBar('选择店铺',
|
|
|
|
// leftTitle: '上一步',
|
|
|
|
appBar: SystemAppBar(
|
|
|
|
'选择店铺',
|
|
|
|
// leftTitle: '上一步',
|
|
|
|
|
|
|
|
rightImgName: 'add_check_store.png', onTapRight: () {
|
|
|
|
if (otherLoginProvider.pageState != PageState.Success) {
|
|
|
|
// if (!App.sp.containsKey('openid') ||
|
|
|
|
// App.sp.get("openid") == null ||
|
|
|
|
// App.sp.get("openid") == '') {
|
|
|
|
//跳转小程序
|
|
|
|
Utils.goMiniProgramCreatePage(context);
|
|
|
|
// } else {
|
|
|
|
// //跳转至新建店铺流程
|
|
|
|
// NavigatorUtil.goEnterStoreNamePage(context);
|
|
|
|
// }
|
|
|
|
} else {
|
|
|
|
// if (!App.sp.containsKey('openid') ||
|
|
|
|
// App.sp.get("openid") == null ||
|
|
|
|
// App.sp.get("openid") == '') {
|
|
|
|
// //跳转小程序
|
|
|
|
// Utils.goMiniProgramCreatePage(context);
|
|
|
|
// } else {
|
|
|
|
//跳转至新建店铺流程
|
|
|
|
NavigatorUtil.goEnterStoreNamePage(context);
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}),
|
|
|
|
// rightImgName: 'add_check_store.png', onTapRight: () {
|
|
|
|
// if (otherLoginProvider.pageState != PageState.Success) {
|
|
|
|
// // if (!App.sp.containsKey('openid') ||
|
|
|
|
// // App.sp.get("openid") == null ||
|
|
|
|
// // App.sp.get("openid") == '') {
|
|
|
|
// //跳转小程序
|
|
|
|
// Utils.goMiniProgramCreatePage(context);
|
|
|
|
// // } else {
|
|
|
|
// // //跳转至新建店铺流程
|
|
|
|
// // NavigatorUtil.goEnterStoreNamePage(context);
|
|
|
|
// // }
|
|
|
|
// } else {
|
|
|
|
// // if (!App.sp.containsKey('openid') ||
|
|
|
|
// // App.sp.get("openid") == null ||
|
|
|
|
// // App.sp.get("openid") == '') {
|
|
|
|
// // //跳转小程序
|
|
|
|
// // Utils.goMiniProgramCreatePage(context);
|
|
|
|
// // } else {
|
|
|
|
// //跳转至新建店铺流程
|
|
|
|
// NavigatorUtil.goEnterStoreNamePage(context);
|
|
|
|
// // }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
),
|
|
|
|
body: Container(
|
|
|
|
// margin: EdgeInsets.only(bottom: ScreenUtil().setWidth(40)),
|
|
|
|
padding:
|
|
...
|
...
|
@@ -279,15 +281,19 @@ class _IfNeedCreateStoreState extends State<IfNeedCreateStore> |
|
|
|
// )),
|
|
|
|
// ]));
|
|
|
|
// }
|
|
|
|
return ExceptionPage(
|
|
|
|
pageState: model.pageState,
|
|
|
|
callback: () {
|
|
|
|
_checkSellerAcc(showLoading: true);
|
|
|
|
},
|
|
|
|
emptyMsg: "您还没有绑定任何店铺",
|
|
|
|
emptyImg: "empty_search",
|
|
|
|
showMsg: "加载中,请稍后...",
|
|
|
|
);
|
|
|
|
return InkWell(
|
|
|
|
onTap: () {
|
|
|
|
Utils.goPhone("400-000-9690");
|
|
|
|
},
|
|
|
|
child: ExceptionPage(
|
|
|
|
pageState: model.pageState,
|
|
|
|
callback: () {
|
|
|
|
_checkSellerAcc(showLoading: true);
|
|
|
|
},
|
|
|
|
emptyMsg: "您还没有绑定任何店铺,请与400 000 9690 联系。",
|
|
|
|
emptyImg: "empty_search",
|
|
|
|
showMsg: "加载中,请稍后...",
|
|
|
|
));
|
|
|
|
} else {
|
|
|
|
return
|
|
|
|
// VEmptyView(40),
|
...
|
...
|
|