ICRAppMacro.h 2.14 KB
Newer Older
mei's avatar
mei committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
//
//  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
#define ICR_TINTCOLOR                   [UIColor colorWithR:63 g:134 b:244 a:1]
#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]

// HTTP
//#define HTTP_REST_API_BASE_URL          @"http://115.28.191.44:8080/IPatrol/rest"

//new HTTP
freecui's avatar
freecui committed
29 30
//#define HTTP_REST_API_BASE_URL  @"http://218.244.151.129:7580/cruiser-server/rest"
#define HTTP_REST_API_BASE_URL  @"http://122.224.171.126:7280/cruiser-server/rest"
陈俊俊's avatar
陈俊俊 committed
31
#define Server_Url  @"http://218.244.151.129:7580/cruiser-server"
mei's avatar
mei committed
32

freecui's avatar
freecui committed
33
//10月23   122.224.171.126:7280
陈俊俊's avatar
陈俊俊 committed
34
//#define HTTP_REST_API_BASE_URL  @"http://218.244.151.129:8281/XFFruit-server/rest"
n22's avatar
n22 committed
35

mei's avatar
mei committed
36 37 38 39 40 41 42 43 44 45
// Import Headers
#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
46 47 48 49 50 51 52 53




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


//  高度
#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
70
#endif