| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- //
- // MOLiveCell.h
- // MiMoLive
- //
- // Created by SuperC on 2023/10/18.
- //
- #define MOLiveCell_ID @"MOLiveCell_ID" //复用id
- #import <UIKit/UIKit.h>
- #import "MOLiveList.h"
- #define StatusFont 10.0
- NS_ASSUME_NONNULL_BEGIN
- @interface MOStatusButton: UIButton
- @end
- @interface MOLiveCell : UICollectionViewCell
- /** 背景 */
- @property (nonatomic, strong) UIView *bgView;
- /** 背景图片 */
- @property (nonatomic, strong) UIImageView *bgImgView;
- @property (nonatomic, strong) UIImageView *hotImgView;
- /** 状态 */
- @property (nonatomic, strong) MOStatusButton *statusBtn;
- /** 人数 */
- @property (nonatomic, strong) BigBtn *numButton;
- /** 标题 */
- @property (nonatomic, strong) UILabel *titleLab;
- @property (nonatomic, strong) UIImageView *countryImgView;
- @property (nonatomic, strong) UILabel *nameLab;
- /** 更多 */
- @property (nonatomic, strong) BigBtn *moreBtn;
- /** 数据 */
- @property (nonatomic, strong) MOLiveList *model;
- @property (nonatomic, strong) UIImageView *shadowView;
- @property (nonatomic, strong) UIView *moreView;
- @property (nonatomic, strong) UIButton *noLikeBtn;
- /** */
- @property (nonatomic, copy) void (^moreBtnBlock)(MOLiveList *model);
- /** */
- @property (nonatomic, copy) void (^cancelBtnBlock)(MOLiveList *model);
- /** 不喜欢回调 */
- @property (nonatomic, copy) void (^noLikeBlock)(MOLiveList *model);
- @end
- NS_ASSUME_NONNULL_END
|