|
@@ -66,7 +66,8 @@ class PQChoseMaterialCell: UICollectionViewCell {
|
|
lazy var choseBtn: UIButton = {
|
|
lazy var choseBtn: UIButton = {
|
|
let choseBtn = UIButton(type: .custom)
|
|
let choseBtn = UIButton(type: .custom)
|
|
choseBtn.setBackgroundImage(UIImage.init().BF_Image(named: "videomk_chose_nomal"), for: .normal)
|
|
choseBtn.setBackgroundImage(UIImage.init().BF_Image(named: "videomk_chose_nomal"), for: .normal)
|
|
- choseBtn.setBackgroundImage(UIImage.init().BF_Image(named: "videomk_chose_selected"), for: .selected)
|
|
|
|
|
|
+ choseBtn.setBackgroundImage(UIImage.init().BF_Image(named: "videomk_chose_selected").withRenderingMode(.alwaysTemplate), for: .selected)
|
|
|
|
+ choseBtn.tintColor = UIColor.hexColor(hexadecimal: PQBFConfig.shared.styleColor.rawValue)
|
|
choseBtn.setTitleColor(UIColor.white, for: .normal)
|
|
choseBtn.setTitleColor(UIColor.white, for: .normal)
|
|
choseBtn.titleLabel?.font = UIFont.systemFont(ofSize: 12)
|
|
choseBtn.titleLabel?.font = UIFont.systemFont(ofSize: 12)
|
|
choseBtn.tag = 1
|
|
choseBtn.tag = 1
|