修复任务提交与弹窗交互问题
This commit is contained in:
@ -15,6 +15,7 @@ final class OrderSourceLeadContentView: UIView {
|
||||
private let phoneRow = UIStackView()
|
||||
private let phoneTitleLabel = UILabel()
|
||||
private let phoneValueLabel = UILabel()
|
||||
private let phoneSpacerView = UIView()
|
||||
private let remarkLabel = UILabel()
|
||||
private let imageRow = UIStackView()
|
||||
private let emptyImageLabel = UILabel()
|
||||
@ -91,12 +92,20 @@ final class OrderSourceLeadContentView: UIView {
|
||||
phoneTitleLabel.text = "客户手机号"
|
||||
phoneTitleLabel.font = .systemFont(ofSize: 12)
|
||||
phoneTitleLabel.textColor = AppColor.text666
|
||||
phoneTitleLabel.setContentHuggingPriority(.required, for: .horizontal)
|
||||
phoneTitleLabel.setContentCompressionResistancePriority(.required, for: .horizontal)
|
||||
phoneValueLabel.font = .systemFont(ofSize: 13, weight: .medium)
|
||||
phoneValueLabel.lineBreakMode = .byTruncatingTail
|
||||
phoneValueLabel.setContentHuggingPriority(.required, for: .horizontal)
|
||||
phoneValueLabel.setContentCompressionResistancePriority(.required, for: .horizontal)
|
||||
phoneValueLabel.addGestureRecognizer(
|
||||
UITapGestureRecognizer(target: self, action: #selector(phoneTapped))
|
||||
)
|
||||
phoneSpacerView.setContentHuggingPriority(.defaultLow, for: .horizontal)
|
||||
phoneSpacerView.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
|
||||
phoneRow.addArrangedSubview(phoneTitleLabel)
|
||||
phoneRow.addArrangedSubview(phoneValueLabel)
|
||||
phoneRow.addArrangedSubview(phoneSpacerView)
|
||||
|
||||
remarkLabel.textColor = AppColor.text333
|
||||
remarkLabel.lineBreakMode = .byTruncatingTail
|
||||
|
||||
Reference in New Issue
Block a user