Commit 91210b14 authored by Steven杜宇's avatar Steven杜宇

// 图片

parent 3e10f85b
...@@ -33,11 +33,11 @@ class YHCertificateInfoPhotoCell: UITableViewCell { ...@@ -33,11 +33,11 @@ class YHCertificateInfoPhotoCell: UITableViewCell {
self.contentView.backgroundColor = .clear self.contentView.backgroundColor = .clear
contentView.addSubview(infoImgView) contentView.addSubview(infoImgView)
infoImgView.snp.makeConstraints { make in infoImgView.snp.makeConstraints { make in
make.left.equalTo(18) make.left.equalTo(16)
make.right.equalTo(-18) make.right.equalTo(-16)
make.top.equalTo(0) make.top.equalTo(0)
make.bottom.equalTo(0) make.bottom.equalTo(0)
make.height.equalTo(infoImgView.snp.width).multipliedBy(2716.0/343.0) make.height.equalTo(infoImgView.snp.width).multipliedBy(2467.0/343.0)
} }
} }
} }
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