|
@@ -114,11 +114,11 @@ class BFVoiceSettingView: UIView {
|
|
|
|
|
|
layout.minimumLineSpacing = adapterWidth(width: 20)
|
|
|
// 每列最小边距
|
|
|
- layout.minimumInteritemSpacing = 24
|
|
|
+ layout.minimumInteritemSpacing = 30
|
|
|
// layout.minimumInteritemSpacing = (cScreenWidth - 64 - 240) / 3
|
|
|
layout.sectionInset = UIEdgeInsets.zero
|
|
|
|
|
|
- let collectView = UICollectionView(frame: CGRect(x: 32, y: 118, width: cScreenWidth - 32 * 2, height: 242), collectionViewLayout: layout)
|
|
|
+ let collectView = UICollectionView(frame: CGRect(x: 22, y: 118, width: cScreenWidth - 22 * 2, height: 242), collectionViewLayout: layout)
|
|
|
collectView.isPagingEnabled = false
|
|
|
collectView.showsHorizontalScrollIndicator = false
|
|
|
collectView.showsVerticalScrollIndicator = false
|
|
@@ -279,7 +279,7 @@ extension BFVoiceSettingView: UICollectionViewDelegate, UICollectionViewDataSour
|
|
|
if collectionView == catagaryCollectView {
|
|
|
return CGSize(width: adapterWidth(width: 52) + 9, height: 40)
|
|
|
}
|
|
|
- return CGSize(width:(cScreenWidth - 64 - 3 * 24) / 4, height: 78)
|
|
|
+ return CGSize(width:(cScreenWidth - 44 - 3 * 30) / 4, height: 78)
|
|
|
}
|
|
|
|
|
|
func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection _: Int) -> Int {
|