|
@@ -148,25 +148,25 @@ open class PQRemindView: UIView {
|
|
|
make.top.equalTo(contentView).offset(cDefaultMargin * 2)
|
|
|
}
|
|
|
contentLab.snp.makeConstraints { make in
|
|
|
- make.top.equalTo(titleLab.snp_bottom).offset(summH > 0 ? cDefaultMargin : 0)
|
|
|
+ make.top.equalTo(titleLab.snp.bottom).offset(summH > 0 ? cDefaultMargin : 0)
|
|
|
make.left.right.equalTo(titleLab)
|
|
|
make.height.equalTo(summH)
|
|
|
}
|
|
|
if isBanned {
|
|
|
let btnW: CGFloat = (cScreenWidth - 1 - cDefaultMargin * 8) / 2
|
|
|
verticalLine.snp.makeConstraints { make in
|
|
|
- make.top.equalTo(contentLab.snp_bottom).offset(cDefaultMargin)
|
|
|
+ make.top.equalTo(contentLab.snp.bottom).offset(cDefaultMargin)
|
|
|
make.height.equalTo(1)
|
|
|
make.left.width.equalToSuperview()
|
|
|
}
|
|
|
cancelBtn.snp.makeConstraints { make in
|
|
|
make.left.equalToSuperview()
|
|
|
- make.top.equalTo(verticalLine.snp_bottom)
|
|
|
+ make.top.equalTo(verticalLine.snp.bottom)
|
|
|
make.width.equalTo(btnW)
|
|
|
make.bottom.equalTo(contentView)
|
|
|
}
|
|
|
horizonLine.snp.makeConstraints { make in
|
|
|
- make.left.equalTo(cancelBtn.snp_right)
|
|
|
+ make.left.equalTo(cancelBtn.snp.right)
|
|
|
make.height.top.equalTo(cancelBtn)
|
|
|
make.width.equalTo(1)
|
|
|
}
|
|
@@ -182,7 +182,7 @@ open class PQRemindView: UIView {
|
|
|
make.bottom.equalTo(contentView).offset(-cDefaultMargin)
|
|
|
}
|
|
|
cancelBtn.snp.makeConstraints { make in
|
|
|
- make.right.equalTo(confirmBtn.snp_left).offset(-cDefaultMargin)
|
|
|
+ make.right.equalTo(confirmBtn.snp.left).offset(-cDefaultMargin)
|
|
|
make.height.equalTo(cDefaultMargin * 4)
|
|
|
make.width.equalTo(cDefaultMargin * 6)
|
|
|
make.bottom.equalTo(confirmBtn)
|
|
@@ -373,7 +373,7 @@ extension PQEmptyRemindView {
|
|
|
}
|
|
|
// shimmeringView.snp.makeConstraints { make in
|
|
|
// make.left.right.equalTo(self)
|
|
|
-// make.top.equalTo(imageView.snp_bottom).offset(cDefaultMargin)
|
|
|
+// make.top.equalTo(imageView.snp.bottom).offset(cDefaultMargin)
|
|
|
// }
|
|
|
remindLab.snp.remakeConstraints { make in
|
|
|
make.left.right.equalToSuperview()
|
|
@@ -458,25 +458,25 @@ public class PQUploadRemindView: PQRemindView {
|
|
|
make.top.equalTo(contentView).offset(titleH == 0 ? 0 : cDefaultMargin * 2)
|
|
|
}
|
|
|
contentLab.snp.makeConstraints { make in
|
|
|
- make.top.equalTo(titleLab.snp_bottom).offset(cDefaultMargin)
|
|
|
+ make.top.equalTo(titleLab.snp.bottom).offset(cDefaultMargin)
|
|
|
make.left.right.equalTo(titleLab)
|
|
|
make.height.equalTo(summH)
|
|
|
}
|
|
|
if canMoreOpration {
|
|
|
let btnW: CGFloat = (cScreenWidth - 1 - cDefaultMargin * 8) / 2
|
|
|
verticalLine.snp.makeConstraints { make in
|
|
|
- make.top.equalTo(contentLab.snp_bottom).offset(cDefaultMargin)
|
|
|
+ make.top.equalTo(contentLab.snp.bottom).offset(cDefaultMargin)
|
|
|
make.height.equalTo(1)
|
|
|
make.left.width.equalToSuperview()
|
|
|
}
|
|
|
cancelBtn.snp.makeConstraints { make in
|
|
|
make.left.equalToSuperview()
|
|
|
- make.top.equalTo(verticalLine.snp_bottom)
|
|
|
+ make.top.equalTo(verticalLine.snp.bottom)
|
|
|
make.width.equalTo(btnW)
|
|
|
make.bottom.equalTo(contentView)
|
|
|
}
|
|
|
horizonLine.snp.makeConstraints { make in
|
|
|
- make.left.equalTo(cancelBtn.snp_right)
|
|
|
+ make.left.equalTo(cancelBtn.snp.right)
|
|
|
make.height.top.equalTo(cancelBtn)
|
|
|
make.width.equalTo(1)
|
|
|
}
|
|
@@ -486,13 +486,13 @@ public class PQUploadRemindView: PQRemindView {
|
|
|
}
|
|
|
} else {
|
|
|
verticalLine.snp.makeConstraints { make in
|
|
|
- make.top.equalTo(contentLab.snp_bottom).offset(cDefaultMargin)
|
|
|
+ make.top.equalTo(contentLab.snp.bottom).offset(cDefaultMargin)
|
|
|
make.height.equalTo(1)
|
|
|
make.left.width.equalToSuperview()
|
|
|
}
|
|
|
confirmBtn.snp.makeConstraints { make in
|
|
|
make.right.left.equalTo(titleLab)
|
|
|
- make.top.equalTo(verticalLine.snp_bottom)
|
|
|
+ make.top.equalTo(verticalLine.snp.bottom)
|
|
|
make.bottom.equalTo(contentView)
|
|
|
}
|
|
|
}
|