diff --git a/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/Xuanduo2SettingController.m b/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/Xuanduo2SettingController.m index d85960d..fd3e88e 100644 --- a/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/Xuanduo2SettingController.m +++ b/Ifish/controllers/FishTinkController/maincontroller/CenterontrolControllers/XuTo/Xuanduo2SettingController.m @@ -356,27 +356,28 @@ static NSString *setTimerflag = @"SetTimerCell"; [cell configTitleLabel:@"循环开关" timer:[NSString stringWithFormat:@"持续时长%d分钟",[dataContorl hexToTen:model.lastTime]] switchStatus:isOn]; - if (indexPath.section==1+_titieArr.count) + + + cell.selectionStyle = UITableViewCellSelectionStyleNone; + + } + if (indexPath.section==1+_titieArr.count) + { + if(_selectSection == indexPath.section) { - if(_selectSection == indexPath.section) - { - cell.backImageView.image=[UIImage imageNamed:@"bottomRound"]; - } - else - { - - cell.backImageView.image=[UIImage imageNamed:@"ifishSetCell_back.png"]; - } - + cell.backImageView.image=[UIImage imageNamed:@"bottomRound"]; } else { cell.backImageView.image=[UIImage imageNamed:@"ifishSetCell_back.png"]; } - - cell.selectionStyle = UITableViewCellSelectionStyleNone; - + + } + else + { + + cell.backImageView.image=[UIImage imageNamed:@"ifishSetCell_back.png"]; } return cell; }