|
@@ -7,6 +7,7 @@ import 'package:zhiying_comm/util/turn_chain/turn_chain_util.dart'; |
|
|
import 'package:zhiying_base_widget/dialog/global_dialog/intellect_search_goods_dialog/model/has_goods_dialog_style_model.dart'; |
|
|
import 'package:zhiying_base_widget/dialog/global_dialog/intellect_search_goods_dialog/model/has_goods_dialog_style_model.dart'; |
|
|
import 'package:zhiying_base_widget/dialog/global_dialog/intellect_search_goods_dialog/model/intellect_dialog_data_model.dart'; |
|
|
import 'package:zhiying_base_widget/dialog/global_dialog/intellect_search_goods_dialog/model/intellect_dialog_data_model.dart'; |
|
|
import 'package:zhiying_comm/zhiying_comm.dart'; |
|
|
import 'package:zhiying_comm/zhiying_comm.dart'; |
|
|
|
|
|
import 'package:zhiying_comm/util/pdd_auth/pdd_auth.dart'; |
|
|
|
|
|
|
|
|
class IntellectSearchGoodsDialog extends StatefulWidget { |
|
|
class IntellectSearchGoodsDialog extends StatefulWidget { |
|
|
final IntellectDialogDataModel model; |
|
|
final IntellectDialogDataModel model; |
|
@@ -387,7 +388,14 @@ class _IntellectSearchGoodsDialogState |
|
|
Navigator.pop(context); |
|
|
Navigator.pop(context); |
|
|
} |
|
|
} |
|
|
if (!isAuth) return; |
|
|
if (!isAuth) return; |
|
|
}else{ |
|
|
|
|
|
|
|
|
} else if (tempProvider == GlobalConfig.PROVIDER_PDD) { /// 拼多多 |
|
|
|
|
|
bool isNeedAuth = await PddAuth.auth(context, isShare: '0'); |
|
|
|
|
|
///关闭弹窗 |
|
|
|
|
|
if (Navigator.canPop(context)) { |
|
|
|
|
|
Navigator.pop(context); |
|
|
|
|
|
} |
|
|
|
|
|
if (isNeedAuth) return; |
|
|
|
|
|
} else{ |
|
|
///关闭弹窗 |
|
|
///关闭弹窗 |
|
|
if (Navigator.canPop(context)) { |
|
|
if (Navigator.canPop(context)) { |
|
|
Navigator.pop(context); |
|
|
Navigator.pop(context); |
|
|