Commit 2a68eed0b4f80a7bec5d47529a7842d83246d927

Authored by zhangxiaowen
1 parent 1b2999a8

no message

CNLiveSettingModule.podspec
@@ -144,7 +144,8 @@ TODO: 网家家-设置模块. @@ -144,7 +144,8 @@ TODO: 网家家-设置模块.
144 144
145 # 工具库 145 # 工具库
146 s.dependency 'CNLiveBusinessTools' 146 s.dependency 'CNLiveBusinessTools'
147 - 147 +
  148 + # 公共类
148 s.dependency 'CNLiveCommonClass' 149 s.dependency 'CNLiveCommonClass'
149 150
150 # 切换城市 151 # 切换城市
CNLiveSettingModule/Classes/Controller/CNLiveSettingController.m
@@ -295,6 +295,7 @@ static const NSInteger timeValue = 1.5; @@ -295,6 +295,7 @@ static const NSInteger timeValue = 1.5;
295 } 295 }
296 return _tableView; 296 return _tableView;
297 } 297 }
  298 +
298 - (UIButton *)logout{ 299 - (UIButton *)logout{
299 if(!_logout){ 300 if(!_logout){
300 _logout = [UIButton buttonWithType:UIButtonTypeCustom]; 301 _logout = [UIButton buttonWithType:UIButtonTypeCustom];
@@ -318,6 +319,7 @@ static const NSInteger timeValue = 1.5; @@ -318,6 +319,7 @@ static const NSInteger timeValue = 1.5;
318 [self.navigationController popViewControllerAnimated:YES]; 319 [self.navigationController popViewControllerAnimated:YES];
319 } 320 }
320 } 321 }
  322 +
321 - (void)logoutDidClicked:(UIButton *)btn{ 323 - (void)logoutDidClicked:(UIButton *)btn{
322 QMUIAlertAction *sure = [QMUIAlertAction actionWithTitle:@"退出登录" style:QMUIAlertActionStyleDefault handler:^(__kindof QMUIAlertController *aAlertController, QMUIAlertAction *action) { 324 QMUIAlertAction *sure = [QMUIAlertAction actionWithTitle:@"退出登录" style:QMUIAlertActionStyleDefault handler:^(__kindof QMUIAlertController *aAlertController, QMUIAlertAction *action) {
323 [UIApplication sharedApplication].delegate.window.rootViewController = nil; 325 [UIApplication sharedApplication].delegate.window.rootViewController = nil;
@@ -395,5 +397,4 @@ static const NSInteger timeValue = 1.5; @@ -395,5 +397,4 @@ static const NSInteger timeValue = 1.5;
395 } 397 }
396 } 398 }
397 399
398 -  
399 @end 400 @end