fixed:1.首页tabbar 白条占位问题

2.我的设备页面修改
This commit is contained in:
jiangxuefei718 2019-03-19 14:21:34 +08:00
parent aef80f5505
commit a4ce800e3e
2 changed files with 7 additions and 9 deletions

View File

@ -96,15 +96,13 @@
//self.navigationBar.alpha=0;
self.view.backgroundColor=COLOR_MIAN;
[self creatTableView];
return;
// [self initUI];
// [self fishTankData];
//
// [self creatMyindicaterView];
// [self notBindDeviceState];
// [self creatRefreshView];
[self initUI];
[self fishTankData];
[self creatMyindicaterView];
[self notBindDeviceState];
[self creatRefreshView];
}

View File

@ -675,7 +675,7 @@
[self.tableView registerNib:[UINib nibWithNibName:@"TabBarDeviceShouYeCell" bundle:nil] forCellReuseIdentifier:@"TabBarDeviceShouYeCell"];
[self.tableView registerNib:[UINib nibWithNibName:@"TabbarDeiceSecdCell" bundle:nil] forCellReuseIdentifier:@"TabbarDeiceSecdCell"];
//CGFloat sapce=TabContentHeaght*0.011;//20/1776
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height-TOP_HEIGHT) style:UITableViewStyleGrouped];
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height) style:UITableViewStyleGrouped];
self.tableView.delegate = self;
self.tableView.dataSource = self;