Commit 39fb3de8 authored by yqz's avatar yqz

优化

parent f5281983
......@@ -109,7 +109,7 @@ class PMShowImgCell: UICollectionViewCell {
make.left.right.bottom.top.equalToSuperview()
}
selectBtn.snp.makeConstraints { make in
make.right.equalToSuperview()
make.right.equalToSuperview().inset(-15)
make.width.height.equalTo(iconWH)
make.bottom.equalToSuperview().offset(-10)
}
......
......@@ -51,7 +51,7 @@ class PMShowVideoCell: UICollectionViewCell {
super.init(frame: frame)
self.contentView.addSubview(self.selectBtn)
selectBtn.snp.makeConstraints { make in
make.right.equalToSuperview()
make.right.equalToSuperview().inset(-15)
make.width.height.equalTo(iconWH)
make.bottom.equalToSuperview().offset(-10)
}
......
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