| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // WaitExamBodyView.h
- // MusicGradeExam
- //
- // Created by Kyle on 2020/7/15.
- // Copyright © 2020 DayaMusic. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "TicketDetailModel.h"
- typedef NS_ENUM(NSInteger, JOINROOMACTION) {
- JOINROOMACTION_SIGN, // 签到
- JOINROOMACTION_GUIDE, // 引导
- JOINROOMACTION_JOIN, // 进入房间
- };
- typedef void(^JoinRoomAction)(JOINROOMACTION action, TicketDetailModel * _Nullable source);
- NS_ASSUME_NONNULL_BEGIN
- @interface WaitExamBodyView : UIView
- @property (weak, nonatomic) IBOutlet UIButton *signButton;
- @property (nonatomic, assign) BOOL canJoinRoom;
- @property (weak, nonatomic) IBOutlet UIButton *joinButton;
- @property (weak, nonatomic) IBOutlet UIView *examMessageView;
- @property (weak, nonatomic) IBOutlet UIView *tipsView;
- - (CGFloat)configTipsHeight:(NSString *)tipsMessage;
- + (instancetype)shareInstance;
- - (void)configMessageSource:(TicketDetailModel *)source;
- - (void)operationCallback:(JoinRoomAction)callback;
- @end
- NS_ASSUME_NONNULL_END
|