Files
xj-zj-ios/DoctorXinjiang/Pods/TUIChat/MapMessageCustomCell.m
T
jiayangyangandClaude Opus 4.7 2bcac71a19 feat(emergency): 专家端应急求助入口对齐员工端
- 首页新增员工应急求助入口,接口改用 myParticipatedOrders,1条直接进群聊,多条弹窗选择
- ChatViewController 加急救员流程:isFromFirstAid、群成员面板、工单弹窗
- 急救员入口隐藏语音通话/档案/结束咨询,标题写死"应急求助"
- XJDNetAPI 加 getMyParticipatedOrders/getActualGroupMemberList/getSearchEmployee/getSearchExpert/postAddGroupUser
- 拷贝 XJSelectContactViewController、XJParticipatedOrderModel、checkbox/order 等图标资源
- IM断线静默重登,异地登录弹提示跳登录页
- 首页数量标签默认隐藏,非零才显示

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-04 16:30:32 +08:00

66 lines
1.6 KiB
Objective-C

//
// MapMessageCustomCell.m
// EscortProject
//
// Created by 仁康信息 on 2023/7/7.
//
#import "MapMessageCustomCell.h"
@implementation MapMessageCustomCell
- (void)awakeFromNib {
[super awakeFromNib];
// Initialization code
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
if (self) {
self.container.layer.cornerRadius = 10;
self.container.backgroundColor = UIColor.whiteColor;
self.myTextLabel = [[UILabel alloc] init];
self.myTextLabel.textAlignment = NSTextAlignmentLeft;
self.myTextLabel.font = [UIFont systemFontOfSize:14];
self.myTextLabel.backgroundColor = UIColor.whiteColor;
[self.container addSubview:self.myTextLabel];
self.mapImage = [[UIImageView alloc] init];
[self.container addSubview:self.mapImage];
}
return self;
}
// 根据 cellData 绘制 cell
- (void)fillWithData:(MapMessageCustomCellData *)data;
{
[super fillWithData:data];
self.myTextLabel.text = @" 位置";
[self.mapImage sd_setImageWithURL:[NSURL URLWithString:data.MapPictureImg] placeholderImage:nil];
}
// 设置控件坐标
- (void)layoutSubviews
{
[super layoutSubviews];
self.myTextLabel.mm_right(0).mm_top(0).mm_left(0).mm_height(30).mm_width(245);
self.mapImage.mm_top(self.myTextLabel.mm_y + 30 ).mm_width(245).mm_height(140);
}
@end