Commit 7c086355 authored by Steven杜宇's avatar Steven杜宇

// UI

parent 362e4915
......@@ -127,7 +127,7 @@ private extension YHShareViewOnTablebarView {
make.top.equalToSuperview().offset(8)
make.left.equalTo(shareBtn.snp.right).offset(14)
make.right.equalTo(-20)
make.height.equalTo(46)
make.height.equalTo(44)
}
}
......
......@@ -29,6 +29,7 @@ class YHHomeInfoDetailViewController: YHBaseViewController {
collectinoView.register(YHHomeCollectionViewCell.self, forCellWithReuseIdentifier:YHHomeCollectionViewCell.cellReuseIdentifier)
collectinoView.delegate = self
collectinoView.dataSource = self
collectinoView.contentInset = UIEdgeInsets(top: 16.0, left: 0.0, bottom: 0.0, right: 0.0)
collectinoView.translatesAutoresizingMaskIntoConstraints = false
collectinoView.alwaysBounceVertical = true
collectinoView.showsVerticalScrollIndicator = false
......
......@@ -25,7 +25,7 @@ class YHServiceTableFootView: UIView {
let flowLayout = YHHomeCollectionLayout()
flowLayout.minimumInteritemSpacing = 7.0
flowLayout.minimumColumnSpacing = 7.0
flowLayout.sectionInset = UIEdgeInsets(top: 0, left: 24, bottom: 20, right: 24)
flowLayout.sectionInset = UIEdgeInsets(top: 8, left: 24, bottom: 20, right: 24)
let collectinoView = UICollectionView(frame: .zero, collectionViewLayout: flowLayout)
collectinoView.backgroundColor = .white
collectinoView.register(YHHomeCollectionViewCell.self, forCellWithReuseIdentifier:YHHomeCollectionViewCell.cellReuseIdentifier)
......
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