DSRSSelectMenuContentTableViewCell.h 1.05 KB
//
//  DSRSSelectMenuContentTableViewCell.h
//  DSCnliveShopSDK
//
//  Created by zhaolin on 2019/7/10.
//  Copyright © 2019 BIKE. All rights reserved.
//

#import <DSBaseModule/DSBaseModule.h>
#import "DSRSSelectMenuModel.h"
#import "DSRSSelectMenuEnum.h"

NS_ASSUME_NONNULL_BEGIN

@interface DSRSSelectMenuContentTableViewCell : DSTableViewCell

#pragma mark - 回调

@property (nonatomic,copy) void (^clickAddCallBack)(DSRSSelectMenuListListModel * model, DSImageView * addImageView);
@property (nonatomic,copy) void (^clickSubtractCallBack)(DSRSSelectMenuListListModel * model);

#pragma mark - 赋值

/**
 修改购买数量赋值
 */
@property (nonatomic,assign) NSInteger buyCount;
/**
 是否是选中的商品 在店铺选取商品界面上有用
 */
@property (nonatomic,assign) BOOL isSelect;

@property (nonatomic,strong,readonly) DSRSSelectMenuListListModel * model;
@property (nonatomic,assign,readonly) DSRSSelectMenuDisplayStyle style;

-(void)setModel:(DSRSSelectMenuListListModel*)model style:(DSRSSelectMenuDisplayStyle)style;

@end

NS_ASSUME_NONNULL_END