1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- //
- // YMPersonalPageViewModel.h
- // MSYOUPAI
- //
- // Created by YoMi on 2024/2/17.
- // Copyright © 2024 MS. All rights reserved.
- //
- #import "MSYOUPAIViewModel.h"
- #import "YMPersonalPageAlbumCellViewModel.h"
- #import "YMPersonalPageInfoCellViewModel.h"
- #import "YMPersonalPageDynamicCellViewModel.h"
- #import "YMPersonalPageTagCellViewModel.h"
- #import "YMPersonalPageGiftWallCellViewModel.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface YMPersonalPageViewModel : MSYOUPAIViewModel
- /// 获取个人主页数据
- - (void)getPersonalPageData;
- /// 打开更多弹窗
- - (void)openMoreAlert;
- /// 关注用户
- - (void)followUser;
- /// 前往个人动态
- - (void)gotoPersonalDynamic;
- /// 前往编辑资料
- - (void)gotoEditProfile;
- /// 发送搭讪请求
- - (void)sendAccostRequest;
- /// 拨打视频
- - (void)callVideo;
- /// 前往私聊
- - (void)gotoPrivateChat;
- /// 相册数据
- @property (nonatomic, strong, readonly) NSArray <YMPersonalPageAlbumCellViewModel *>*albumDataArray;
- /// 展示语音
- @property (nonatomic, strong, readonly) NSString *showcaseVoice;
- /// 展示语音秒数
- @property (nonatomic, assign, readonly) NSInteger showcaseVoiceSeconds;
- /// 用户昵称
- @property (nonatomic, strong, readonly) NSString *userNickname;
- /// 用户昵称颜色
- @property (nonatomic, strong, readonly) UIColor *userNicknameColor;
- /// 用户在线状态颜色
- @property (nonatomic, strong, readonly) UIColor *userOnlineStatusColor;
- /// 用户在线状态文本
- @property (nonatomic, strong, readonly) NSString *userOnlineStatusText;
- @property (nonatomic, strong, readonly) NSString *userOnlineImgStr;
- /// 用户性别和年龄图标
- @property (nonatomic, strong, readonly) UIImage *userGenderAndAgeIcon;
- /// 用户性别和年龄文本
- @property (nonatomic, strong, readonly) NSString *userGenderAndAgeText;
- /// 是否真人认证
- @property (nonatomic, assign, readonly) BOOL isRealPersonCert;
- /// 是否VIP
- @property (nonatomic, assign, readonly) BOOL isVIP;
- /// 余额
- @property (nonatomic, assign, readonly) NSInteger balance;
- /// 用户费用金额
- @property (nonatomic, copy, readonly) NSString * userVideoFeesAmount;
- /// 是否隐藏用户收费金额
- @property (nonatomic, assign, readonly) BOOL isHideUserFeesAmount;
- /// 用户性别
- @property (nonatomic, strong, readonly) NSString *userGender;
- /// 用户简介
- @property (nonatomic, strong, readonly) NSString *userIntro;
- /// 是否关注
- @property (nonatomic, assign, readonly) BOOL isFollow;
- /// 信息数据
- @property (nonatomic, strong, readonly) NSArray <YMPersonalPageInfoCellViewModel *>*infoDataArray;
- /// 动态数量
- @property (nonatomic, strong, readonly) NSString *dynamicNumber;
- /// 动态数据
- @property (nonatomic, strong, readonly) NSArray <YMPersonalPageDynamicCellViewModel *>*dynamicDataArray;
- /// 标签数据
- @property (nonatomic, strong, readonly) NSArray <YMPersonalPageTagCellViewModel *>*tagDataArray;
- /// 礼物墙数据
- @property (nonatomic, strong, readonly) NSArray <YMPersonalPageGiftWallCellViewModel *>*giftWallDataArray;
- /// 是否隐藏动态
- @property (nonatomic, assign, readonly) BOOL isHideDynamic;
- /// 是否隐藏标签
- @property (nonatomic, assign, readonly) BOOL isHideTag;
- /// 是否隐藏礼物墙
- @property (nonatomic, assign, readonly) BOOL isHideGiftWall;
- /// 是否他人主页
- @property (nonatomic, assign, readonly) BOOL isOtherPersonalPage;
- /// 是否可私聊
- @property (nonatomic, assign, readonly) BOOL isCanPrivateChat;
- /// 心动或搭讪按钮标题 “心动”字样是给女用户的 “搭讪”字样是给男用户
- @property (nonatomic, strong, readonly) NSString *heartbeatOrAccostButtonTitle;
- /// 心动或搭讪按钮图片
- @property (nonatomic, strong, readonly) NSString *heartbeatOrAccostButtonImage;
- @property (nonatomic, assign, readonly) BOOL bottomHidden;
- @end
- NS_ASSUME_NONNULL_END
|