Commit 7049c596 authored by Alex朱枝文's avatar Alex朱枝文

解决约束冲突警告

parent 88520441
......@@ -114,24 +114,24 @@ extension YHGalaxyManagerTipsItemView {
segmentationView.snp.makeConstraints { make in
make.left.equalTo(lableGalaxyMgr.snp.right).offset(8)
make.height.equalTo(10)
make.width.equalTo(1)
make.width.equalTo(1).priority(.high)
make.centerY.equalToSuperview()
}
rightIconImageV.snp.makeConstraints { make in
make.right.equalTo(-12)
make.centerY.equalToSuperview()
make.width.height.equalTo(12)
make.width.height.equalTo(12).priority(.high)
}
dotView.snp.makeConstraints { make in
make.width.height.equalTo(dotWidth)
make.width.height.equalTo(dotWidth).priority(.high)
make.right.equalTo(rightIconImageV.snp.left).offset(-12)
make.centerY.equalToSuperview()
}
lableMessage.snp.makeConstraints { make in
make.left.equalTo(segmentationView.snp.right).offset(8)
make.left.equalTo(segmentationView.snp.right).offset(8).priority(.high)
make.height.equalTo(18)
make.centerY.equalToSuperview()
make.right.lessThanOrEqualTo(dotView.snp.left).offset(-12)
......
......@@ -200,7 +200,7 @@ extension YHOrderTipsItemView {
}
segmentationView.snp.makeConstraints { make in
make.left.equalTo(lableMyOrder.snp.right).offset(8)
make.left.equalTo(lableMyOrder.snp.right).offset(8).priority(.high)
make.height.equalTo(10)
make.width.equalTo(1)
make.centerY.equalToSuperview()
......
......@@ -271,13 +271,13 @@ private extension YHOrderTipsView {
iconImageV.snp.makeConstraints { make in
make.top.equalTo(20)
make.left.equalTo(kMargin)
make.width.height.equalTo(44)
make.width.height.equalTo(44).priority(.high)
}
addSubview(lableTip)
lableTip.snp.makeConstraints { make in
make.top.equalToSuperview().offset(21)
make.left.equalTo(iconImageV.snp.right).offset(12)
make.left.equalTo(iconImageV.snp.right).offset(12).priority(.high)
make.right.lessThanOrEqualToSuperview().offset(-12)
}
......
......@@ -96,7 +96,7 @@ extension YHHKRecordsRemarkCell {
make.left.equalToSuperview().offset(12)
make.right.equalToSuperview().offset(-12)
make.top.equalToSuperview().offset(10)
make.bottom.equalToSuperview().offset(-10)
make.bottom.equalToSuperview().offset(-10).priority(.high)
}
editTipsLabel.snp.makeConstraints { make in
......
......@@ -58,7 +58,7 @@ class YHVisaRenewalResidenceActionCell: YHResignDocumentCell {
infoTitleLabel.snp.remakeConstraints { make in
make.left.equalToSuperview().offset(18)
make.top.equalToSuperview().offset(16)
make.bottom.equalToSuperview().offset(-bottomMargin)
make.bottom.equalToSuperview().offset(-bottomMargin).priority(.high)
}
}
}
......@@ -80,7 +80,7 @@ extension YHVisaRenewalResidenceActionCell {
infoTitleLabel.snp.makeConstraints { make in
make.left.equalToSuperview().offset(18)
make.top.equalToSuperview().offset(16)
make.bottom.equalToSuperview().offset(-16)
make.bottom.equalToSuperview().offset(-16).priority(.high)
}
rightButton.snp.makeConstraints { make in
......
......@@ -262,7 +262,7 @@ extension YHResignDocumentStatusCell {
leftLineView.snp.remakeConstraints { make in
make.left.equalTo(leftButton.snp.right)
make.height.equalTo(16)
make.width.equalTo(0.5)
make.width.equalTo(0.5).priority(.high)
make.centerY.equalToSuperview()
}
midButton.snp.remakeConstraints { make in
......@@ -309,7 +309,7 @@ extension YHResignDocumentStatusCell {
leftLineView.snp.remakeConstraints { make in
make.left.equalTo(leftButton.snp.right)
make.height.equalTo(16)
make.width.equalTo(0.5)
make.width.equalTo(0.5).priority(.high)
make.centerY.equalToSuperview()
}
......@@ -322,7 +322,7 @@ extension YHResignDocumentStatusCell {
rightLineView.snp.remakeConstraints { make in
make.left.equalTo(midButton.snp.right)
make.height.equalTo(16)
make.width.equalTo(0.5)
make.width.equalTo(0.5).priority(.high)
make.centerY.equalToSuperview()
}
......@@ -369,7 +369,7 @@ extension YHResignDocumentStatusCell {
leftLineView.snp.remakeConstraints { make in
make.left.equalTo(leftButton.snp.right)
make.height.equalTo(16)
make.width.equalTo(0.5)
make.width.equalTo(0.5).priority(.high)
make.centerY.equalToSuperview()
}
......@@ -382,7 +382,7 @@ extension YHResignDocumentStatusCell {
rightLineView.snp.remakeConstraints { make in
make.left.equalTo(midButton.snp.right)
make.height.equalTo(16)
make.width.equalTo(0.5)
make.width.equalTo(0.5).priority(.high)
make.centerY.equalToSuperview()
}
......@@ -395,7 +395,7 @@ extension YHResignDocumentStatusCell {
farRightLineView.snp.remakeConstraints { make in
make.left.equalTo(rightButton.snp.right)
make.height.equalTo(16)
make.width.equalTo(0.5)
make.width.equalTo(0.5).priority(.high)
make.centerY.equalToSuperview()
}
......@@ -446,7 +446,7 @@ extension YHResignDocumentStatusCell {
fileIconView.snp.makeConstraints { make in
make.left.equalToSuperview().offset(6)
make.centerY.equalToSuperview()
make.width.height.equalTo(31)
make.width.height.equalTo(31).priority(.high)
}
fileNameLabel.snp.makeConstraints { make in
......@@ -478,7 +478,7 @@ extension YHResignDocumentStatusCell {
leftLineView.snp.makeConstraints { make in
make.left.equalTo(leftButton.snp.right)
make.height.equalTo(16)
make.width.equalTo(0.5)
make.width.equalTo(0.5).priority(.high)
make.centerY.equalToSuperview()
}
......@@ -491,7 +491,7 @@ extension YHResignDocumentStatusCell {
rightLineView.snp.makeConstraints { make in
make.left.equalTo(midButton.snp.right)
make.height.equalTo(16)
make.width.equalTo(0.5)
make.width.equalTo(0.5).priority(.high)
make.centerY.equalToSuperview()
}
......@@ -504,7 +504,7 @@ extension YHResignDocumentStatusCell {
farRightLineView.snp.makeConstraints { make in
make.left.equalTo(rightButton.snp.right)
make.height.equalTo(16)
make.width.equalTo(0.5)
make.width.equalTo(0.5).priority(.high)
make.centerY.equalToSuperview()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment