You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.3 KiB

//
// RailListCell.h
// tongxin
//
// Created by WeiChaoZheng on 2018/8/17.
// Copyright © 2018年 xTT. All rights reserved.
//
#import "TableCell.h"
#import "Rail.h"
#import "KJMarqueeLabel.h"
typedef void(^EditingBlock)(void);
typedef void(^DelectBlock)(void);
typedef void(^SwitchBlock)(void);
@interface RailListCell : baseCell
/**
*/
@property (strong, nonatomic) Rail *model;
/**
eg :
*/
@property (strong, nonatomic) IBOutlet KJMarqueeLabel *railNameLabel;
/**
rg : 8:00-12:00,
*/
@property (strong, nonatomic) IBOutlet UILabel *ruleLabel;
/**
eg: ....
*/
@property (strong, nonatomic) IBOutlet UILabel *addressLabel;
/**
eg: 500
*/
@property (strong, nonatomic) IBOutlet UILabel *railRangeLabel;
/**
*/
@property (strong, nonatomic) IBOutlet UIButton *delectBtn;
/**
*/
@property (strong, nonatomic) IBOutlet UIButton *editingBtn;
@property (strong, nonatomic) IBOutlet UIView *line;
// 编辑回调
@property (copy, nonatomic) EditingBlock editingBlock;
// 启用回调
@property (copy, nonatomic) SwitchBlock switchBlock;
// 删除回调
@property (copy, nonatomic) DelectBlock deleteBlock;
@end