Commit e5059fe5 authored by Steven杜宇's avatar Steven杜宇

// AI

parent f93658fe
...@@ -113,35 +113,35 @@ class YHProductItemView: UIView { ...@@ -113,35 +113,35 @@ class YHProductItemView: UIView {
iconImgView.snp.makeConstraints { make in iconImgView.snp.makeConstraints { make in
make.width.height.equalTo(80) make.width.height.equalTo(80)
make.left.equalTo(16) make.left.equalTo(0)
make.top.equalTo(20) make.top.equalTo(20)
make.bottom.equalTo(-20) make.bottom.equalTo(-20)
} }
titleLabel.snp.makeConstraints { make in titleLabel.snp.makeConstraints { make in
make.left.equalTo(iconImgView.snp.right).offset(12) make.left.equalTo(iconImgView.snp.right).offset(12)
make.right.equalTo(-12) make.right.equalTo(0)
make.top.equalTo(iconImgView) make.top.equalTo(iconImgView)
make.height.equalTo(22) make.height.equalTo(22)
} }
tagContentView.snp.makeConstraints { make in tagContentView.snp.makeConstraints { make in
make.left.equalTo(titleLabel) make.left.equalTo(titleLabel)
make.right.equalTo(-12) make.right.equalTo(0)
make.height.equalTo(16) make.height.equalTo(16)
make.top.equalTo(titleLabel.snp.bottom).offset(4) make.top.equalTo(titleLabel.snp.bottom).offset(4)
} }
priceLabel.snp.makeConstraints { make in priceLabel.snp.makeConstraints { make in
make.left.equalTo(titleLabel) make.left.equalTo(titleLabel)
make.right.equalTo(-12) make.right.equalTo(0)
make.bottom.equalTo(iconImgView) make.bottom.equalTo(iconImgView)
make.height.equalTo(20) make.height.equalTo(20)
} }
bottomLineView.snp.makeConstraints { make in bottomLineView.snp.makeConstraints { make in
make.left.equalTo(iconImgView) make.left.equalTo(iconImgView)
make.right.equalTo(-12) make.right.equalTo(0)
make.height.equalTo(0.5) make.height.equalTo(0.5)
make.bottom.equalTo(0) make.bottom.equalTo(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