From e8852a4b397ea0b51d7e7063e7382b5ec0864580 Mon Sep 17 00:00:00 2001 From: linyudan <1031378945@qq.com> Date: Thu, 23 Nov 2023 19:41:27 -0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BE=E6=8A=A5=E6=88=BF=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Mew/Room/View/MewRoomViewController.m | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/yinmeng-ios/yinmeng-ios/Main/Mew/Room/View/MewRoomViewController.m b/yinmeng-ios/yinmeng-ios/Main/Mew/Room/View/MewRoomViewController.m index 33030a2..406ff8f 100644 --- a/yinmeng-ios/yinmeng-ios/Main/Mew/Room/View/MewRoomViewController.m +++ b/yinmeng-ios/yinmeng-ios/Main/Mew/Room/View/MewRoomViewController.m @@ -569,6 +569,8 @@ [self exitRoom]; } else { // 举报房间 + [self reportButton]; + } } @@ -668,6 +670,46 @@ [self.presenter sendGift:mewStageView.selectUid roomUid:self.roomUid]; } + +- (void)reportButton { + + UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"举报内容" message:@"" + preferredStyle:UIAlertControllerStyleActionSheet]; + [alert addAction:[UIAlertAction actionWithTitle:@"色情低俗,以任何形式传播淫秽、色情、低俗擦边的内" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){ + [self showSuccessToast:@"举报成功"]; + }]]; + [alert addAction:[UIAlertAction actionWithTitle:@"政治敏感,进行反党反政府或带有侮辱诋毁党和国家的内容" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){ + [self showSuccessToast:@"举报成功"]; + }]]; + [alert addAction:[UIAlertAction actionWithTitle:@"垃圾广告,传播垃圾广告或违法违规广告信息" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){ + [self showSuccessToast:@"举报成功"]; + }]]; + [alert addAction:[UIAlertAction actionWithTitle:@"言语攻击,恶意抹黑、诋毁或辱骂他人" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){ + [self showSuccessToast:@"举报成功"]; + }]]; + [alert addAction:[UIAlertAction actionWithTitle:@"违规交易,发布线下交易或可能涉及诈骗的内容" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){ + [self showSuccessToast:@"举报成功"]; + }]]; + [alert addAction:[UIAlertAction actionWithTitle:@"泄露隐私,以任何形式泄露他人隐私" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){ + [self showSuccessToast:@"举报成功"]; + }]]; + [alert addAction:[UIAlertAction actionWithTitle:@"暴力恐怖,传播暴力、血腥、威胁生命健康的内容或展示枪支、刀具" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){ + [self showSuccessToast:@"举报成功"]; + }]]; + [alert addAction:[UIAlertAction actionWithTitle:@"侵权盗版,侵犯他人合法版权" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){ + [self showSuccessToast:@"举报成功"]; + }]]; + + [alert addAction:[UIAlertAction actionWithTitle:@"其它" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){ + [self showSuccessToast:@"举报成功"]; + }]]; + [alert addAction:[UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:^(UIAlertAction *action){ + [self showSuccessToast:@"举报成功"]; + }]]; + [self presentViewController:alert animated:YES completion:nil]; + + +} #pragma mark - Init - (void)initView { [self.view addSubview:self.roomBgImageView];