|
@@ -187,8 +187,7 @@ class PublishMusicChooseView: FWPopupView {
|
|
|
//MARK: -
|
|
|
//1.初始化JXSegmentedView
|
|
|
lazy var segmentedView: JXSegmentedView = {
|
|
|
-// let segmentedView = JXSegmentedView(frame: CGRect(x: 0, y: 48, width: kScreenWidth, height: 44))
|
|
|
- let segmentedView = JXSegmentedView(frame: CGRect(x: 0, y: 48, width: kScreenWidth, height: 44+100))
|
|
|
+ let segmentedView = JXSegmentedView(frame: CGRect(x: 0, y: 48, width: kScreenWidth, height: 44))
|
|
|
segmentedView.delegate = self
|
|
|
segmentedView.dataSource = segmentedDataSource
|
|
|
segmentedView.indicators = [indicator]
|
|
@@ -236,9 +235,7 @@ class PublishMusicChooseView: FWPopupView {
|
|
|
let listContainerView = JXSegmentedListContainerView(dataSource: self)
|
|
|
listContainerView.didAppearPercent = 0.01
|
|
|
listContainerView.defaultSelectedIndex = 0
|
|
|
-// listContainerView.frame = CGRect(x: 0, y: 48+44, width: kScreenWidth, height: kScreenHeight - kSafeTabBarHeight - kSafeStatusBarHeight - 103 - 114)
|
|
|
-
|
|
|
- listContainerView.frame = CGRect(x: 0, y: 48+44+100, width: kScreenWidth, height: kScreenHeight - kSafeTabBarHeight - kSafeStatusBarHeight - 103 - 114-100)
|
|
|
+ listContainerView.frame = CGRect(x: 0, y: 48+44, width: kScreenWidth, height: kScreenHeight - kSafeTabBarHeight - kSafeStatusBarHeight - 103 - 114)
|
|
|
return listContainerView
|
|
|
}()
|
|
|
|