|
@@ -218,11 +218,11 @@ public class PQStuckPointMaterialController: PQBaseViewController {
|
|
navHeadImageView?.addSubview(choseLocalVideoBtn)
|
|
navHeadImageView?.addSubview(choseLocalVideoBtn)
|
|
navHeadImageView?.addSubview(choseLocalImageBtn)
|
|
navHeadImageView?.addSubview(choseLocalImageBtn)
|
|
navHeadImageView?.addSubview(choseLineView)
|
|
navHeadImageView?.addSubview(choseLineView)
|
|
-// view.insertSubview(materialHeadView, belowSubview: navHeadImageView!)
|
|
|
|
view.addSubview(bottomRemindView)
|
|
view.addSubview(bottomRemindView)
|
|
bottomRemindView.addSubview(confirmBtn)
|
|
bottomRemindView.addSubview(confirmBtn)
|
|
bottomRemindView.addSubview(bottomRemindLab)
|
|
bottomRemindView.addSubview(bottomRemindLab)
|
|
- photoMaterialVc.msgType = .video
|
|
|
|
|
|
+ addChild(photoMaterialVc)
|
|
|
|
+ view.insertSubview(photoMaterialVc.view, belowSubview: bottomRemindView)
|
|
view.bringSubviewToFront(navHeadImageView!)
|
|
view.bringSubviewToFront(navHeadImageView!)
|
|
view.insertSubview(materialListView, belowSubview: bottomRemindView)
|
|
view.insertSubview(materialListView, belowSubview: bottomRemindView)
|
|
// 卡点音乐素材选择曝光上报
|
|
// 卡点音乐素材选择曝光上报
|
|
@@ -326,12 +326,7 @@ public class PQStuckPointMaterialController: PQBaseViewController {
|
|
changeCollecBtn.setTitle(seletedData?.title ?? "全部", for: .normal)
|
|
changeCollecBtn.setTitle(seletedData?.title ?? "全部", for: .normal)
|
|
changeCollecBtn.imagePosition(at: PQButtonImageEdgeInsetsStyle.right, space: cDefaultMargin / 2)
|
|
changeCollecBtn.imagePosition(at: PQButtonImageEdgeInsetsStyle.right, space: cDefaultMargin / 2)
|
|
photoMaterialVc.assetCollection = seletedData?.assetCollection
|
|
photoMaterialVc.assetCollection = seletedData?.assetCollection
|
|
- photoMaterialVc.msgType = photoMaterialVc.msgType
|
|
|
|
}
|
|
}
|
|
-// photoMaterialVc.msgType = .video
|
|
|
|
-// choseLocalAllBtn.isSelected = false
|
|
|
|
-// choseLocalVideoBtn.isSelected = true
|
|
|
|
-// choseLocalImageBtn.isSelected = false
|
|
|
|
}
|
|
}
|
|
|
|
|
|
/// 点击选择的回调
|
|
/// 点击选择的回调
|