From bfce0d5885c10211bf1c8a44800e56aef1c22b50 Mon Sep 17 00:00:00 2001 From: jiayangyang <534955398@qq.com> Date: Tue, 4 Aug 2026 20:00:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(sos):=20=E7=BE=A4=E6=88=90=E5=91=98?= =?UTF-8?q?=E9=9D=A2=E6=9D=BFcell=E6=95=B4=E8=A1=8C=E5=8F=AF=E6=8B=A8?= =?UTF-8?q?=E6=89=93=E7=94=B5=E8=AF=9D=EF=BC=8C=E4=BF=AE=E5=A4=8D=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E7=BC=BA=E5=A4=B1=E5=B1=9E=E6=80=A7=E5=A3=B0=E6=98=8E?= =?UTF-8?q?=E5=92=8Cimport?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .../Project/TUIChat/ChatViewController.m | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/XinjiangProject/XinjiangProject/Project/TUIChat/ChatViewController.m b/XinjiangProject/XinjiangProject/Project/TUIChat/ChatViewController.m index e165cf6..22c9697 100644 --- a/XinjiangProject/XinjiangProject/Project/TUIChat/ChatViewController.m +++ b/XinjiangProject/XinjiangProject/Project/TUIChat/ChatViewController.m @@ -22,6 +22,7 @@ #import "TUIGroupMemberCellData.h" #import #import "XJSelectContactViewController.h" +#import "XJParticipatedOrderModel.h" #import "TUITextMessageCellData.h" #import "QuestionViewController.h" #import "SendReportModel.h" @@ -77,6 +78,11 @@ @property (nonatomic, strong) NSMutableArray *memberList; @property (nonatomic, strong) UIImageView *refreshIcon; +@property (nonatomic, strong) NSMutableArray *orderList; +@property (nonatomic, assign) NSInteger orderPage; +@property (nonatomic, strong) UITableView *orderPopupTable; +@property (nonatomic, assign) NSInteger selectedOrderIndex; + @end @implementation ChatViewController @@ -597,6 +603,10 @@ - (void)callMemberAction:(UIButton *)sender { UITableViewCell *cell = (UITableViewCell *)sender.superview.superview; NSIndexPath *indexPath = [self.memberTableView indexPathForCell:cell]; + [self callMemberAtIndexPath:indexPath]; +} + +- (void)callMemberAtIndexPath:(NSIndexPath *)indexPath { if (!indexPath || indexPath.row >= self.memberList.count) return; NSDictionary *member = self.memberList[indexPath.row]; NSString *phone = member[@"phone"]; @@ -609,6 +619,13 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { [tableView deselectRowAtIndexPath:indexPath animated:YES]; + if (tableView == self.memberTableView) { + [self callMemberAtIndexPath:indexPath]; + } + if (tableView == self.orderPopupTable) { + self.selectedOrderIndex = indexPath.row; + [tableView reloadData]; + } } #pragma mark:跳转到地图选择页