|
@@ -114,7 +114,7 @@ class AlertSheetView: NSObject {
|
|
|
}
|
|
|
|
|
|
/// 自定义评论View
|
|
|
- class func commentAlertSheetView(postId:Int, videoItemMdl: CommunityVideoItemModel, cancelClosure:@escaping () -> Void, sureClosure:@escaping (_ pType: PayType) -> Void) -> CommunityAllCommentView {
|
|
|
+ class func commentAlertSheetView(postId:Int, videoItemMdl: CommunityVideoItemModel) -> CommunityAllCommentView {
|
|
|
let commentView = CommunityAllCommentView(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: kSafeTabBarHeight + 500))
|
|
|
commentView.postId = postId
|
|
|
commentView.videoItemModel = videoItemMdl
|
|
@@ -129,11 +129,6 @@ class AlertSheetView: NSObject {
|
|
|
commentView.vProperty = vProperty
|
|
|
commentView.show()
|
|
|
commentView.disTransBlock = {
|
|
|
- cancelClosure()
|
|
|
- commentView.hide()
|
|
|
- }
|
|
|
- commentView.confirmPayBlock = { payType in
|
|
|
- sureClosure(payType)
|
|
|
commentView.hide()
|
|
|
}
|
|
|
return commentView
|