1
This commit is contained in:
@@ -49,7 +49,8 @@
|
||||
|
||||
- (void)configWithTitle:(NSString *)title imageURL:(NSString *)url price:(NSString *)price {
|
||||
self.titleLabel.text = title.length ? title : @"Dopamine";
|
||||
[self.priceBtn setTitle:@"20" forState:UIControlStateNormal];
|
||||
NSString *priceText = price.length ? price : @"20";
|
||||
[self.priceBtn setTitle:priceText forState:UIControlStateNormal];
|
||||
|
||||
// 简化:本地展示占位色,无网络图
|
||||
self.coverView.backgroundColor = [UIColor colorWithWhite:0.92 alpha:1.0];
|
||||
@@ -84,4 +85,3 @@
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user