YMPersonalPageViewModel.h 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. //
  2. // YMPersonalPageViewModel.h
  3. // MSYOUPAI
  4. //
  5. // Created by YoMi on 2024/2/17.
  6. // Copyright © 2024 MS. All rights reserved.
  7. //
  8. #import "MSYOUPAIViewModel.h"
  9. #import "YMPersonalPageAlbumCellViewModel.h"
  10. #import "YMPersonalPageInfoCellViewModel.h"
  11. #import "YMPersonalPageDynamicCellViewModel.h"
  12. #import "YMPersonalPageTagCellViewModel.h"
  13. #import "YMPersonalPageGiftWallCellViewModel.h"
  14. NS_ASSUME_NONNULL_BEGIN
  15. @interface YMPersonalPageViewModel : MSYOUPAIViewModel
  16. /// 获取个人主页数据
  17. - (void)getPersonalPageData;
  18. /// 打开更多弹窗
  19. - (void)openMoreAlert;
  20. /// 关注用户
  21. - (void)followUser;
  22. /// 前往个人动态
  23. - (void)gotoPersonalDynamic;
  24. /// 前往编辑资料
  25. - (void)gotoEditProfile;
  26. /// 发送搭讪请求
  27. - (void)sendAccostRequest;
  28. /// 拨打视频
  29. - (void)callVideo;
  30. /// 前往私聊
  31. - (void)gotoPrivateChat;
  32. /// 相册数据
  33. @property (nonatomic, strong, readonly) NSArray <YMPersonalPageAlbumCellViewModel *>*albumDataArray;
  34. /// 展示语音
  35. @property (nonatomic, strong, readonly) NSString *showcaseVoice;
  36. /// 展示语音秒数
  37. @property (nonatomic, assign, readonly) NSInteger showcaseVoiceSeconds;
  38. /// 用户昵称
  39. @property (nonatomic, strong, readonly) NSString *userNickname;
  40. /// 用户昵称颜色
  41. @property (nonatomic, strong, readonly) UIColor *userNicknameColor;
  42. /// 用户在线状态颜色
  43. @property (nonatomic, strong, readonly) UIColor *userOnlineStatusColor;
  44. /// 用户在线状态文本
  45. @property (nonatomic, strong, readonly) NSString *userOnlineStatusText;
  46. @property (nonatomic, strong, readonly) NSString *userOnlineImgStr;
  47. /// 用户性别和年龄图标
  48. @property (nonatomic, strong, readonly) UIImage *userGenderAndAgeIcon;
  49. /// 用户性别和年龄文本
  50. @property (nonatomic, strong, readonly) NSString *userGenderAndAgeText;
  51. /// 是否真人认证
  52. @property (nonatomic, assign, readonly) BOOL isRealPersonCert;
  53. /// 是否VIP
  54. @property (nonatomic, assign, readonly) BOOL isVIP;
  55. /// 余额
  56. @property (nonatomic, assign, readonly) NSInteger balance;
  57. /// 用户费用金额
  58. @property (nonatomic, copy, readonly) NSString * userVideoFeesAmount;
  59. /// 是否隐藏用户收费金额
  60. @property (nonatomic, assign, readonly) BOOL isHideUserFeesAmount;
  61. /// 用户性别
  62. @property (nonatomic, strong, readonly) NSString *userGender;
  63. /// 用户简介
  64. @property (nonatomic, strong, readonly) NSString *userIntro;
  65. /// 是否关注
  66. @property (nonatomic, assign, readonly) BOOL isFollow;
  67. /// 信息数据
  68. @property (nonatomic, strong, readonly) NSArray <YMPersonalPageInfoCellViewModel *>*infoDataArray;
  69. /// 动态数量
  70. @property (nonatomic, strong, readonly) NSString *dynamicNumber;
  71. /// 动态数据
  72. @property (nonatomic, strong, readonly) NSArray <YMPersonalPageDynamicCellViewModel *>*dynamicDataArray;
  73. /// 标签数据
  74. @property (nonatomic, strong, readonly) NSArray <YMPersonalPageTagCellViewModel *>*tagDataArray;
  75. /// 礼物墙数据
  76. @property (nonatomic, strong, readonly) NSArray <YMPersonalPageGiftWallCellViewModel *>*giftWallDataArray;
  77. /// 是否隐藏动态
  78. @property (nonatomic, assign, readonly) BOOL isHideDynamic;
  79. /// 是否隐藏标签
  80. @property (nonatomic, assign, readonly) BOOL isHideTag;
  81. /// 是否隐藏礼物墙
  82. @property (nonatomic, assign, readonly) BOOL isHideGiftWall;
  83. /// 是否他人主页
  84. @property (nonatomic, assign, readonly) BOOL isOtherPersonalPage;
  85. /// 是否可私聊
  86. @property (nonatomic, assign, readonly) BOOL isCanPrivateChat;
  87. /// 心动或搭讪按钮标题 “心动”字样是给女用户的 “搭讪”字样是给男用户
  88. @property (nonatomic, strong, readonly) NSString *heartbeatOrAccostButtonTitle;
  89. /// 心动或搭讪按钮图片
  90. @property (nonatomic, strong, readonly) NSString *heartbeatOrAccostButtonImage;
  91. @property (nonatomic, assign, readonly) BOOL bottomHidden;
  92. @end
  93. NS_ASSUME_NONNULL_END