if ([model.securityType isEqualToString:@"3"]) {
[HBHttpTool postSSECode:str titiName:model.stockName subType:ALLFUND viewController:self followId:nil securityType:model.securityType];
}else{
[HBHttpTool postSSECode:str titiName:model.stockName subType:nil viewController:self followId:nil securityType:model.securityType];
}
// :显示委托价格的label
if ([model.entrustStrategy isEqualToString:@"0"]) {
self.entrustPriceLabel.text = [NSString stringWithFormat:@"%@元",model.entrustPrice];
}else{
if (model.entrustStrategy) {
int number = model.entrustStrategy.intValue;
NSArray *buyAndSell = @[@"",@"现",@"卖五",@"卖四",@"卖三",@"卖二",@"卖一",@"买一",@"买二",@"买三",@"买四",@"买五",];
self.entrustPriceLabel.text= [NSString stringWithFormat:@"即时%@价",buyAndSell[number]];
}else{
}
}
//不再提醒
- (void)ignoreButtonClick:(UIButton *)btn
{
btn.selected = !btn.selected;
if(btn.selected == YES)
{
[[NSUserDefaults standardUserDefaults] setObject:IGNOREON forKey:IGNORE];
[[NSUserDefaults standardUserDefaults] synchronize];
}
else
{
[[NSUserDefaults standardUserDefaults] setObject:IGNOREOFF forKey:IGNORE];
[[NSUserDefaults standardUserDefaults] synchronize];
}
}