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

边框问题

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