Commit 18782dc5 authored by pete谢兆麟's avatar pete谢兆麟

图片相应交互

parent 002edf99
...@@ -30,6 +30,7 @@ class YHHomeCollectionViewCell: UICollectionViewCell { ...@@ -30,6 +30,7 @@ class YHHomeCollectionViewCell: UICollectionViewCell {
lazy var titleImageView:UIImageView = { lazy var titleImageView:UIImageView = {
let imageV = UIImageView(image: UIImage(named: "home_banner_default_icon")) let imageV = UIImageView(image: UIImage(named: "home_banner_default_icon"))
imageV.contentMode = .scaleAspectFill imageV.contentMode = .scaleAspectFill
imageV.isUserInteractionEnabled = true
return imageV return imageV
}() }()
......
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