             adjustScrollViewContentX(button)
         }
     }
-    
+
+    // MARK: - UI
     ///  创建子视图UI
     func buildUI() {
         let number = delegate?.numberOfTab(self)

        
        viewArray = [UIViewController]()
    }
    
    //  MARK: Build Subviews
    override func layoutSubviews() {
        //  如果有设置右侧视图，缩小顶部滚动视图的宽度以适应按钮
        if isBuildUI {

    
    private lazy var viewArray: [UIViewController] = []     //  主视图的子视图数组
    

    //  MARK: - Lifecycle
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        initValues()
