|
@@ -50,7 +50,7 @@ class PQStuckPointMaterialDetailController: PQBaseViewController {
|
|
|
lazy var choseBtn: UIButton = {
|
|
|
let choseBtn = UIButton(type: .custom)
|
|
|
choseBtn.frame = CGRect(x: choseTitleBtn.frame.minX - cDefaultMargin * 3, y: 0, width: cDefaultMargin * 3, height: cDefaultMargin * 3)
|
|
|
- choseBtn.setBackgroundImage(UIImage(named: "videomk_chose_nomal"), for: .normal)
|
|
|
+ choseBtn.setBackgroundImage(UIImage.init().BF_Image(named: "videomk_chose_nomal"), for: .normal)
|
|
|
choseBtn.setTitleColor(UIColor.white, for: .normal)
|
|
|
choseBtn.titleLabel?.font = UIFont.systemFont(ofSize: 12)
|
|
|
choseBtn.tag = 1
|
|
@@ -61,7 +61,7 @@ class PQStuckPointMaterialDetailController: PQBaseViewController {
|
|
|
|
|
|
lazy var changeModeBtn: UIButton = {
|
|
|
let changeModeBtn = UIButton(type: .custom)
|
|
|
- changeModeBtn.setImage(UIImage(named: "videomk_changeMode"), for: .normal)
|
|
|
+ changeModeBtn.setImage(UIImage.init().BF_Image(named: "videomk_changeMode"), for: .normal)
|
|
|
changeModeBtn.frame = CGRect(x: 15, y: preImageView.frame.height - cDefaultMargin * 4 - 15, width: cDefaultMargin * 4, height: cDefaultMargin * 4)
|
|
|
changeModeBtn.tag = 3
|
|
|
changeModeBtn.addTarget(self, action: #selector(btnClick(sender:)), for: .touchUpInside)
|
|
@@ -80,7 +80,7 @@ class PQStuckPointMaterialDetailController: PQBaseViewController {
|
|
|
lazy var playBtn: UIButton = {
|
|
|
let playBtn = UIButton(type: .custom)
|
|
|
playBtn.frame = CGRect(x: (preImageView.frame.width - cDefaultMargin * 5) / 2, y: (preImageView.frame.height - cDefaultMargin * 5) / 2, width: cDefaultMargin * 5, height: cDefaultMargin * 5)
|
|
|
- playBtn.setImage(UIImage(named: "icon_video_play_big"), for: .normal)
|
|
|
+ playBtn.setImage(UIImage.init().BF_Image(named: "icon_video_play_big"), for: .normal)
|
|
|
playBtn.isUserInteractionEnabled = false
|
|
|
playBtn.isHidden = true
|
|
|
// playBtn.addTarget(self, action: #selector(btnClick(sender:)), for: .touchUpInside)
|
|
@@ -357,7 +357,7 @@ class PQStuckPointMaterialDetailController: PQBaseViewController {
|
|
|
}
|
|
|
choseTitleBtn.isSelected = true
|
|
|
} else {
|
|
|
- choseBtn.setBackgroundImage(UIImage(named: "videomk_chose_nomal"), for: .normal)
|
|
|
+ choseBtn.setBackgroundImage(UIImage.init().BF_Image(named: "videomk_chose_nomal"), for: .normal)
|
|
|
choseBtn.backgroundColor = UIColor.clear
|
|
|
choseBtn.setTitle(nil, for: .normal)
|
|
|
choseTitleBtn.isSelected = false
|