青少年模式隐藏部分功能

This commit is contained in:
chenguilong
2022-09-27 15:07:31 +08:00
parent 49a77fa182
commit 49f8c6f86c
23 changed files with 464 additions and 11 deletions

View File

@@ -43,6 +43,8 @@ NS_ASSUME_NONNULL_BEGIN
// 是否隐藏导航 默认是不隐藏的
@property(nonatomic,assign,getter=isHiddenNavBar) BOOL hiddenNavBar;
///是否青少年模式
@property (nonatomic, assign) BOOL parentMode;
/**
显示/隐藏导航
*/

View File

@@ -22,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN
///强调色2 0xFB486A
+ (UIColor *)appEmphasizeColor2;
/* ------页面相关颜色 START------ */
/// view的背景色 0xF4F4FA
/// view的背景色 0xF3F5FA
+ (UIColor *)appBackgroundColor;
/// cell的背景色 0xFFFFFF
+ (UIColor *)appCellBackgroundColor;

View File

@@ -29,7 +29,7 @@
}
/* ------ START------ */
/// view 0xF4F4FA
/// view 0xF3F5FA
+ (UIColor *)appBackgroundColor {
return UIColorFromRGB(0xF3F5FA);
}