fix(emergency): 群成员面板cell整行拨打电话,补充电话图标资源
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
f597c63ae0
commit
7203085d70
@@ -817,6 +817,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"];
|
||||
@@ -966,6 +970,9 @@
|
||||
}
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||
if (tableView == self.memberTableView) {
|
||||
[self callMemberAtIndexPath:indexPath];
|
||||
}
|
||||
if (tableView == self.orderPopupTable) {
|
||||
self.selectedOrderIndex = indexPath.row;
|
||||
[tableView reloadData];
|
||||
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "firstAid_phone_icon.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
Reference in New Issue
Block a user