ICRAppMacro.h 2.59 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
13 14 15 16 17 18 19 20 21 22 23
#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]
Sandy's avatar
Sandy committed
24 25 26

#ifdef Demonstrate
//********演示环境*********
27 28 29
#define HTTP_REST_API_BASE_URL                                                 \
  @"http://jdcg.demo.hd123.cn:7080/cruiser-server/rest"
#define HTTP_REST_REPORT_BASE_URL @"http://jdcg.demo.hd123.cn:7080"
Sandy's avatar
Sandy committed
30 31

#else
32
//********开发环境********
Sandy's avatar
Sandy committed
33
//#define HTTP_REST_API_BASE_URL  @"http://gomoredev:8090/cruiser-server/rest"
mei's avatar
mei committed
34

35
//********测试环境********
Sandy's avatar
Sandy committed
36
#define HTTP_REST_API_BASE_URL @"http://122.224.171.126:7280/cruiser-server/rest"
陈俊俊's avatar
陈俊俊 committed
37

38 39 40 41
//********正式环境*********
//#define HTTP_REST_API_BASE_URL
//@"http://122.224.171.126:7380/cruiser-server/rest"
#define HTTP_REST_REPORT_BASE_URL @"http://122.224.171.126:7380"
Sandy's avatar
Sandy committed
42
#endif
Sandy's avatar
Sandy committed
43

陈俊俊's avatar
陈俊俊 committed
44
// HTTP
45 46 47 48
//#define HTTP_REST_API_BASE_URL @"http://115.28.191.44:8080/IPatrol/rest"
// 10月23   122.224.171.126:7280
//#define HTTP_REST_API_BASE_URL
//@"http://218.244.151.129:8281/XFFruit-server/rest"
n22's avatar
n22 committed
49

50 51
#import "Accounttitle.h"
#import "GXFProductUnit.h"
mei's avatar
mei committed
52 53
#import "ICRAppViewControllerManager.h"
#import "ICRDataBaseController.h"
54 55 56 57 58
#import "ICRHTTPController.h"
#import "ICRUserUtil.h"
#import "ICRUtilsMacro.h"
#import "ICRVendorMacro.h"
#import "JavenImages.h"
mei's avatar
mei committed
59
#import "NSData+EncodeAdditions.h"
陈俊俊's avatar
陈俊俊 committed
60
#import "Product.h"
61
#import "UIScrollView+Content.h"
陈俊俊's avatar
陈俊俊 committed
62
#import "User.h"
63
#import "UserWarehouse.h"
陈俊俊's avatar
陈俊俊 committed
64 65
#import "Vendor.h"
#import "Warehouse.h"
freecui's avatar
freecui committed
66

67
// Avatar
freecui's avatar
freecui committed
68
//颜色
69 70 71 72 73
#define GXF_LABLE_TINT_COLOR HexColor(@"444444")
#define GXF_LABLE_BG_COLOR XXFBgColor
#define GXF_GREEN_COLOR HexColor(@"50bd62")
#define GXF_ORIGIN_COLOR HexColor(@"f69100")
#define GXF_GRAY_COLOR HexColor(@"444444")
freecui's avatar
freecui committed
74
//字体大小
75
#define GXF_LABLE_FONT FontSize(15)
freecui's avatar
freecui committed
76 77 78 79 80 81 82 83 84 85

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