Commit b03fd189 authored by freecui's avatar freecui

报表,企信界面

parent d433768e
......@@ -52,20 +52,21 @@
+ (void)customTabbarAppearance {
if (IBT_IOS7_OR_LATER) {
[[UITabBar appearance] setBarTintColor:ICR_TABBAR_TINT_COLOR];
[[UITabBar appearance] setBarTintColor:XXFBgColor];
//[[UITabBar appearance] setBarTintColor:ICR_TABBAR_TINT_COLOR];
}
else {
[[UITabBar appearance] setTintColor:ICR_TABBAR_TINT_COLOR];
}
UIImage *selTab = [[UIImage imageNamed:@"TabbarSelectedBG"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
UIImage *selTab = [[UIImage imageNamed:@""] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];//TabbarSelectedBG
CGSize tabSize = CGSizeMake(IBT_MAIN_SCREEN_WIDTH/4, 49);
UIGraphicsBeginImageContext(tabSize);
[selTab drawInRect:CGRectMake(0, 0, tabSize.width, tabSize.height)];
UIImage *reSizeImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
[[UITabBar appearance] setSelectionIndicatorImage:reSizeImage];
// [[UITabBar appearance] setSelectionIndicatorImage:reSizeImage];
}
+ (void)customLableAppearance {
......
......@@ -81,7 +81,7 @@
#pragma mark - Private Method
- (void)initSubViews {
UIImageView *bg = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"SystemImage"]];
UIImageView *bg = [[UIImageView alloc] initWithImage:[UIImage imageWithColor:GXF_SAVE_COLOR]];//[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"SystemImage"]]; //;
bg.frame = self.bounds;
// bg.contentMode = UIViewContentModeScaleAspectFill;
[bg autoresizingWithStrechFullSize];
......
......@@ -10,7 +10,7 @@
#define XFFruit_ICRAppMacro_h
// COLOR
#define ICR_TINTCOLOR [UIColor colorWithR:63 g:134 b:244 a:1]
#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]
......
......@@ -95,7 +95,7 @@
#define GXF_NSUSERFEFTAULTS [NSUserDefaults standardUserDefaults]
#define GXF_NAVIGAYION_COLOR HexColor(@"7ebf74")
#define GXF_SAVE_COLOR HexColor(@"50bd62")
#define GXF_SAVE_COLOR HexColor(@"50bd62") //主调颜色绿色
#define GXF_COMMIT_COLOR HexColor(@"f69100")
#define GXF_PLACEHOLDER_COLOR HexColor(@"bbbbbb")
#define GXF_CONTENT_COLOR HexColor(@"444444")
......
......@@ -57,27 +57,36 @@
// Do any additional setup after loading the view.
// UIBarButtonItem *backBtn = [[UIBarButtonItem alloc]initWithTitle:@"返回" style:UIBarButtonItemStyleDone target:self action:nil];
// self.navigationItem.backBarButtonItem = backBtn;
[self setupSubviews];
//
if ([CLLocationManager locationServicesEnabled]) {
self.locationManager = [[CLLocationManager alloc] init];
_locationManager.delegate = self;
_locationManager.desiredAccuracy = kCLLocationAccuracyBest; //控制定位精度,越高耗电量越大。
_locationManager.distanceFilter = 100; //控制定位服务更新频率。单位是“米”
[_locationManager startUpdatingLocation];
//在ios 8.0下要授权
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0)
[_locationManager requestWhenInUseAuthorization]; //调用了这句,就会弹出允许框了.
}
CGRect rect = CGRectMake(0, 200, self.view.width, 30);
IBTUILabel *lbl = [[IBTUILabel alloc]initWithFrame:rect];
lbl.text = @"哎呦,功能还没实现呢,下次再来看看吧。";
lbl.textAlignment = NSTextAlignmentCenter;
lbl.font = [UIFont systemFontOfSize:15];
lbl.textColor = GXF_NAVIGAYION_COLOR;
[self.view addSubview:lbl];
// [self setupSubviews];
////
// if ([CLLocationManager locationServicesEnabled]) {
//
// self.locationManager = [[CLLocationManager alloc] init];
//
// _locationManager.delegate = self;
//
// _locationManager.desiredAccuracy = kCLLocationAccuracyBest; //控制定位精度,越高耗电量越大。
//
// _locationManager.distanceFilter = 100; //控制定位服务更新频率。单位是“米”
//
// [_locationManager startUpdatingLocation];
//
// //在ios 8.0下要授权
//
// if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0)
//
// [_locationManager requestWhenInUseAuthorization]; //调用了这句,就会弹出允许框了.
//
// }
}
- (void)didReceiveMemoryWarning {
......@@ -88,7 +97,7 @@
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[self fetchCurrentStore];
// [self fetchCurrentStore];
}
#pragma mark - Setter
......
......@@ -40,11 +40,19 @@ UITableViewDelegate
- (void)viewDidLoad {
[super viewDidLoad];
[self setupSubviews];
[self initData];
[self getUnuploadData];
// [self setupSubviews];
// [self initData];
// [self getUnuploadData];
// Do any additional setup after loading the view.
CGRect rect = CGRectMake(0, 200, self.view.width, 30);
IBTUILabel *lbl = [[IBTUILabel alloc]initWithFrame:rect];
lbl.text = @"哎呦,功能还没实现呢,下次再来看看吧。";
lbl.textAlignment = NSTextAlignmentCenter;
lbl.font = [UIFont systemFontOfSize:15];
lbl.textColor = GXF_NAVIGAYION_COLOR;
[self.view addSubview:lbl];
}
- (void)didReceiveMemoryWarning {
......
......@@ -117,19 +117,19 @@
[self.m_tableViewInfo addSection:secInfo];
#if DEBUG
// HTTP API
secInfo = [IBTTableViewSectionInfo sectionInfoHeader:@"Test"];
cellInfo =
[IBTTableViewCellInfo normalCellForSel:@selector(onShowHTTPTestView:) target:self
title:[IBTCommon localizableString:@"HTTP Restful API"]
rightValue:nil
accessoryType:UITableViewCellAccessoryDisclosureIndicator];
[cellInfo addUserInfoValue:titleColor forKey:CInfoTitleColorKey];
cellInfo.fCellHeight = fCellHeight;
[secInfo addCell:cellInfo];
[self.m_tableViewInfo addSection:secInfo];
#endif
//#if DEBUG
// // HTTP API
// secInfo = [IBTTableViewSectionInfo sectionInfoHeader:@"Test"];
// cellInfo =
// [IBTTableViewCellInfo normalCellForSel:@selector(onShowHTTPTestView:) target:self
// title:[IBTCommon localizableString:@"HTTP Restful API"]
// rightValue:nil
// accessoryType:UITableViewCellAccessoryDisclosureIndicator];
// [cellInfo addUserInfoValue:titleColor forKey:CInfoTitleColorKey];
// cellInfo.fCellHeight = fCellHeight;
// [secInfo addCell:cellInfo];
// [self.m_tableViewInfo addSection:secInfo];
//#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment