|
@@ -88,7 +88,7 @@
|
|
|
[_topSegment addTarget:self action:@selector(selectedSegment:) forControlEvents:UIControlEventValueChanged];
|
|
|
[self.view addSubview:_topSegment];
|
|
|
|
|
|
- _secondSegment = [[HMSegmentedControl alloc] initWithSectionTitles:@[@"一级",@"二级",@"三级",@"四级",@"五级",@"六级",@"七级",@"八级",@"九级",@"十级"]];
|
|
|
+ _secondSegment = [[HMSegmentedControl alloc] initWithSectionTitles:@[@"壹级",@"贰级",@"叁级",@"肆级",@"伍级",@"陆级",@"柒级",@"捌级",@"玖级",@"拾级"]];
|
|
|
_secondSegment.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:15.0f], NSForegroundColorAttributeName:HexRGB(0x999999)};
|
|
|
_secondSegment.selectedTitleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:15.0f weight:UIFontWeightMedium], NSForegroundColorAttributeName:HexRGB(0x333333)};
|
|
|
_secondSegment.selectionIndicatorColor = [UIColor whiteColor];
|