Commit 87ecd1a5a043fc224e26da2c06df6a4f2e747eaf
1 parent
f18dcd38
no message
Showing
2 changed files
with
5 additions
and
0 deletions
CNLiveBalanceModule/Classes/TradingRecord/CNLiveTradingRecordController.m
| ... | ... | @@ -174,7 +174,11 @@ static const CGFloat height = 80; |
| 174 | 174 | self.endTime = endTime; |
| 175 | 175 | [self loadData]; |
| 176 | 176 | } |
| 177 | +- (void)setDate:(NSString *)date{ | |
| 178 | + _date = date; | |
| 179 | + _tradingRecordView.date = date; | |
| 177 | 180 | |
| 181 | +} | |
| 178 | 182 | - (void)pushToMonthBillController{ |
| 179 | 183 | NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; |
| 180 | 184 | [formatter setDateFormat:@"yyyy年M月"]; | ... | ... |
CNLiveBalanceModule/Classes/TradingRecord/CNLiveTradingRecordView.m
| ... | ... | @@ -160,6 +160,7 @@ static const NSInteger height = 30; |
| 160 | 160 | [_switchTime addTarget:self action:@selector(switchTimeDidClicked:) forControlEvents:UIControlEventTouchUpInside]; |
| 161 | 161 | _switchTime.imagePosition = QMUIButtonImagePositionRight; |
| 162 | 162 | _switchTime.spacingBetweenImageAndTitle = 8; |
| 163 | + | |
| 163 | 164 | } |
| 164 | 165 | return _switchTime; |
| 165 | 166 | } | ... | ... |