|
@@ -50,35 +50,29 @@ class ShoppingMallRightSideleftPictureTableViewCell: UITableViewCell {
|
|
|
cornerRadius = 4
|
|
|
masksToBounds = true
|
|
|
backgroundColor = kf7f8faColor
|
|
|
- addSubview(floorTitleView)
|
|
|
- addSubview(floorBannerView)
|
|
|
- addSubview(collectionView)
|
|
|
+// addSubview(floorTitleView)
|
|
|
+// addSubview(floorBannerView)
|
|
|
+// addSubview(collectionView)
|
|
|
}
|
|
|
|
|
|
private func setupLayouts() {
|
|
|
- floorTitleView.snp.remakeConstraints { (make) in
|
|
|
- make.top.left.right.equalToSuperview()
|
|
|
- make.height.equalTo(50)
|
|
|
- }
|
|
|
- floorBannerView.snp.remakeConstraints { (make) in
|
|
|
- make.top.equalTo(50)
|
|
|
- make.left.right.equalToSuperview()
|
|
|
- make.height.equalTo(90 * kScaleWidth)
|
|
|
- }
|
|
|
- collectionView.snp.remakeConstraints {(make) in
|
|
|
- make.top.equalTo(50 + 90 * kScaleWidth)
|
|
|
- make.left.right.equalToSuperview()
|
|
|
- make.height.equalTo(140)
|
|
|
- make.bottom.lessThanOrEqualTo(self)
|
|
|
- }
|
|
|
+// floorTitleView.snp.remakeConstraints { (make) in
|
|
|
+// make.top.left.right.equalToSuperview()
|
|
|
+// make.height.equalTo(50)
|
|
|
+// }
|
|
|
+// floorBannerView.snp.remakeConstraints { (make) in
|
|
|
+// make.top.equalTo(50)
|
|
|
+// make.left.right.equalToSuperview()
|
|
|
+// make.height.equalTo(90 * kScaleWidth)
|
|
|
+// }
|
|
|
+// collectionView.snp.remakeConstraints {(make) in
|
|
|
+// make.top.equalTo(50 + 90 * kScaleWidth)
|
|
|
+// make.left.right.equalToSuperview()
|
|
|
+// make.height.equalTo(140)
|
|
|
+// make.bottom.lessThanOrEqualTo(self)
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
- private lazy var bgView: UIView = {
|
|
|
- let bgView = UIView()
|
|
|
- bgView.backgroundColor = UIColor.white
|
|
|
- return bgView
|
|
|
- }()
|
|
|
-
|
|
|
private lazy var floorTitleView: FloorTitleView = {
|
|
|
let floorTitleView = FloorTitleView()
|
|
|
return floorTitleView
|