|
@@ -103,6 +103,14 @@ class INIntroduceController: BFBaseViewController {
|
|
|
BFEventTrackAdaptor.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_captionsButton, pageSource: .sp_speekPage,extParams: ["isSubtitlesClose":isOn],commonParams: commonParams())
|
|
|
}
|
|
|
|
|
|
+ recordScreenVC.voiceBtnClickHandle = { voice in
|
|
|
+ if(voice != nil){
|
|
|
+ BFEventTrackAdaptor.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_voiceChangerButton, pageSource: .sp_speekPage,extParams: ["voiceMode":voice?.name ?? ""],commonParams: commonParams())
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
navHeadImageView?.addSubview(stripSwithView)
|
|
|
navHeadImageView?.addSubview(addMaterialBtn)
|
|
|
stripSwithView.snp.makeConstraints { make in
|
|
@@ -274,6 +282,12 @@ class INIntroduceController: BFBaseViewController {
|
|
|
}
|
|
|
|
|
|
@objc func exportAction() {
|
|
|
+
|
|
|
+ //add by ak 如果当前段有没有转完的发音人显示 Loadingview
|
|
|
+ if(!recordScreenVC.voiceChangeStickerFinish(isShowLoadView: true)){
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
let count = recordScreenVC.itemModels.reduce(0, { partialResult, model in
|
|
|
model.voiceStickers.count + partialResult
|
|
|
})
|