Commit f10cc6d64a2b377f2b753e66cec0114723f5eb36

Authored by 梁星国
1 parent 7e18a6e1

提交0.0.17

CNLiveOrganizationValidationModule.podspec
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 8
9 Pod::Spec.new do |s| 9 Pod::Spec.new do |s|
10 s.name = 'CNLiveOrganizationValidationModule' 10 s.name = 'CNLiveOrganizationValidationModule'
11 - s.version = '0.0.16' 11 + s.version = '0.0.17'
12 s.summary = '机构认证模块' 12 s.summary = '机构认证模块'
13 13
14 # This description is used to generate tags and improve search results. 14 # This description is used to generate tags and improve search results.
CNLiveOrganizationValidationModule/Classes/CNLiveOrganizationValidationModule/Controller/CNLiveBAgreementCommitFinishController.m
@@ -94,10 +94,21 @@ @@ -94,10 +94,21 @@
94 [self.view addSubview:self.tipContentL]; 94 [self.view addSubview:self.tipContentL];
95 [self.view addSubview:self.returnBtn]; 95 [self.view addSubview:self.returnBtn];
96 96
97 - [_returnBtn addTarget:self action:@selector(returnBtnAction:) forControlEvents:UIControlEventTouchUpInside]; 97 + [self.returnBtn addTarget:self action:@selector(returnBtnAction:) forControlEvents:UIControlEventTouchUpInside];
  98 +
  99 +
  100 + QMUIButton *btn = [[QMUIButton alloc]init];
  101 + btn.frame = CGRectMake(0, 0, 65, 44);
  102 +
  103 + UIImageView *imageV = [[UIImageView alloc] initWithFrame:CGRectMake(0, 10,13,23)];
  104 + imageV.image = [UIImage imageNamedFromOrganization:@"organization_back"];
  105 + [btn addSubview:imageV];
  106 +
  107 +
  108 + [btn addTarget:self action:@selector(returnBtnAction:) forControlEvents:(UIControlEventTouchUpInside)];//不起作用
  109 + UIBarButtonItem *leftItem = [[UIBarButtonItem alloc]initWithCustomView:btn];
98 110
99 - UIBarButtonItem *backItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamedFromOrganization:@"organization_back"] style:UIBarButtonItemStylePlain target:self action:@selector(returnBtnAction:)];  
100 - self.navigationItem.leftBarButtonItem = backItem; 111 + self.navigationItem.leftBarButtonItem = leftItem;
101 112
102 } 113 }
103 114