|
@@ -23,7 +23,7 @@ class MVMineProductController: PQBaseViewController {
|
|
|
|
|
|
lazy var collectionView: UICollectionView = {
|
|
lazy var collectionView: UICollectionView = {
|
|
let width = (cScreenWidth - 30) / 2
|
|
let width = (cScreenWidth - 30) / 2
|
|
- let proCollectView = UICollectionView(frame: CGRect(x: cDefaultMargin, y: 0, width: cScreenWidth - cDefaultMargin * 2, height: view.frame.height), collectionViewLayout: flowLayout)
|
|
|
|
|
|
+ let proCollectView = UICollectionView(frame: CGRect(x: cDefaultMargin, y: cDevice_iPhoneNavBarAndStatusBarHei, width: cScreenWidth - cDefaultMargin * 2, height: view.frame.height - cDevice_iPhoneNavBarAndStatusBarHei - cSafeAreaHeight), collectionViewLayout: flowLayout)
|
|
proCollectView.register(MVMineProductCell.self, forCellWithReuseIdentifier: String(describing: MVMineProductCell.self))
|
|
proCollectView.register(MVMineProductCell.self, forCellWithReuseIdentifier: String(describing: MVMineProductCell.self))
|
|
proCollectView.showsVerticalScrollIndicator = false
|
|
proCollectView.showsVerticalScrollIndicator = false
|
|
proCollectView.delegate = self
|
|
proCollectView.delegate = self
|