Constant.h 7.13 KB
Newer Older
admin's avatar
admin committed
1 2 3 4 5 6 7 8 9 10 11
//
//  Constant.h
//  redstar
//
//  Created by admin on 15/10/22.
//  Copyright © 2015年 ZWF. All rights reserved.
//

#ifndef Constant_h
#define Constant_h

admin's avatar
admin committed
12 13
#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]
admin's avatar
admin committed
14

admin's avatar
admin committed
15 16 17 18 19 20 21 22
#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

23
#define kPushTag 2354924
admin's avatar
admin committed
24

25

admin's avatar
admin committed
26 27 28 29 30 31
// ----- 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
admin's avatar
admin committed
32
#define kLoginButtonBackGroundColor [UIColor colorWithRed:47 / 255.0 green:170 / 255.0 blue: 229 / 255.0 alpha:1.0]
admin's avatar
admin committed
33 34
// #dddddd
#define kSeparateLineColor [UIColor colorWithRed:221 / 255.0 green:221 / 255.0 blue:221 / 255.0 alpha:1.0]
35
#define kSeparateLineCGColor [[UIColor colorWithRed:221 / 255.0 green:221 / 255.0 blue:221 / 255.0 alpha:1.0] CGColor]
admin's avatar
admin committed
36 37 38 39 40 41 42 43

// ----- 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]
44 45 46 47 48 49 50 51 52
// #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]
admin's avatar
admin committed
53

54 55 56 57
// RankingList
// #999999
#define kRankHeadTitleTextColor [UIColor colorWithRed:153 / 255.0 green:153 / 255.0 blue:153 / 255.0 alpha:1.0]
// #006fbc
admin's avatar
admin committed
58
#define kDateButtonTextColor [UIColor colorWithRed:47 / 255.0 green:170 / 255.0 blue: 229 / 255.0 alpha:1.0]
59 60
#define kShopCountTextColor [UIColor colorWithRed:255 / 255.0 green:0 / 255.0 blue:0 / 255.0 alpha:1.0]
// #006fbc
admin's avatar
admin committed
61
#define kScoreTextColor [UIColor colorWithRed:47 / 255.0 green:170 / 255.0 blue: 229 / 255.0 alpha:1.0]
62 63 64 65 66
// #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]

67 68 69 70 71 72 73 74 75
// 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]
76
#define kOnLineCompleteHeaderTextColor [UIColor colorWithRed:80 / 255.0 green:80 / 255.0 blue:80 / 255.0 alpha:1.0]
77 78 79 80 81 82 83 84 85 86 87 88 89 90


// 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]

91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
// 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]

112 113 114 115 116
// 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]
admin's avatar
admin committed
117 118
// #fff6f0
#define kQuestionFeedBackColor [UIColor colorWithRed:255 / 255.0 green:246 / 255.0 blue:240 / 255.0 alpha:1.0]
119

admin's avatar
admin committed
120 121 122
// #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]
123

124 125 126 127
// #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]
128

admin's avatar
admin committed
129 130 131 132
#define kAnnounceHeaderColor [UIColor colorWithRed:236 / 255.0 green:238 / 255.0 blue:250 / 255.0 alpha:1.0]



admin's avatar
admin committed
133
#define kCommentViewHeight 300
134

135
#define kTaxisViewHeight 150
136
#define kScreenViewHeight 240
admin's avatar
admin committed
137 138
#define kMoreScreenViewHeight 410

139

admin's avatar
admin committed
140 141 142
#define kRefreshInspectPointNotification @"refreshInspectPoint"
#define kRefreshQuestionNotification @"refershQuestionList"

143

admin's avatar
admin committed
144 145 146
#import "UIView+Extension.h"

#endif /* Constant_h */