|
@@ -51,6 +51,9 @@ class PQStuckPointPublicController: PQBaseViewController {
|
|
|
var remindView: PQRemindView?
|
|
|
//已经选择标题内容,加一个属性接收 使用有不在主线不能直接使用 titleLabel text
|
|
|
var selectTitle:String = ""
|
|
|
+
|
|
|
+ //add by ak 是否是再创作模式
|
|
|
+ var isReCreate:Bool = false
|
|
|
// 预览大小
|
|
|
private var preViewSize: CGSize {
|
|
|
switch aspectRatio {
|
|
@@ -271,6 +274,7 @@ class PQStuckPointPublicController: PQBaseViewController {
|
|
|
coverImageTitle.text = "换封面"
|
|
|
coverImageTitle.textAlignment = .center
|
|
|
coverImageTitle.backgroundColor = UIColor(red: 0.22, green: 0.26, blue: 0.35, alpha: 0.5)
|
|
|
+ coverImageTitle.isUserInteractionEnabled = true
|
|
|
coverImageTitle.textColor = .white
|
|
|
coverImageTitle.font = UIFont.boldSystemFont(ofSize: 12)
|
|
|
return coverImageTitle
|
|
@@ -349,7 +353,7 @@ class PQStuckPointPublicController: PQBaseViewController {
|
|
|
lazy var finishedBtn: UIButton = {
|
|
|
let finishedBtn = UIButton(type: .custom)
|
|
|
finishedBtn.setTitle("完成", for: .normal)
|
|
|
- finishedBtn.setTitleColor(UIColor.hexColor(hexadecimal: "#BDBDBD"), for: .normal)
|
|
|
+ finishedBtn.setTitleColor(UIColor.hexColor(hexadecimal: PQBFConfig.shared.styleColor.rawValue), for: .normal)
|
|
|
finishedBtn.titleLabel?.font = UIFont.systemFont(ofSize: 16, weight: .medium)
|
|
|
finishedBtn.backgroundColor = .clear
|
|
|
finishedBtn.tag = 3
|
|
@@ -1213,13 +1217,13 @@ extension PQStuckPointPublicController {
|
|
|
changPlayerIsPause(isPause: true)
|
|
|
|
|
|
pinView.isHidden = true
|
|
|
- publicTitleView.isHidden = false
|
|
|
+ publicTitleView.show()
|
|
|
|
|
|
if(publicTitleView.inputTV.text.count > 0){
|
|
|
publicTitleView.inputTV.text = titleLabel.text
|
|
|
}
|
|
|
|
|
|
- PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_shanyinApp_clickButton_changeTitle, pageSource: .sp_stuck_publishSyncedUp, eventData: ["videoId":videoData?.uniqueId ?? "","rootPageSource":reCreateData != nil ? "shanyinApp-main-syncedUpMusicRecreate" :"shanyinApp-main-syncedUpMusic"], remindmsg: "")
|
|
|
+ PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_shanyinApp_clickButton_changeTitle, pageSource: .sp_stuck_publishSyncedUp, eventData: ["videoId":videoData?.uniqueId ?? "","rootPageSource":isReCreate ? "shanyinApp-main-syncedUpMusicRecreate" :"shanyinApp-main-syncedUpMusic"], remindmsg: "")
|
|
|
}
|
|
|
|
|
|
@objc func settingCoverImage() {
|
|
@@ -1259,7 +1263,7 @@ extension PQStuckPointPublicController {
|
|
|
self?.navigationController?.pushViewController(imageSelected, animated: true)
|
|
|
}
|
|
|
|
|
|
- PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_shanyinApp_clickButton_changeCover, pageSource: .sp_stuck_publishSyncedUp, eventData: ["videoId":videoData?.uniqueId ?? "","rootPageSource":reCreateData != nil ? "shanyinApp-main-syncedUpMusicRecreate" :"shanyinApp-main-syncedUpMusic"], remindmsg: "")
|
|
|
+ PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_shanyinApp_clickButton_changeCover, pageSource: .sp_stuck_publishSyncedUp, eventData: ["videoId":videoData?.uniqueId ?? "","rootPageSource":isReCreate ? "shanyinApp-main-syncedUpMusicRecreate" :"shanyinApp-main-syncedUpMusic"], remindmsg: "")
|
|
|
|
|
|
}
|
|
|
|