|
@@ -344,14 +344,14 @@ class PQStuckPointEditerController: PQBaseViewController {
|
|
|
return speedStuckBtn
|
|
|
}()
|
|
|
|
|
|
- //
|
|
|
- lazy var speedStuckBtnGif: UIImageView = {
|
|
|
- let speedStuckBtnGif = UIImageView()
|
|
|
- speedStuckBtnGif.kf.setImage(with: URL(fileURLWithPath: currentBundlePath()!.path(forResource: "speedstuck_h", ofType: "gif")!))
|
|
|
- speedStuckBtnGif.isHidden = true
|
|
|
- return speedStuckBtnGif
|
|
|
-
|
|
|
- }()
|
|
|
+// //
|
|
|
+// lazy var speedStuckBtnGif: UIImageView = {
|
|
|
+// let speedStuckBtnGif = UIImageView()
|
|
|
+// speedStuckBtnGif.kf.setImage(with: URL(fileURLWithPath: currentBundlePath()!.path(forResource: "speedstuck_h", ofType: "gif")!))
|
|
|
+// speedStuckBtnGif.isHidden = true
|
|
|
+// return speedStuckBtnGif
|
|
|
+//
|
|
|
+// }()
|
|
|
|
|
|
// 跳转卡点模式 btn
|
|
|
lazy var jumpPointBtn: UIButton = {
|
|
@@ -373,13 +373,13 @@ class PQStuckPointEditerController: PQBaseViewController {
|
|
|
return jumpPointBtn
|
|
|
}()
|
|
|
|
|
|
- lazy var jumpPointBtnGif: UIImageView = {
|
|
|
- let jumpPointBtnGif = UIImageView()
|
|
|
- jumpPointBtnGif.kf.setImage(with: URL(fileURLWithPath: currentBundlePath()!.path(forResource: "jumpPoint_n", ofType: "gif")!))
|
|
|
- jumpPointBtnGif.isHidden = true
|
|
|
- return jumpPointBtnGif
|
|
|
-
|
|
|
- }()
|
|
|
+// lazy var jumpPointBtnGif: UIImageView = {
|
|
|
+// let jumpPointBtnGif = UIImageView()
|
|
|
+// jumpPointBtnGif.kf.setImage(with: URL(fileURLWithPath: currentBundlePath()!.path(forResource: "jumpPoint_n", ofType: "gif")!))
|
|
|
+// jumpPointBtnGif.isHidden = true
|
|
|
+// return jumpPointBtnGif
|
|
|
+//
|
|
|
+// }()
|
|
|
|
|
|
// 仅配乐模式 btn
|
|
|
lazy var onlyMusicBtn: UIButton = {
|
|
@@ -722,12 +722,6 @@ class PQStuckPointEditerController: PQBaseViewController {
|
|
|
PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_shanyinApp_musicVideoPreview_selectPatternBgm, pageSource: .sp_shanyinApp_main, extParams: nil, remindmsg: "")
|
|
|
}
|
|
|
}
|
|
|
- speedStuckBtnGif.kf.setImage(with: URL(fileURLWithPath: currentBundlePath()!.path(forResource: speedStuckBtnGifName, ofType: "gif")!))
|
|
|
- jumpPointBtnGif.kf.setImage(with: URL(fileURLWithPath: currentBundlePath()!.path(forResource: jumpPointBtnGifName, ofType: "gif")!))
|
|
|
-
|
|
|
-// speedStuckBtnGif.isHidden = false
|
|
|
-// jumpPointBtnGif.isHidden = false
|
|
|
-
|
|
|
settingPlayerView()
|
|
|
}
|
|
|
|
|
@@ -826,9 +820,7 @@ class PQStuckPointEditerController: PQBaseViewController {
|
|
|
pointEditBGView.addSubview(pointEditRemindLab)
|
|
|
pointEditBGView.addSubview(speedTitleLab)
|
|
|
pointEditBGView.addSubview(speedStuckBtn)
|
|
|
- speedStuckBtn.addSubview(speedStuckBtnGif)
|
|
|
pointEditBGView.addSubview(jumpPointBtn)
|
|
|
- jumpPointBtn.addSubview(jumpPointBtnGif)
|
|
|
pointEditBGView.addSubview(onlyMusicBtn)
|
|
|
pointEditBGView.addSubview(speedSettingView)
|
|
|
pointEditBGView.addSubview(sustomSwitchView)
|
|
@@ -883,24 +875,14 @@ class PQStuckPointEditerController: PQBaseViewController {
|
|
|
make.height.equalTo(80)
|
|
|
make.width.equalTo(80)
|
|
|
}
|
|
|
- speedStuckBtnGif.snp.makeConstraints { make in
|
|
|
- make.height.width.equalTo(46)
|
|
|
- make.top.equalToSuperview().offset(8)
|
|
|
- make.centerX.equalToSuperview()
|
|
|
- }
|
|
|
-
|
|
|
+
|
|
|
jumpPointBtn.snp.makeConstraints { make in
|
|
|
make.left.equalTo(speedStuckBtn.snp.right).offset(10)
|
|
|
make.top.equalTo(speedStuckBtn.snp.top)
|
|
|
make.height.equalTo(80)
|
|
|
make.width.equalTo(80)
|
|
|
}
|
|
|
- jumpPointBtnGif.snp.makeConstraints { make in
|
|
|
- make.height.width.equalTo(46)
|
|
|
- make.top.equalToSuperview().offset(8)
|
|
|
- make.centerX.equalToSuperview()
|
|
|
- }
|
|
|
-
|
|
|
+
|
|
|
onlyMusicBtn.snp.makeConstraints { make in
|
|
|
make.left.equalTo(jumpPointBtn.snp.right).offset(10)
|
|
|
make.top.equalTo(speedStuckBtn.snp.top)
|
|
@@ -2049,7 +2031,6 @@ extension PQStuckPointEditerController {
|
|
|
let pointEditNamalBackgroundColor = PQBFConfig.shared.pointEditNamalBackgroundColor
|
|
|
jumpPointBtn.backgroundColor = UIColor.init(red: pointEditNamalBackgroundColor.rgbaf[0], green: pointEditNamalBackgroundColor.rgbaf[1], blue: pointEditNamalBackgroundColor.rgbaf[2], alpha: 0.3)
|
|
|
|
|
|
- jumpPointBtnGif.isHidden = true
|
|
|
}
|
|
|
|
|
|
/*
|