ICRAppMacro.h 2.24 KB
Newer Older
mei's avatar
mei committed
1 2 3 4 5 6 7 8 9 10 11 12
//
//  ICRAppMacro.h
//  XFFruit
//
//  Created by Xummer on 15/3/25.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#ifndef XFFruit_ICRAppMacro_h
#define XFFruit_ICRAppMacro_h

// COLOR
freecui's avatar
freecui committed
13
#define ICR_TINTCOLOR                   [UIColor colorWithR:63 g:134 b:244 a:1] //蓝色
mei's avatar
mei committed
14 15 16 17 18 19 20 21 22 23 24
#define ICR_VIEW_BG_COLOR               [UIColor whiteColor]
#define ICR_BLUE_BTN_COLOR              ICR_TINTCOLOR
#define ICR_GRAY_BTN_COLOR              [UIColor lightGrayColor]
#define ICR_ORANGE_BTN_COLOR            [UIColor colorWithR:250 g:155 b:52 a:1]
#define ICR_DISABLE_BTN_COLOR           [UIColor colorWithW:202 a:1]
#define ICR_NAVIBAR_ITEM_COLOR          [UIColor whiteColor]
#define ICR_NAVIBAR_ITEM_DISABLE_COLOR  [UIColor colorWithW:1 a:.5f]
#define ICR_NAVIBAR_TITLE_COLOR         [UIColor whiteColor]
#define ICR_TABBAR_TINT_COLOR           [UIColor colorWithR:36 g:38 b:53 a:1]
#define ICR_IMAGE_BG_COLOR              [UIColor colorWithW:242 a:1]

陈俊俊's avatar
陈俊俊 committed
25
//阿里云内部测试环境
freecui's avatar
freecui committed
26
//#define HTTP_REST_API_BASE_URL  @"http://218.244.151.129:7580/cruiser-server/rest"
陈俊俊's avatar
陈俊俊 committed
27
#define Server_Url  @"http://218.244.151.129:7580/cruiser-server"
mei's avatar
mei committed
28

陈俊俊's avatar
陈俊俊 committed
29 30 31 32 33 34 35 36 37 38
//现场测试环境
#define HTTP_REST_API_BASE_URL  @"http://122.224.171.126:7280/cruiser-server/rest"
//#define Server_Url   @"http://122.224.171.126:7280/cruiser-server"





// HTTP
//#define HTTP_REST_API_BASE_URL          @"http://115.28.191.44:8080/IPatrol/rest"
freecui's avatar
freecui committed
39
//10月23   122.224.171.126:7280
陈俊俊's avatar
陈俊俊 committed
40
//#define HTTP_REST_API_BASE_URL  @"http://218.244.151.129:8281/XFFruit-server/rest"
n22's avatar
n22 committed
41

mei's avatar
mei committed
42 43 44 45 46 47 48 49 50
#import "ICRUtilsMacro.h"
#import "ICRVendorMacro.h"
#import "ICRHTTPController.h"
#import "ICRUserUtil.h"
#import "ICRAppViewControllerManager.h"
#import "ICRDataBaseController.h"
#import "NSData+EncodeAdditions.h"
#import "UIScrollView+Content.h"

freecui's avatar
freecui committed
51 52 53 54 55 56 57 58




//Avatar
//颜色
#define   GXF_LABLE_TINT_COLOR  HexColor(@"444444")
#define   GXF_LABLE_BG_COLOR  XXFBgColor
zhu's avatar
zhu committed
59 60 61
#define   GXF_GREEN_COLOR HexColor(@"50bd62")
#define   GXF_ORIGIN_COLOR HexColor(@"f69100")
#define   GXF_GRAY_COLOR  HexColor(@"444444")
freecui's avatar
freecui committed
62
//字体大小
zhu's avatar
zhu committed
63
#define   GXF_LABLE_FONT FontSize(15)
freecui's avatar
freecui committed
64 65 66 67 68 69 70 71 72 73 74


//  高度
#define NavigationBarHeight 64
#define BottomViewHeight 60
#define GXF_TABLEVIEW_NOMALCELL_HEIGHT 44
#define KeyboardHeight 258

#define SEARCH_TOP_HEIGHT 50
#define SEARCH_TABLECELL_HEIGHT 50

mei's avatar
mei committed
75
#endif