From 06d0979e421b576e592bf10527e8b8b54f40ef13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9D=E5=8F=91=E5=86=AC?= Date: Mon, 19 Dec 2022 12:37:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../XuTo/Xuanduo2SettingController.m | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) 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; }