42 lines
1.2 KiB
Objective-C
42 lines
1.2 KiB
Objective-C
//
|
|
// KanHuWorkViewFirstCell.m
|
|
// Ifish
|
|
//
|
|
// Created by imac on 16/8/24.
|
|
// Copyright © 2016年 lianxiang. All rights reserved.
|
|
//
|
|
|
|
#import "KanHuWorkViewFirstCell.h"
|
|
#import "UIImageView+WebCache.h"
|
|
|
|
@implementation KanHuWorkViewFirstCell
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
// Initialization code
|
|
self.backView.layer.masksToBounds = YES;
|
|
self.backView.layer.cornerRadius = 5;
|
|
|
|
}
|
|
|
|
-(void)cellsetshopsInfoWith:(CertificationShopModel*)shopinfo{
|
|
|
|
|
|
UserModel *userModel=[dataContorl getUserInfo];
|
|
|
|
[self.headerImg sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kGetIconUrl,userModel.userImg]]];
|
|
self.nameLabel.text = shopinfo.shopsName;
|
|
self.telLbel.text = shopinfo.shopsPhone;
|
|
self.loactionLabel.text =[NSString stringWithFormat:@"%@%@%@%@",shopinfo.shopsProvince,shopinfo.shopsCity,shopinfo.shopsArea,shopinfo.shopsAddress];
|
|
// self.loactionLabel.text =@"大到那时你才撒擦擦那是擦可是每次拉屎吃麻辣面吃了马刺阿里摩擦力马刺罗姆尼";
|
|
|
|
}
|
|
|
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
|
[super setSelected:selected animated:animated];
|
|
|
|
// Configure the view for the selected state
|
|
}
|
|
|
|
@end
|