ShoppingCell.h 1.65 KB
Newer Older
zhu's avatar
zhu committed
1 2 3 4 5 6 7 8 9 10
//
//  ShoppingCell.h
//  Lighting
//
//  Created by mac on 16/5/23.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ShopcarModel.h"
11 12
#import "CustomTOGoodsEntity.h"
#import "CustomShopingSeclectButton.h"
zhu's avatar
zhu committed
13 14 15 16
@interface ShoppingCell : UITableViewCell
/**
 *  选中
 */
17
@property (strong, nonatomic)  CustomShopingSeclectButton *selectedButton;
zhu's avatar
zhu committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64

/**
 *  商品图片
 */
@property (strong, nonatomic)  UIImageView *goodsImageView;

/**
 *  商品信息
 */
@property (strong, nonatomic)  UILabel *goodsInformationLabe;

/**
 *  吊牌价格
 */
@property (strong, nonatomic)  UILabel *tagsPriceLabe;

/**
 *  成交价格
 */
@property (strong, nonatomic)  UITextField *clinchTextfield;

/**
 *  减号
 */
@property (strong, nonatomic)  UIButton *reduceButton;
/**
 *  商品数量
 */
@property (strong, nonatomic)  UILabel *goodsNumbersLabe;

/**
 *  加号
 */
@property (strong, nonatomic)  UIButton *addButton;


/**
 *  产品金额
 */
@property (strong, nonatomic)  UILabel *productPriceLabe;



/**
 *  数据源model
 */
@property (nonatomic,strong) ShopcarModel *model;
65
@property (nonatomic,strong)CustomTOGoodsEntity *customGoods;
66 67
@property (nonatomic,assign) int value;

zhu's avatar
zhu committed
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94

/**
 *  传入cel下标
 */
@property (nonatomic,assign) NSInteger cellindex;


/**
 *  传回选中状态
 */
@property (nonatomic,copy) void(^returnCellblock)(NSInteger index);
//选中索引
//@property (strong, nonatomic) NSIndexPath *indexpath;

/**
 *  成交价背景View
 */
@property (strong, nonatomic) UIView *ClinchPriceBackView;

/**
 *  商品数量
 */
//@property (nonatomic,assign) id<ChangeGoodsNumberDelegate>delegate;



@end