1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- //
- // UseBodyView.h
- // KulexiuForTeacher
- //
- // Created by 王智 on 2022/5/27.
- //
- #import <UIKit/UIKit.h>
- typedef NS_ENUM(NSInteger, USERSETTING) {
- USERSETTING_AVATAL = 1001, // 头像
- USERSETTING_NAME, // 修改姓名
- USERSETTING_SEX, // 修改性别
- USERSETTING_PHONE, // 修改手机号
- USERSETTING_BIRTHDAY, // 生日
- USERSETTING_SUBJECT, // 声部设置
- USERSETTING_PWD, // 修改密码
- USERSETTING_VEFI, // 实名认证
- USERSETTING_LOGOUT, // 退出登录
- };
- typedef void(^UserSettingCallback)(USERSETTING type);
- NS_ASSUME_NONNULL_BEGIN
- @interface UseBodyView : UIView
- @property (weak, nonatomic) IBOutlet UIImageView *userAvatal;
- @property (weak, nonatomic) IBOutlet UILabel *nickNameLabel;
- @property (weak, nonatomic) IBOutlet UILabel *genderLabel;
- @property (weak, nonatomic) IBOutlet UILabel *phoneLabel;
- @property (weak, nonatomic) IBOutlet UILabel *authStatusLabel;
- @property (weak, nonatomic) IBOutlet UILabel *birthdayLabel;
- @property (weak, nonatomic) IBOutlet UILabel *subjectLabel;
- + (instancetype)shareInstance;
- - (void)userSettingAction:(UserSettingCallback)callback;
- - (CGFloat)getViewHeight;
- @end
- NS_ASSUME_NONNULL_END
|