 class PageTitleView: UIView {
     
     fileprivate var titles: [String]
+    fileprivate var selectLabel: UILabel?
+    fileprivate lazy var titleLabels = [UILabel]()
     
     //MARK:- 懒加载scrollView
     fileprivate lazy var scrollView: UIScrollView = {

            label.font = UIFont.systemFont(ofSize: 16)
            label.textAlignment = NSTextAlignment.center
            
            self.scrollView.addSubview(label)
        }
    }
}

        scrollView.bounces = false
        
        return scrollView
    }()
    
    //MARK:- 滑块
    fileprivate lazy var scrollLine: UIView = {
        let scrollLine = UIView()
        scrollLine.backgroundColor = UIColor.orange
        
        return scrollLine
    }()

    //MARK:- 构造方法
