Commit dc1fc738bc5ddd592aa2026bb226be7b409345b6
1 parent
14b57be2
no message
Showing
1 changed file
with
4 additions
and
15 deletions
CNLiveBMineModule/Classes/Setting/AboutUs/CNLiveAboutUsController.m
| @@ -30,7 +30,6 @@ | @@ -30,7 +30,6 @@ | ||
| 30 | @end | 30 | @end |
| 31 | 31 | ||
| 32 | @implementation CNLiveAboutUsController | 32 | @implementation CNLiveAboutUsController |
| 33 | -static const NSInteger timeValue = 1.5; | ||
| 34 | 33 | ||
| 35 | #pragma mark - 加载数据 | 34 | #pragma mark - 加载数据 |
| 36 | - (void)loadData { | 35 | - (void)loadData { |
| @@ -66,12 +65,6 @@ static const NSInteger timeValue = 1.5; | @@ -66,12 +65,6 @@ static const NSInteger timeValue = 1.5; | ||
| 66 | }, | 65 | }, |
| 67 | @{ | 66 | @{ |
| 68 | @"style":@"0", | 67 | @"style":@"0", |
| 69 | - @"title":@"版权信息", | ||
| 70 | - @"height":@"51", | ||
| 71 | - @"lineHeight":@"1" | ||
| 72 | - }, | ||
| 73 | - @{ | ||
| 74 | - @"style":@"0", | ||
| 75 | @"title":@"资质信息", | 68 | @"title":@"资质信息", |
| 76 | @"height":@"51", | 69 | @"height":@"51", |
| 77 | @"lineHeight":@"1" | 70 | @"lineHeight":@"1" |
| @@ -176,17 +169,13 @@ static const NSInteger timeValue = 1.5; | @@ -176,17 +169,13 @@ static const NSInteger timeValue = 1.5; | ||
| 176 | else if(indexPath.row == 3){ // 软件许可及服务协议 | 169 | else if(indexPath.row == 3){ // 软件许可及服务协议 |
| 177 | [CNLiveUserAgreementManager jumpToAgreementH5WithType:CNLiveUserAgreementPermission]; | 170 | [CNLiveUserAgreementManager jumpToAgreementH5WithType:CNLiveUserAgreementPermission]; |
| 178 | } | 171 | } |
| 179 | - else if(indexPath.row == 4){ // 版权信息 | ||
| 180 | - [CNLiveUserAgreementManager jumpToAgreementH5WithType:CNLiveUserAgreementQualificationInfo]; | ||
| 181 | - | ||
| 182 | - } | ||
| 183 | - else if(indexPath.row == 5){ // 资质信息 | 172 | + else if(indexPath.row == 4){ // 资质信息 |
| 184 | [CNLiveUserAgreementManager jumpToAgreementH5WithType:CNLiveUserAgreementQualificationInfo]; | 173 | [CNLiveUserAgreementManager jumpToAgreementH5WithType:CNLiveUserAgreementQualificationInfo]; |
| 185 | } | 174 | } |
| 186 | - else if(indexPath.row == 6){ // 当前版本 | 175 | + else if(indexPath.row == 5){ // 当前版本 |
| 187 | 176 | ||
| 188 | } | 177 | } |
| 189 | - else if(indexPath.row == 7){ // 联系我们 | 178 | + else if(indexPath.row == 6){ // 联系我们 |
| 190 | QMUIAlertAction *sure = [QMUIAlertAction actionWithTitle:@"确定" style:QMUIAlertActionStyleDefault handler:^(__kindof QMUIAlertController *aAlertController, QMUIAlertAction *action) { | 179 | QMUIAlertAction *sure = [QMUIAlertAction actionWithTitle:@"确定" style:QMUIAlertActionStyleDefault handler:^(__kindof QMUIAlertController *aAlertController, QMUIAlertAction *action) { |
| 191 | NSMutableString *tel = [[NSMutableString alloc] initWithFormat:@"telprompt://%@",@"010-88824192"]; | 180 | NSMutableString *tel = [[NSMutableString alloc] initWithFormat:@"telprompt://%@",@"010-88824192"]; |
| 192 | if (@available(iOS 10.0, *)) { | 181 | if (@available(iOS 10.0, *)) { |
| @@ -215,7 +204,7 @@ static const NSInteger timeValue = 1.5; | @@ -215,7 +204,7 @@ static const NSInteger timeValue = 1.5; | ||
| 215 | 204 | ||
| 216 | [alertController showWithAnimated:YES]; | 205 | [alertController showWithAnimated:YES]; |
| 217 | 206 | ||
| 218 | - }else if (indexPath.row == 8){ // 投诉 | 207 | + }else if (indexPath.row == 7){ // 投诉 |
| 219 | [CNLiveUserAgreementManager jumpToAgreementH5WithType:CNLiveUserAgreementComplaints]; | 208 | [CNLiveUserAgreementManager jumpToAgreementH5WithType:CNLiveUserAgreementComplaints]; |
| 220 | } | 209 | } |
| 221 | 210 |