wenweiwei 3 سال پیش
والد
کامیت
7760bad26c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      MusicVideoPlus/Classes/Modules/Mine/Controllers/MVMineProductController.swift

+ 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