Commit 15b0052c authored by David黄金龙's avatar David黄金龙

处理 圆角

parent 477858d0
......@@ -98,7 +98,7 @@ class YHDavidTestCollectionViewCell: UICollectionViewCell {
private func setupUI() {
contentView.backgroundColor = UIColor(hexString: "#F8F9FB")
contentView.layer.cornerRadius = 4
contentView.roundCorners([.topLeft,.topRight], radius: 4)
contentView.clipsToBounds = true
contentView.addSubview(titleImageView)
......
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