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];