浏览代码

1.我的页

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 = {
     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