|
@@ -44,16 +44,19 @@ class ProductFloorCenterHeaderCollectionReusableView: UICollectionReusableView {
|
|
private func setupLayouts() {
|
|
private func setupLayouts() {
|
|
bgView.snp.makeConstraints { (make) in
|
|
bgView.snp.makeConstraints { (make) in
|
|
make.top.bottom.equalToSuperview()
|
|
make.top.bottom.equalToSuperview()
|
|
- make.right.equalTo(-14 * kScaleWidth)
|
|
|
|
- make.left.equalTo(14 * kScaleWidth)
|
|
|
|
|
|
+ make.left.right.equalToSuperview()
|
|
|
|
+
|
|
}
|
|
}
|
|
floorTitleView.snp.makeConstraints { (make) in
|
|
floorTitleView.snp.makeConstraints { (make) in
|
|
- make.top.left.right.equalToSuperview()
|
|
|
|
|
|
+ make.top.equalToSuperview()
|
|
|
|
+ make.right.equalTo(-14 * kScaleWidth)
|
|
|
|
+ make.left.equalTo(14 * kScaleWidth)
|
|
make.height.equalTo(63)
|
|
make.height.equalTo(63)
|
|
}
|
|
}
|
|
floorBannerView.snp.makeConstraints { (make) in
|
|
floorBannerView.snp.makeConstraints { (make) in
|
|
make.top.equalTo(63)
|
|
make.top.equalTo(63)
|
|
- make.left.right.equalToSuperview()
|
|
|
|
|
|
+ make.right.equalTo(-14 * kScaleWidth)
|
|
|
|
+ make.left.equalTo(14 * kScaleWidth)
|
|
make.height.equalTo(90 * kScaleWidth)
|
|
make.height.equalTo(90 * kScaleWidth)
|
|
}
|
|
}
|
|
}
|
|
}
|