123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- //
- // RQConstant.m
- // RQCommon
- //
- // Created by 张嵘 on 2018/11/13.
- // Copyright © 2018 张嵘. All rights reserved.
- //
- #import "RQConstant.h"
- #import <UIKit/UIKit.h>
- #pragma mark - 应用相关的
- /// 切换根控制器的通知 新特性
- NSString * const RQSwitchRootViewControllerNotification = @"RQSwitchRootViewControllerNotification";
- /// 切换根控制器的通知 UserInfo key
- NSString * const RQSwitchRootViewControllerUserInfoKey = @"RQSwitchRootViewControllerUserInfoKey";
- /// 插件Switch按钮值改变
- NSString * const RQPlugSwitchValueDidChangedNotification = @"RQPlugSwitchValueDidChangedNotification";
- /// 切换首页的通知
- NSString * const RQSwitchHomePageViewControllerNotification = @"RQSwitchHomePageViewControllerNotification";
- /// 切换首页的通知 UserInfo key
- NSString * const RQSwitchHomePageViewControllerUserInfoKey = @"RQSwitchHomePageViewControllerUserInfoKey";
- /// 切换个人页的通知
- NSString * const RQSwitchProfilePageViewControllerNotification = @"RQSwitchProfilePageViewControllerNotification";
- /// 切换个人页的通知 UserInfo key
- NSString * const RQSwitchProfilePageViewControllerUserInfoKey = @"RQSwitchProfilePageViewControllerUserInfoKey";
- /// Loding通用标题
- NSString * const RQLodingCommonTitleString = @"请稍后...";
- /// 全局分割线高度 .5
- CGFloat const RQGlobalBottomLineHeight = 0.5f;
- /// 个性签名的最大字数为30
- NSUInteger const RQFeatureSignatureMaxWords = 30;
- /// 用户昵称的最大字数为20
- NSUInteger const RQNicknameMaxWords = 20;
- /// 简书首页地址
- NSString * const RQMyBlogHomepageUrl = @"http://www.jianshu.com/u/126498da7523";
- /// 国家区号
- NSString * const RQMobileLoginZoneCodeKey = @"RQMobileLoginZoneCodeKey";
- /// 手机号码
- NSString * const RQMobileLoginPhoneKey = @"RQMobileLoginPhoneKey";
- /// 密码
- NSString * const RQMobileLoginPasswordKey = @"RQMobileLoginPasswordKey";
- /// 验证码
- NSString * const RQCaptchaKey = @"RQCaptchaKey";
- /// 验证码时间
- NSUInteger const RQCaptchaFetchMaxWords = 60;
- /// 温州人脸比对次数
- NSUInteger const RQWenZhouFaceNum = 3;
- /// 莆田人脸比对次数
- NSUInteger const RQPuTianFaceNum = 1;
- /// 朋友圈 ---
- /// 分割线高度
- CGFloat const WXGlobalBottomLineHeight = .5f;
- /// 以下是 常量定义区
- /// profileView
- /// 头像宽高 15
- CGFloat const RQMomentProfileViewAvatarViewWH = 75.0f;
- /// 消息tips宽高 40
- CGFloat const RQMomentProfileViewTipsViewHeight = 40.0f;
- /// 消息tips宽高 181
- CGFloat const RQMomentProfileViewTipsViewWidth = 181.0f;
- /// 消息tipsView内部的头像宽高 30
- CGFloat const RQMomentProfileViewTipsViewAvatarWH = 30.0f;
- /// 消息tipsView内部的头像距离tipsView边距 5
- CGFloat const RQMomentProfileViewTipsViewInnerInset = 5.0f;
- /// 消息tipsView内部的右箭头距离tipsView边距 11
- CGFloat const RQMomentProfileViewTipsViewRightInset = 11.0f;
- /// 消息tipsView内部的右箭头宽高 15
- CGFloat const RQMomentProfileViewTipsViewRightArrowWH = 15.0f;
- /// 说说内容距离顶部的间距 16
- CGFloat const RQMomentContentTopInset = 16.0f;
- /// 说说内容距离左右屏幕的间距 20
- CGFloat const RQMomentContentLeftOrRightInset = 20.0f;
- /// 内容(控件)之间的的间距 10
- CGFloat const RQMomentContentInnerMargin = 10.0f;
- /// 用户头像的大小 44x44
- CGFloat const RQMomentAvatarWH = 44.0f;
- /// 向上箭头W 45
- CGFloat const RQMomentUpArrowViewWidth = 45.0f;
- /// 向上箭头H 6
- CGFloat const RQMomentUpArrowViewHeight = 6.0f;
- /// 全文、收起W
- CGFloat const RQMomentExpandButtonWidth = 35.0f;
- /// 全文、收起H
- CGFloat const RQMomentExpandButtonHeight = 25.0f;
- /// pictureView中图片之间的的间距 6
- CGFloat const RQMomentPhotosViewItemInnerMargin = 6.0f;
- /// pictureView中图片的大小 86x86 (屏幕尺寸>320)
- CGFloat const RQMomentPhotosViewItemWH1 = 86.0f;
- /// pictureView中图片的大小 70x70 (屏幕尺寸<=320)
- CGFloat const RQMomentPhotosViewItemWH2 = 70.0f;
- /// 分享内容高度
- CGFloat const RQMomentShareInfoViewHeight = 50.0f;
- /// videoView高度
- CGFloat const RQMomentVideoViewHeight = 181.0f;
- /// videoView宽度
- CGFloat const RQMomentVideoViewWidth = 103.0f;
- /// 正文内容的显示最大行数(PS:如果超过最大值,那么正文内容就单行显示,可以点击正文内容查看全部内容)
- NSUInteger const RQMomentContentTextMaxCriticalRow = 12000;
- /// 正文内容显示(全文/收起)的临界行
- NSUInteger const RQMomentContentTextExpandCriticalRow = 6;
- /// pictureView最多显示的图片数
- NSUInteger const RQMomentPhotosMaxCount = 9;
- /// 单张图片的最大高度(等比例)180 (ps:别问我为什么,我量出来的)
- CGFloat const RQMomentPhotosViewSingleItemMaxHeight = 180;
- /// 更多按钮宽高 (实际:25x25)
- CGFloat const RQMomentOperationMoreBtnWH = 25;
- /// footerViewHeight
- CGFloat const RQMomentFooterViewHeight = 15;
- //// 评论和点赞view 常量
- /// 评论内容距离顶部的间距 5
- CGFloat const RQMomentCommentViewContentTopOrBottomInset = 5;
- /// 评论内容距离评论View左右屏幕的间距 9
- CGFloat const RQMomentCommentViewContentLeftOrRightInset = 9;
- /// 点赞内容距离顶部的间距 7
- CGFloat const RQMomentCommentViewAttitudesTopOrBottomInset = 7;
- /// 更多操作View的Size 181x39
- CGFloat const RQMomentOperationMoreViewWidth = 181.0f;
- CGFloat const RQMomentOperationMoreViewHeight = 39.0f;
- /// 动画时间 .25f
- NSTimeInterval const RQMommentAnimatedDuration = .2f;
- /// 链接key
- NSString * const RQMomentLinkUrlKey = @"RQMomentLinkUrlKey";
- /// 电话号码key
- NSString * const RQMomentPhoneNumberKey = @"RQMomentPhoneNumberKey";
- /// 位置key
- NSString * const RQMomentLocationNameKey = @"RQMomentLocationNameKey";
- /// 用户信息key
- NSString * const RQMomentUserInfoKey = @"RQMomentUserInfoKey";
- /// 评论View
- /** 弹出评论框View最小高度 */
- CGFloat const RQMomentCommentToolViewMinHeight = 60;
- /** 弹出评论框View最大高度 */
- CGFloat const RQMomentCommentToolViewMaxHeight = 130;
- /** 弹出评论框View的除了编辑框的高度 */
- CGFloat const RQMomentCommentToolViewWithNoTextViewHeight = 20;
- /// 首页轮播图Modelkey
- NSString * const RQSignUpCycleModelsKey = @"RQSignUpCycleModelsKey";
- /// 计时轮播图Modelkey
- NSString * const RQTimingCycleModelsKey = @"RQTimingCycleModelsKey";
- /// 启动广告图key
- NSString * const RQStudentWelcomeImageModelKey = @"RQStudentWelcomeImageModelKey";
- /// 隐私政策地址
- NSString * const RQPrivacyPolicyUrl = @"https://ys.zzxcx.net/xy_sdjk.html";
- /// 公司名称
- NSString * const RQCompanyName = @"中振网络科技有限公司";
|