// // Constant.h // redstar // // Created by admin on 15/10/22. // Copyright © 2015年 ZWF. All rights reserved. // #ifndef Constant_h #define Constant_h #define kNavigationBarColor [UIColor colorWithRed:47 / 255.0 green:170 / 255.0 blue: 229 / 255.0 alpha:1.0] #define kNavigationBarCGColor [[UIColor colorWithRed:47 / 255.0 green:170 / 255.0 blue: 229 / 255.0 alpha:1.0] CGColor] #define kRemindTextColor [UIColor colorWithRed:133 / 255.0 green:133/255.0 blue:133/255.0 alpha:1.0] #define kMineBackGroundColor [UIColor colorWithRed:243 / 255.0 green:243 / 255.0 blue:243 / 255.0 alpha:1.0] #define kHomeSectionButtonTextColor [UIColor colorWithRed:186 / 255.0 green:186 / 255.0 blue:186 / 255.0 alpha:1.0] #define kLineColor [UIColor colorWithRed:209 / 255.0 green:209 / 255.0 blue:209 / 255.0 alpha:1.0] #define kScreenWidth [UIScreen mainScreen].bounds.size.width #define kScreenHeight [UIScreen mainScreen].bounds.size.height #define kPushTag 2354924 // ----- Login ----- // #dddddd #define kUsernameBorderColor [[UIColor colorWithRed:221 / 255.0 green:221 / 255.0 blue:221 / 255.0 alpha:1.0] CGColor] // #dddddd #define kPasswordBorderColor [[UIColor colorWithRed:221 / 255.0 green:221 / 255.0 blue:221 / 255.0 alpha:1.0] CGColor] // #006fbc #define kLoginButtonBackGroundColor [UIColor colorWithRed:47 / 255.0 green:170 / 255.0 blue: 229 / 255.0 alpha:1.0] // #dddddd #define kSeparateLineColor [UIColor colorWithRed:221 / 255.0 green:221 / 255.0 blue:221 / 255.0 alpha:1.0] #define kSeparateLineCGColor [[UIColor colorWithRed:221 / 255.0 green:221 / 255.0 blue:221 / 255.0 alpha:1.0] CGColor] // ----- Home ----- // #bbbbbb #define kMoreButtonTextColor [UIColor colorWithRed:187 / 255.0 green:187 / 255.0 blue:187 / 255.0 alpha:1.0] // #f6f6f6 #define kSectionBackGroundColor [UIColor colorWithRed:246 / 255.0 green:246 / 255.0 blue:246 / 255.0 alpha:1.0] // #999999 #define kHomeSectionTitleTextColor [UIColor colorWithRed:153 / 255.0 green:153 / 255.0 blue:153 / 255.0 alpha:1.0] // #444444 #define kAnnounceTextColor [UIColor colorWithRed:68 / 255.0 green:68 / 255.0 blue:68 / 255.0 alpha:1.0] // #adadad #define kPointColor [UIColor colorWithRed:173 / 255.0 green:173 / 255.0 blue:173 / 255.0 alpha:1.0] // #cccccc #define kSeparateLineViewColor [UIColor colorWithRed:204 / 255.0 green:204 / 255.0 blue:204 / 255.0 alpha:1.0] #define kLineCGColor [[UIColor colorWithRed:209 / 255.0 green:209 / 255.0 blue:209 / 255.0 alpha:1.0] CGColor] // #666666 #define kHomeItemTextColor [UIColor colorWithRed:102 / 255.0 green:102 / 255.0 blue:102 / 255.0 alpha:1.0] // RankingList // #999999 #define kRankHeadTitleTextColor [UIColor colorWithRed:153 / 255.0 green:153 / 255.0 blue:153 / 255.0 alpha:1.0] // #006fbc #define kDateButtonTextColor [UIColor colorWithRed:47 / 255.0 green:170 / 255.0 blue: 229 / 255.0 alpha:1.0] #define kShopCountTextColor [UIColor colorWithRed:255 / 255.0 green:0 / 255.0 blue:0 / 255.0 alpha:1.0] // #006fbc #define kScoreTextColor [UIColor colorWithRed:47 / 255.0 green:170 / 255.0 blue: 229 / 255.0 alpha:1.0] // #444444 #define kShopNameTextColor [UIColor colorWithRed:68 / 255.0 green:68 / 255.0 blue:68 / 255.0 alpha:1.0] // #fe6903 #define kGradeNumberTextColor [UIColor colorWithRed:254 / 255.0 green:105 / 255.0 blue:3 / 255.0 alpha:1.0] // RankingDetail // #444444 #define kDetailSection0TitleColor [UIColor colorWithRed:68 / 255.0 green:68 / 255.0 blue:68 / 255.0 alpha:1.0] // #999999 #define kDetailSection1TitleColor [UIColor colorWithRed:153 / 255.0 green:153 / 255.0 blue:153 / 255.0 alpha:1.0] // #999999 #define kDetailSmallTitleColor [UIColor colorWithRed:153 / 255.0 green:153 / 255.0 blue:153 / 255.0 alpha:1.0] // #444444 #define kDetailBigTitleColor [UIColor colorWithRed:68 / 255.0 green:68 / 255.0 blue:68 / 255.0 alpha:1.0] #define kOnLineCompleteHeaderTextColor [UIColor colorWithRed:80 / 255.0 green:80 / 255.0 blue:80 / 255.0 alpha:1.0] // InspectList // #f3f3f3 #define kInspectSectionBackGroundColor [UIColor colorWithRed:243 / 255.0 green:243 / 255.0 blue:243 / 255.0 alpha:1.0] #define kInspectSectionButtonTextColor [UIColor colorWithRed:97 / 255.0 green:97 / 255.0 blue:97 / 255.0 alpha:1.0] #define kCellTitleColor [UIColor colorWithRed:53 / 255.0 green:53 / 255.0 blue:53 / 255.0 alpha:1.0] #define kCellDetailColor [UIColor colorWithRed:83 / 255.0 green:83 / 255.0 blue:83 / 255.0 alpha:1.0] #define kProgressUnSettledColor [UIColor colorWithRed:255 / 255.0 green:0 / 255.0 blue:0 / 255.0 alpha:1.0] #define kProgressDealWithColor [UIColor colorWithRed:49 / 255.0 green:57 / 255.0 blue:126 / 255.0 alpha:1.0] #define kProgressOverDueColor [UIColor colorWithRed:117 / 255.0 green:117 / 255.0 blue:117 / 255.0 alpha:1.0] #define kProgressViewAllBackColor [UIColor colorWithRed:244 / 255.0 green:244 / 255.0 blue:244 / 255.0 alpha:1.0] #define kProgressViewAlreadyBackColor [UIColor colorWithRed:112 / 255.0 green:120 / 255.0 blue:216 / 255.0 alpha:1.0] // OnLine // #444444 #define kOnLineCellTitleColor [UIColor colorWithRed:68 / 255.0 green:68 / 255.0 blue:68 / 255.0 alpha:1.0] // #bbbbbb #define kOnLineCellDetailColor [UIColor colorWithRed:187 / 255.0 green:187 / 255.0 blue:187 / 255.0 alpha:1.0] // #f6f6f6 #define kFootViewBackGroundColor [UIColor colorWithRed:246 / 255.0 green:246 / 255.0 blue:246 / 255.0 alpha:1.0] // Picture #define kPictureCellTitleColor [UIColor colorWithRed:68 / 255.0 green:68 / 255.0 blue:68 / 255.0 alpha:1.0] #define kPictureCellDetailsColor [UIColor colorWithRed:83 / 255.0 green:83 / 255.0 blue:83 / 255.0 alpha:1.0] #define kPictureCellDateColor [UIColor colorWithRed:135 / 255.0 green:135 / 255.0 blue:135 / 255.0 alpha:1.0] // Question // #444444 #define kQuestionCellTitleColor [UIColor colorWithRed:68 / 255.0 green:68 / 255.0 blue:68 / 255.0 alpha:1.0] // #fe6903 #define kHotBackGroundColor [UIColor colorWithRed:254 / 255.0 green:105 / 255.0 blue:3 / 255.0 alpha:1.0] // #999999 #define kQuestionStateColor [UIColor colorWithRed:153 / 255.0 green:153 / 255.0 blue:153 / 255.0 alpha:1.0] // QuestionDetail // #888888 #define kDetailCellDescribeTextColor [UIColor colorWithRed:136 / 255.0 green:136 / 255.0 blue:136 / 255.0 alpha:1.0] // #444444 #define kdetailCellTitleColor [UIColor colorWithRed:68 / 255.0 green:68 / 255.0 blue:68 / 255.0 alpha:1.0] // #fff6f0 #define kQuestionFeedBackColor [UIColor colorWithRed:255 / 255.0 green:246 / 255.0 blue:240 / 255.0 alpha:1.0] // #fe6903 #define kQuestionFeedBackTitleColor [UIColor colorWithRed:254 / 255.0 green:105 / 255.0 blue:3 / 255.0 alpha:1.0] #define kQuestionFeedBackTitleCGColor [[UIColor colorWithRed:254 / 255.0 green:105 / 255.0 blue:3 / 255.0 alpha:1.0] CGColor] // #999999 #define kLightGray [UIColor colorWithRed:153 / 255.0 green:153 / 255.0 blue:153 / 255.0 alpha:1.0] // #444444 #define kLightBlack [UIColor colorWithRed:68 / 255.0 green:68 / 255.0 blue:68 / 255.0 alpha:1.0] #define kAnnounceHeaderColor [UIColor colorWithRed:236 / 255.0 green:238 / 255.0 blue:250 / 255.0 alpha:1.0] #define kResultTitleBackColor [UIColor colorWithRed:238 / 255.0 green:238 / 255.0 blue:244 / 255.0 alpha:1.0] #define kSelectStoreColor [UIColor colorWithRed:111 / 255.0 green:120 / 255.0 blue:216 / 255.0 alpha:1.0] #define kCommentViewHeight 300 #define kCommentWithStarViewHeight 325 #define kTaxisViewHeight 150 #define kScreenViewHeight 240 #define kMoreScreenViewHeight 410 #define kRefreshInspectPointNotification @"refreshInspectPoint" #define kRefreshQuestionNotification @"refershQuestionList" #define kQuestionGroupNotification @"questionGroup" #define kTAxisBtnTag 500232 #import "UIView+Extension.h" #endif /* Constant_h */