KWMCollectionCell.h 746 Bytes
Newer Older
houweibin committed
1 2 3 4 5 6 7 8 9 10
//
//  KWMCollectionCell.h
//  iCemarose
//
//  Created by 陈荣科 on 16/9/1.
//  Copyright © 2016年 kollway. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Buy/Buy.h"
11
#import "KWMDataProduct.h"
houweibin committed
12 13

@interface KWMCollectionCell : UICollectionViewCell
lee committed
14

houweibin committed
15 16 17 18 19 20 21 22
@property (weak, nonatomic) IBOutlet UIImageView *ivCollectionCell;
@property (weak, nonatomic) IBOutlet UILabel *lbBrand;
@property (weak, nonatomic) IBOutlet UILabel *lbDiscount;
@property (weak, nonatomic) IBOutlet UILabel *lbPrice;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *discountLeft;

@property (nonatomic) BUYProduct *product;

houweibin committed
23 24
@property (nonatomic) BOOL isMore;

houweibin committed
25
-(void)setData:(BUYProduct *)product;
26
-(void)setDataProduct:(KWMDataProduct *) product;
houweibin committed
27 28

@end