Commit f200a258 authored by pete谢兆麟's avatar pete谢兆麟

Merge branch 'yinhe-live-1212' of...

Merge branch 'yinhe-live-1212' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into yinhe-live-1212
parents a6fecda2 e5059fe5
...@@ -62,7 +62,7 @@ class YHProductItemView: UIView { ...@@ -62,7 +62,7 @@ class YHProductItemView: UIView {
let lable = UILabel() let lable = UILabel()
lable.textColor = UIColor.mainTextColor lable.textColor = UIColor.mainTextColor
lable.textAlignment = .left lable.textAlignment = .left
lable.font = UIFont.PFSC_R(ofSize:14) lable.font = UIFont.PFSC_M(ofSize:16)
return lable return lable
}() }()
...@@ -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