Commit b48f3846 authored by pete谢兆麟's avatar pete谢兆麟

边框问题

parent bc021a41
......@@ -389,7 +389,7 @@ class YHEditInterestViewCell: UICollectionViewCell {
if dataSource.isNormal {
deleteButton.isHidden = true
if dataSource.isSelect {
contentView.layer.borderWidth = 0.5
contentView.layer.borderWidth = 1
contentView.layer.borderColor = UIColor.brandMainColor.cgColor
titleLabel.textColor = UIColor.brandMainColor
} else {
......@@ -399,7 +399,7 @@ class YHEditInterestViewCell: UICollectionViewCell {
}
} else {
if dataSource.isSelect {
contentView.layer.borderWidth = 0.5
contentView.layer.borderWidth = 1
contentView.layer.borderColor = UIColor.brandMainColor.cgColor
titleLabel.textColor = UIColor.brandMainColor
deleteButton.isHidden = true
......
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