更新
This commit is contained in:
@@ -825,9 +825,33 @@ class _OtherLoginPageState extends State<OtherLoginPage> {
|
||||
highlightColor: Colors.grey, // 点击水波纹颜色
|
||||
borderRadius: 999.rpx,
|
||||
padding: EdgeInsets.zero,
|
||||
onTap: () {
|
||||
TopSlideNotification.show(context,
|
||||
text: "待开发功能".tr);
|
||||
onTap: () async {
|
||||
//loginController.model.isIos == true &&
|
||||
if (loginController
|
||||
.model.isWeChatNotInstalled !=
|
||||
true) {
|
||||
TopSlideNotification.show(context,
|
||||
text: "微信安装提示".tr,
|
||||
textColor:
|
||||
themeController.currentColor.sc9);
|
||||
} else {
|
||||
if (loginController
|
||||
.model.register_agree ==
|
||||
null ||
|
||||
loginController
|
||||
.model.register_agree !=
|
||||
true) {
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: "登录页.未同意协议".tr,
|
||||
textColor:
|
||||
themeController.currentColor.sc9,
|
||||
);
|
||||
return;
|
||||
}
|
||||
await loginController
|
||||
.wxLoginSendAuth(context);
|
||||
}
|
||||
},
|
||||
child: Container(
|
||||
width: 91.rpx,
|
||||
|
||||
Reference in New Issue
Block a user