diff --git a/yinmeng-ios/yinmeng-ios/Main/YinMeng/Message/View/Session/SessionInfoViewController.m b/yinmeng-ios/yinmeng-ios/Main/YinMeng/Message/View/Session/SessionInfoViewController.m index 1686f71..7c1c735 100644 --- a/yinmeng-ios/yinmeng-ios/Main/YinMeng/Message/View/Session/SessionInfoViewController.m +++ b/yinmeng-ios/yinmeng-ios/Main/YinMeng/Message/View/Session/SessionInfoViewController.m @@ -173,7 +173,43 @@ } - (void)reportButtonAction:(UIButton *)sender { - [self showSuccessToast:@"举报成功"]; + + 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]; + + } - (void)didTapUserRecognizer {