Commit 8c7deead091bb176a0fbbe768df77e6812d4e802

Authored by zhangxiaowen
1 parent 59bd4451

no message

CNLiveSettingModule.podspec
... ... @@ -102,4 +102,7 @@ TODO: 网家家-设置模块.
102 102 # 用户信息本地化
103 103 s.dependency 'CNLiveUserManagement'
104 104  
  105 + # 协议
  106 + s.dependency 'CNLiveUserAgreementManager'
  107 +
105 108 end
... ...
CNLiveSettingModule/Classes/Controller/CNLiveSettingController.m
... ... @@ -11,6 +11,8 @@
11 11 #import <SDWebImage/SDWebImage.h>
12 12 #import "QMUIKit.h"
13 13  
  14 +#import "CNLiveUserAgreementManager.h"
  15 +
14 16 #import "CNLiveSettingModel.h"
15 17 #import "CNLiveSettingCell.h"
16 18 #import "CNLiveServices.h"
... ... @@ -186,10 +188,11 @@ static const NSInteger timeValue = 1.5;
186 188  
187 189 }
188 190 else if(indexPath.row == 2){ //帮助手册
189   -
  191 + [CNLiveUserAgreementManager jumpToAgreementH5WithType:CNLiveUserAgreementHelp];
  192 +
190 193 }
191 194 else if(indexPath.row == 3){ // 使用手册
192   -
  195 + [CNLiveUserAgreementManager jumpToAgreementH5WithType:CNLiveUserAgreementUnderstand];
193 196 }
194 197 else if(indexPath.row == 4){ // 字体大小
195 198  
... ...