File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Coding_iOS/Controllers/RootControllers Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
202
202
[cell.contentView removeViewWithTag: pointTag];
203
203
if (indexPath.section == 1 && indexPath.row == 0 ) {
204
204
UILabel *pointL = [UILabel labelWithFont: [UIFont systemFontOfSize: 13 ] textColor: kColorLightBlue ];
205
- pointL.text = [NSString stringWithFormat: @" %@ 码币" , _curServiceInfo.point_left ? : @" --" ] ;
205
+ pointL.text = _curServiceInfo. point_left ? [NSString stringWithFormat: @" %.2f 码币" , _curServiceInfo.point_left.floatValue] : @" -- 码币 " ;
206
206
pointL.tag = pointTag;
207
207
[cell.contentView addSubview: pointL];
208
208
[pointL mas_makeConstraints: ^(MASConstraintMaker *make) {
You can’t perform that action at this time.
0 commit comments