             btn.tag = i
             btn.setTitle(titles[i], for: .normal)
             btn.setTitleColor(titleNomalColor, for: .normal)
-            btn.titleLabel?.font = UIFont.systemFont(ofSize: titleFontSize)
+            btn.titleLabel?.font = titleFont
             btn.titleLabel?.textAlignment = .center
             btn.backgroundColor = titleBackgroundColor
             btn.addTarget(self, action: #selector(btnClick), for: .touchUpInside)

    }
}



    /// 底部分割线高度
    var lineHeight: CGFloat = 1
    
    /// 标题按钮字体
    var titleFont: UIFont = UIFont.systemFont(ofSize: 17)
    /// 标题按钮背景颜色（普通状态）
    var titleBackgroundColor = UIColor.white
    /// 标题按钮背景颜色（选中状态）
