30 lines
765 B
Objective-C
30 lines
765 B
Objective-C
//
|
|
// QXSystemTopView.h
|
|
// QXLive
|
|
//
|
|
// Created by 启星 on 2025/5/26.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "TIMCommonModel.h"
|
|
#import "QXMessageModel.h"
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@protocol QXSystemTopViewDelegate <NSObject>
|
|
@optional
|
|
/// type 0 官方公告 1系统消息
|
|
-(void)didClickNoticeWithType:(NSInteger)type;
|
|
|
|
@end
|
|
@interface QXSystemTopView : UIView
|
|
@property (nonatomic,weak)id<QXSystemTopViewDelegate>delegate;
|
|
@property (nonatomic,strong) QXMessageModel *model;
|
|
@end
|
|
|
|
@interface QXSystemTopSubView : UIView
|
|
@property (nonatomic,strong)UILabel *titleLabel;
|
|
@property (nonatomic,strong)UIImageView *iconImageView;
|
|
@property (nonatomic,strong)UILabel *subTitleLabel;
|
|
@property (nonatomic,strong)TUIUnReadView *unreadView;
|
|
@end
|
|
NS_ASSUME_NONNULL_END
|