Commit 5fbb023b authored by 曹云霄's avatar 曹云霄

Merge branch 'master' of https://git.oschina.net/gomore/total

parents b9ff909a 174063ef
...@@ -140,25 +140,25 @@ typedef NS_ENUM(NSUInteger, bottomTag) { ...@@ -140,25 +140,25 @@ typedef NS_ENUM(NSUInteger, bottomTag) {
}]; }];
self.valideTimeItem = [RERadioItem itemWithTitle:@"有效时间(h):" value:nil selectionHandler:^(RERadioItem *item) { self.valideTimeItem = [RERadioItem itemWithTitle:@"有效时间(h):" value:nil selectionHandler:^(RERadioItem *item) {
[item selectRowAnimated:YES];
NSArray *arrRiskGrades = @[@"8",@"12",@"24",@"48",@"72"]; // NSArray *arrRiskGrades = @[@"8",@"12",@"24",@"48",@"72"];
RETableViewOptionsController *optionsController = [[RETableViewOptionsController alloc] initWithItem:item options:arrRiskGrades multipleChoice:NO completionHandler:^(RETableViewItem *selectedItem){ // RETableViewOptionsController *optionsController = [[RETableViewOptionsController alloc] initWithItem:item options:arrRiskGrades multipleChoice:NO completionHandler:^(RETableViewItem *selectedItem){
[weakSelf.navigationController popViewControllerAnimated:YES]; // [weakSelf.navigationController popViewControllerAnimated:YES];
// if (!self.d_licence) { //// if (!self.d_licence) {
// self.d_licence.riskGrade = item.value; //// self.d_licence.riskGrade = item.value;
//// }
// [item reloadRowWithAnimation:UITableViewRowAnimationNone];
// }];
// optionsController.delegate = weakSelf;
// optionsController.style = section.style;
// if (weakSelf.c_tableView.backgroundView == nil) {
// optionsController.tableView.backgroundColor = weakSelf.c_tableView.backgroundColor;
// optionsController.tableView.backgroundView = nil;
// } // }
[item reloadRowWithAnimation:UITableViewRowAnimationNone]; //
}]; // // Push the options controller
optionsController.delegate = weakSelf; // //
optionsController.style = section.style; // [weakSelf.navigationController pushViewController:optionsController animated:YES];
if (weakSelf.c_tableView.backgroundView == nil) {
optionsController.tableView.backgroundColor = weakSelf.c_tableView.backgroundColor;
optionsController.tableView.backgroundView = nil;
}
// Push the options controller
//
[weakSelf.navigationController pushViewController:optionsController animated:YES];
// GTOCollectionViewController *dVC = [[GTOCollectionViewController alloc] init]; // GTOCollectionViewController *dVC = [[GTOCollectionViewController alloc] init];
// dVC.blockValideTime = ^(NSUInteger validTime){ // dVC.blockValideTime = ^(NSUInteger validTime){
......
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