|
@@ -187,7 +187,8 @@ 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))
|
|
|
+ let segmentedView = JXSegmentedView(frame: CGRect(x: 0, y: 48, width: kScreenWidth, height: 44+100))
|
|
|
segmentedView.delegate = self
|
|
|
segmentedView.dataSource = segmentedDataSource
|
|
|
segmentedView.indicators = [indicator]
|
|
@@ -235,7 +236,9 @@ 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, 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)
|
|
|
return listContainerView
|
|
|
}()
|
|
|
|