|
@@ -100,6 +100,7 @@ class PQSelecteMusicView: UIView {
|
|
selectMusicCollection.backgroundColor = .clear
|
|
selectMusicCollection.backgroundColor = .clear
|
|
selectMusicCollection.register(PQSelectMusicCell.self, forCellWithReuseIdentifier: String(describing: PQSelectMusicCell.self))
|
|
selectMusicCollection.register(PQSelectMusicCell.self, forCellWithReuseIdentifier: String(describing: PQSelectMusicCell.self))
|
|
selectMusicCollection.delaysContentTouches = false
|
|
selectMusicCollection.delaysContentTouches = false
|
|
|
|
+ selectMusicCollection.contentInset = UIEdgeInsets(top: 0, left: 17, bottom: 0, right: 0)
|
|
return selectMusicCollection
|
|
return selectMusicCollection
|
|
}()
|
|
}()
|
|
|
|
|
|
@@ -191,7 +192,7 @@ class PQSelecteMusicView: UIView {
|
|
}
|
|
}
|
|
selectMusicCollection.snp.makeConstraints { make in
|
|
selectMusicCollection.snp.makeConstraints { make in
|
|
make.height.equalTo(131)
|
|
make.height.equalTo(131)
|
|
- make.left.equalToSuperview().offset(17)
|
|
|
|
|
|
+ make.left.equalToSuperview()
|
|
make.right.equalToSuperview()
|
|
make.right.equalToSuperview()
|
|
make.top.equalToSuperview().offset(54)
|
|
make.top.equalToSuperview().offset(54)
|
|
}
|
|
}
|