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

#import <UIKit/UIKit.h>

曹云霄's avatar
曹云霄 committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24

/**
 *  右侧筛选菜单点击
 */
@protocol ScreeningButtonClickdelegate <NSObject>

@required

- (void)screeningButtonClick:(NSInteger)buttontag;

@end



曹云霄's avatar
曹云霄 committed
25 26
@interface ScreeningView : UIView

曹云霄's avatar
曹云霄 committed
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 65 66 67 68 69 70

/**
 *  风格按钮
 */
@property (weak, nonatomic) IBOutlet UIButton *styleButton;

/**
 *  类型按钮
 */
@property (weak, nonatomic) IBOutlet UIButton *typeButton;

/**
 *  空间按钮
 */
@property (weak, nonatomic) IBOutlet UIButton *spaceButton;

/**
 *  材质按钮
 */
@property (weak, nonatomic) IBOutlet UIButton *materialButton;


/**
 *  价格按钮
 */
@property (weak, nonatomic) IBOutlet UIButton *spriceButton;


/**
 *  背景View
 */
@property (weak, nonatomic) IBOutlet UIView *backgroundView;

/**
 *  筛选、分类切换
 */
@property (weak, nonatomic) IBOutlet UISegmentedControl *sortingSegmented;

/**
 *  阴影View
 */
@property (weak, nonatomic) IBOutlet UIView *shadowView;


曹云霄's avatar
曹云霄 committed
71 72 73 74
/**
 *  代理
 */
@property (nonatomic,assign) id<ScreeningButtonClickdelegate> delegate;
曹云霄's avatar
曹云霄 committed
75 76 77



曹云霄's avatar
曹云霄 committed
78 79 80 81
/**
 *  选中按钮(其他设为未选中状态)
 */
@property (nonatomic,assign) NSInteger indexselected;
曹云霄's avatar
曹云霄 committed
82 83 84 85 86 87 88 89 90









曹云霄's avatar
曹云霄 committed
91
@end