|
@@ -261,8 +261,12 @@ class MVHomeController: MVBaseController {
|
|
|
@objc func btnClick(sender: UIButton) {
|
|
|
switch sender.tag {
|
|
|
case 1000: // 个人中心
|
|
|
+ PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_shanyinApp_clickButton_mineTab, pageSource: .sp_shanyinApp_main, extParams: nil, remindmsg: "")
|
|
|
+
|
|
|
jumpToDetailVc(type: 1)
|
|
|
case 2000: // 系统相册
|
|
|
+ PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_shanyinApp_clickButton_syncedUpMusic, pageSource: .sp_shanyinApp_main, extParams: nil, remindmsg: "")
|
|
|
+
|
|
|
jumpToDetailVc(type: 3)
|
|
|
case 3000: // 设置
|
|
|
navigationController?.pushViewController(MVSettingController(), animated: true)
|
|
@@ -356,6 +360,9 @@ class MVHomeController: MVBaseController {
|
|
|
if mAllVideos.count > indexPath.row {
|
|
|
isCreateVideo = true
|
|
|
let videoListModel = mAllVideos[indexPath.row]
|
|
|
+
|
|
|
+ PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_shanyinApp_clickButton_syncedUpMusicRecreate, pageSource: .sp_shanyinApp_main, extParams: ["videoId":videoListModel.videoId], remindmsg: "")
|
|
|
+
|
|
|
jumpToDetailVc(type: 2, videoData: videoListModel)
|
|
|
} else {
|
|
|
BFLog(message: "数据出错越界!!! mAllVideos.count: \(mAllVideos.count) indexPath.row: \(indexPath.row)")
|
|
@@ -396,6 +403,9 @@ extension MVHomeController {
|
|
|
let hotVideoIndex = self.mVideos.firstIndex(where: { (items) -> Bool in
|
|
|
items.categoryName == videoInfo.categoryName
|
|
|
})
|
|
|
+
|
|
|
+ PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonView, objectType: .ot_shanyinApp_clickButton_syncedUpMusicRecreate, pageSource: .sp_shanyinApp_main, extParams: ["videoId":videoInfo.videoId], remindmsg: "")
|
|
|
+
|
|
|
|
|
|
BFLog(message: "播放的视频分类为:\(String(describing: self.mVideos[hotVideoIndex ?? 0].categoryName)) hotVideoIndex :\(String(describing: hotVideoIndex)) page is \(page)")
|
|
|
// 设置选中状态
|