Commit d31ecda5dcefa7a478560654350c53558dabc145
1 parent
c3e3d433
0.1.4
Showing
2 changed files
with
7 additions
and
1 deletions
CNLiveCommuntyModule.podspec
CNLiveCommuntyModule/Classes/ViewController/CNLiveCommuntyOrderViewController.m
| ... | ... | @@ -87,6 +87,9 @@ |
| 87 | 87 | [weakSelf.tableView reloadData]; |
| 88 | 88 | } |
| 89 | 89 | }]; |
| 90 | + }else{ | |
| 91 | + self.createMdoel.imgs = [self.createMdoel.img componentsSeparatedByString:@","].mutableCopy; | |
| 92 | + [self.createMdoel.imgs removeObject:@""]; | |
| 90 | 93 | } |
| 91 | 94 | } |
| 92 | 95 | -(void)setupWithNaviView |
| ... | ... | @@ -134,6 +137,7 @@ |
| 134 | 137 | self.payButton.backgroundColor = UIColorHex(#CD0302); |
| 135 | 138 | self.payButton.layer.masksToBounds = YES; |
| 136 | 139 | self.payButton.layer.cornerRadius = 18; |
| 140 | + self.payButton.hidden = self.showType == CNLiveCommuntyOrderShowTypeListFailureOrder; | |
| 137 | 141 | self.payButton.titleLabel.font = [UIFont systemFontOfSize:16]; |
| 138 | 142 | self.payButton.titleLabel.font = [UIFont boldSystemFontOfSize:16]; |
| 139 | 143 | [self.payButton addTarget:self action:@selector(payResultAction:) forControlEvents:UIControlEventTouchUpInside]; |
| ... | ... | @@ -154,6 +158,8 @@ |
| 154 | 158 | } |
| 155 | 159 | [self.payButton setTitle:payString forState:UIControlStateNormal]; |
| 156 | 160 | [self.payButton setTitle:payString forState:UIControlStateHighlighted]; |
| 161 | + self.bottemView.hidden = ![payString isNotBlank]; | |
| 162 | + self.payButton.hidden = ![payString isNotBlank]; | |
| 157 | 163 | |
| 158 | 164 | |
| 159 | 165 | if (self.showType == CNLiveCommuntyOrderShowTypeChatReadyOrder && [self.createMdoel.totalFee isNotBlank] && [self.createMdoel.totalFee integerValue] > 0) { | ... | ... |