//
//  MyTeamCollectionViewCell.m
//  ALand
//
//  Created by Z on 16/4/15.
//  Copyright © 2016年 Z. All rights reserved.
//

#import "MyTeamCollectionViewCell.h"
#import "MBLabelWithFontAdapter.h"
@interface MyTeamCollectionViewCell ()
@property (weak, nonatomic) IBOutlet MBLabelWithFontAdapter *labelTeamNums;
@property (weak, nonatomic) IBOutlet UIImageView *imgViewTeam;
@property (weak, nonatomic) IBOutlet MBLabelWithFontAdapter *labelPhone;
@property (weak, nonatomic) IBOutlet UILabel *labelAmount;
@property (weak, nonatomic) IBOutlet UIView *viewAmountBackround;

@end

@implementation MyTeamCollectionViewCell

- (void)awakeFromNib {
    self.viewAmountBackround.layer.cornerRadius = self.viewAmountBackround.height / 2;
    // Initialization code
}

- (void)cellWithModel:(JavenResellerModel *)model
{
    self.labelPhone.text = model.reseller.name;
    //self.labelTeamNums.text = [NSString stringWithFormat:@"一级成员(%d)", 2];
    self.labelAmount.text = [NSString stringWithFormat:@"￥%0.2f",model.commission];
}

@end
