Commit 0157eb68 authored by Steven杜宇's avatar Steven杜宇

// 方案

parent 8f1df79f
......@@ -40,6 +40,7 @@ class YHIHKIdentityPlanCell: UITableViewCell {
lazy var bgImgView: UIImageView = {
let view = UIImageView(image: UIImage(named: "my_shceme_plan_bg"))
view.contentMode = .scaleAspectFill
view.clipsToBounds = true
return view
}()
......@@ -65,7 +66,7 @@ class YHIHKIdentityPlanCell: UITableViewCell {
make.left.equalTo(17)
make.right.equalTo(-17)
make.top.equalToSuperview()
make.height.equalTo(95)
make.height.equalTo(bgImgView.snp.width).multipliedBy(93.0/341.0)
make.bottom.equalTo(-33)
}
......
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