| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- //
- // MOWebViewController.h
- // MiMoLive
- //
- // Created by SuperC on 2023/12/25.
- //
- #define kWebCallBack_Close @"closeActivity" //关闭界面
- #define kWebCallBack_GetUserInfo @"getUserInfo" //传用户信息
- #define kWebCallBack_GetStatusHeight @"getStatusHeight" //状态栏高度
- #define kWebCallBack_GetLanguage @"getLanguage" //语言
- #define kWebCallBack_GetDiamond @"needUpdateDiamond" //获取钻石
- #define kWebCallBack_ToGetRain @"getRedRainInfo" //获取红包雨
- #define kWebCallBack_ToSubmitShareLink @"submitShareLink" //分享(斋月活动)
- #define kWebCallBack_ToSubmitShareLinkResponse @"getShareLinkResultResponse" //分享结果(斋月活动)
- #define kWebCallBack_TokenExpired @"tokenExpired" //token过期
- #define kWebCallBack_ExportUrl @"exportUrl" //打开链接
- #define kWebCallBack_ChagneMysteriousStatus @"changeMysteriousStatus" //设置神秘人开关
- #define kWebCallBack_GetBlindBoxScreenParams @"getBlindBoxScreenParams"//盲盒礼物获取屏幕相关信息
- #define kWebCallBack_SetBlindBoxResult @"setBlindBoxResult" //盲盒抽奖后,将整个返回数据返回给移动端
- #define kWebCallBack_ShareToPlatAgency @"shareToPlat" //分享(全民代理)
- #define kWebCallBack_GetShareLinkAgencyResultResponse @"getShareLinkAgencyResultResponse" //分享结果(全民代理)
- #define kWebCallBack_BindAgencySuccess @"bindAgencySuccessFul" //H5手动绑定后调用原生方法,需要刷新我的页面绑定状态
- #import "MOBaseViewController.h"
- #import <WebKit/WebKit.h>
- #import "MOEnterDataModels.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface MOWebViewController : MOBaseViewController
- @property (nonatomic, strong) WKWebView *poWebView;
- /** url */
- @property (nonatomic, copy) NSURL *webUrl;
- @property (nonatomic, assign) BOOL isNeedFirstRefresh;
- /** 请求 */
- @property (nonatomic, strong) NSURLRequest *request;
- @property (nonatomic, assign) BOOL isHalfShow;
- @property (nonatomic, strong) NSString *titleStr;
- /** 展示H5标题, 如果titleStr不传值的时候可以使用 */
- @property (nonatomic, assign) BOOL isShowTitle;
- @property (nonatomic, assign) BOOL isHaveSafeTop;
- /** 退出界面时 是否需要刷新余额 */
- @property (nonatomic, assign) BOOL isNeedUpdateMoney;
- @property (nonatomic, assign) BOOL isRedRain;
- @property (nonatomic, strong) NSDictionary *redRainData;
- @property (nonatomic, copy) NSString *roomId;
- @property (nonatomic, assign) NSInteger minHeight;
- @property (nonatomic, copy) void (^closeViewBlock)(void);
- @property (nonatomic, assign) BOOL isFirstAdWeb;
- //进入基础类
- @property (nonatomic, strong) MOWameEnterData *enterBaseData;
- @property (nonatomic, strong) MOWame2 *wame2Config;
- @property (nonatomic, assign) CGFloat wameKeyboardHeight;
- @property (nonatomic, assign) BOOL isWame;
- @property (nonatomic, assign) BOOL isMiniWame;
- @property (nonatomic, strong) NSNumber *blindBoxPaddingTop;//盲盒礼物需要的参数
- @end
- NS_ASSUME_NONNULL_END
|