Browse Source

1.我的页

wenweiwei 3 years ago
parent
commit
7760bad26c

+ 1 - 1
MusicVideoPlus/Classes/Modules/Mine/Controllers/MVMineProductController.swift

@@ -23,7 +23,7 @@ class MVMineProductController: PQBaseViewController {
 
     lazy var collectionView: UICollectionView = {
         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.showsVerticalScrollIndicator = false
         proCollectView.delegate = self