UserCenterTopView.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. //
  2. // UserCenterTopView.h
  3. // BuguLive
  4. //
  5. // Created by 范东 on 2019/1/15.
  6. // Copyright © 2019 xfg. All rights reserved.
  7. //
  8. #import "BGBaseView.h"
  9. @class userPageModel;
  10. NS_ASSUME_NONNULL_BEGIN
  11. typedef NS_ENUM(NSInteger, UserCenterTopViewBtnType) {
  12. UserCenterTopViewBtnTypeSet,
  13. UserCenterTopViewBtnTypeEdit,
  14. UserCenterTopViewBtnTypeRecord,
  15. UserCenterTopViewBtnTypeVideo,
  16. UserCenterTopViewBtnTypeFocus,
  17. UserCenterTopViewBtnTypeFan,
  18. UserCenterTopViewBtnTypeIcon,
  19. UserCenterTopViewBtnTypeSign,
  20. UserCenterTopViewBtnTypeAccount,
  21. UserCenterTopViewBtnTypeIncome,
  22. UserCenterTopViewBtnTypeVIP,
  23. UserCenterTopViewBtnTypeShop,
  24. UserCenterTopViewBtnTypeLevel,
  25. UserCenterTopViewBtnTypeFamily,
  26. };
  27. typedef void(^clickBtnBlock)(UserCenterTopViewBtnType type);
  28. @interface UserCenterTopView : BGBaseView
  29. - (void)setViewWithModel:(userPageModel *)userInfoM;
  30. - (void)setClickBtnBlock:(clickBtnBlock)clickBtnBlock;
  31. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *rankLeftConstraint;
  32. @property (weak, nonatomic) IBOutlet QMUIButton *shopBtn;
  33. @property (weak, nonatomic) IBOutlet QMUIButton *vipBtn;
  34. @property (weak, nonatomic) IBOutlet QMUIButton *levelBtn;
  35. @property (weak, nonatomic) IBOutlet QMUIButton *familyBtn;
  36. @property (weak, nonatomic) IBOutlet UIImageView *accountImgView;
  37. @property (weak, nonatomic) IBOutlet UIImageView *incomeImgView;
  38. @property (weak, nonatomic) IBOutlet UILabel *diamondL;
  39. @property (weak, nonatomic) IBOutlet UILabel *incomeL;
  40. @property (weak, nonatomic) IBOutlet QMUIButton *signButton;
  41. @property (weak, nonatomic) IBOutlet UIImageView *nobleImgView;
  42. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *nobleLeftImgConstraint;
  43. @end
  44. NS_ASSUME_NONNULL_END