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

class PageTitleView: UIView {
    
    fileprivate var titles: [String]
    
    //MARK:- 懒加载scrollView
    fileprivate lazy var scrollView: UIScrollView = {

        self.addSubview(scrollView)
        scrollView.frame = CGRect(x: 0, y: 0, width: bounds.width, height: bounds.height - kLineH)
        
        setupTitleLabels()
        setupBottomLine()
    }
    
    private func setupTitleLabels(){
