12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- //
- // TrainDetailVC.m
- // LN_School
- //
- // Created by EchoShacolee on 2017/12/13.
- // Copyright © 2017年 Danson. All rights reserved.
- //
- #import "TrainDetailVC.h"
- @interface TrainDetailVC ()
- @end
- @implementation TrainDetailVC
- - (void)viewDidLoad {
- [super viewDidLoad];
- self.navigationItem.title = @"训练场地详情";
- [self setSegmentControllWithTitles:@[@"基本信息"] isBttomBar:NO];
- }
- -(void)setData{
- //self.headImgStr = self.dataSource[@"EI_PHOTO_PATH"];
-
- NSString *string = [NSString stringWithFormat:@"%@",self.dataSource[@"ISPICKUP"]];
- if ([string isEqualToString:@"1"]) {
- [self.dataSource setObject:@"接送" forKey:@"ISPICKUP_string"];
- }else if ([string isEqualToString:@"0"]) {
- [self.dataSource setObject:@"不接送" forKey:@"ISPICKUP_string"];
- }else {
- [self.dataSource setObject:@"" forKey:@"ISPICKUP_string"];
- }
-
- _keysArr = @[
- @[@"场地名称",@"NAME"],
- @[@"场地地址",@"ADDRESS"],
- @[@"场地面积",@"AREA"],
- @[@"培训车型",@"TRAINTYPE"],
- @[@"培训车品牌",@"CARMODEL"],
-
- @[@"训练时间",@"TRAINTIME"],
- @[@"场地负责人",@"PRINCIPAL"],
- @[@"负责人电话",@"MOBILE"],
- @[@"场地电话",@"TELPHONE"],
- @[@"是否接送",@"ISPICKUP_string"],
- @[@"接送路线",@"PICK_LINE"],
- //@[@"场地简介",@""],
- @[@"备注",@"REMARK"],
- ];
-
- [super setData];
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
- }
- /*
- #pragma mark - Navigation
- // In a storyboard-based application, you will often want to do a little preparation before navigation
- - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
- // Get the new view controller using [segue destinationViewController].
- // Pass the selected object to the new view controller.
- }
- */
- @end
|