|
@@ -149,7 +149,7 @@ class MVLoginController: MVBaseController {
|
|
|
// make.width.equalTo(cDefaultMargin * 13)
|
|
|
make.height.equalTo(cDefaultMargin * 4)
|
|
|
make.centerX.equalTo(IconView)
|
|
|
- make.top.equalTo(IconView.snp_bottom).offset(cDefaultMargin * 4)
|
|
|
+ make.top.equalTo(IconView.snp.bottom).offset(cDefaultMargin * 4)
|
|
|
}
|
|
|
let isInstallWX = PQSingletoWXApiUtil.shared.isInstallWX()
|
|
|
|
|
@@ -159,24 +159,24 @@ class MVLoginController: MVBaseController {
|
|
|
loginBtn.snp.makeConstraints { make in
|
|
|
make.centerX.equalToSuperview()
|
|
|
make.height.width.equalTo(nomalH)
|
|
|
- make.bottom.equalTo(protocolLab.snp_top).offset(-cDefaultMargin * 3)
|
|
|
+ make.bottom.equalTo(protocolLab.snp.top).offset(-cDefaultMargin * 3)
|
|
|
}
|
|
|
phoneLoginBtn.snp.makeConstraints { make in
|
|
|
- make.left.equalTo(loginBtn.snp_right).offset(cDefaultMargin * 4)
|
|
|
+ make.left.equalTo(loginBtn.snp.right).offset(cDefaultMargin * 4)
|
|
|
make.height.centerY.width.equalTo(loginBtn)
|
|
|
}
|
|
|
appleSignBtn.snp.makeConstraints { make in
|
|
|
- make.right.equalTo(loginBtn.snp_left).offset(-cDefaultMargin * 4)
|
|
|
+ make.right.equalTo(loginBtn.snp.left).offset(-cDefaultMargin * 4)
|
|
|
make.height.centerY.width.equalTo(loginBtn)
|
|
|
}
|
|
|
} else {
|
|
|
appleSignBtn.snp.makeConstraints { make in
|
|
|
make.centerX.equalToSuperview().offset(-35)
|
|
|
make.height.width.equalTo(nomalH)
|
|
|
- make.bottom.equalTo(protocolLab.snp_top).offset(-cDefaultMargin * 3)
|
|
|
+ make.bottom.equalTo(protocolLab.snp.top).offset(-cDefaultMargin * 3)
|
|
|
}
|
|
|
phoneLoginBtn.snp.makeConstraints { make in
|
|
|
- make.left.equalTo(appleSignBtn.snp_right).offset(cDefaultMargin * 4)
|
|
|
+ make.left.equalTo(appleSignBtn.snp.right).offset(cDefaultMargin * 4)
|
|
|
make.height.centerY.width.equalTo(appleSignBtn)
|
|
|
}
|
|
|
}
|
|
@@ -185,18 +185,18 @@ class MVLoginController: MVBaseController {
|
|
|
loginBtn.snp.makeConstraints { make in
|
|
|
make.left.right.equalTo(protocolLab)
|
|
|
make.height.equalTo(nomalH)
|
|
|
- make.bottom.equalTo(protocolLab.snp_top).offset(-cDefaultMargin * 3)
|
|
|
+ make.bottom.equalTo(protocolLab.snp.top).offset(-cDefaultMargin * 3)
|
|
|
}
|
|
|
phoneLoginBtn.snp.makeConstraints { make in
|
|
|
make.left.right.equalTo(protocolLab)
|
|
|
make.height.equalTo(nomalH)
|
|
|
- make.bottom.equalTo(loginBtn.snp_top).offset(-cDefaultMargin)
|
|
|
+ make.bottom.equalTo(loginBtn.snp.top).offset(-cDefaultMargin)
|
|
|
}
|
|
|
} else {
|
|
|
phoneLoginBtn.snp.makeConstraints { make in
|
|
|
make.left.right.equalTo(protocolLab)
|
|
|
make.height.equalTo(nomalH)
|
|
|
- make.bottom.equalTo(protocolLab.snp_top).offset(-cDefaultMargin * 3)
|
|
|
+ make.bottom.equalTo(protocolLab.snp.top).offset(-cDefaultMargin * 3)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -205,7 +205,7 @@ class MVLoginController: MVBaseController {
|
|
|
loginBtn.snp.makeConstraints { make in
|
|
|
make.left.right.equalTo(protocolLab)
|
|
|
make.height.equalTo(nomalH)
|
|
|
- make.bottom.equalTo(protocolLab.snp_top).offset(-cDefaultMargin * 3)
|
|
|
+ make.bottom.equalTo(protocolLab.snp.top).offset(-cDefaultMargin * 3)
|
|
|
}
|
|
|
}
|
|
|
}
|