Commit 686ab680 by ludi

修改ui

parent a514747d
......@@ -839,7 +839,7 @@
#define URL_WEB_BACKPACK_CONSUME_RECORD DNS_WEB(@"/Nesting/backpack/consume.html")
// 账号管理
#define URL_WEB_ACCOUNT_MANAGER DNS_WEB(@"/Nesting/logOff/index.html")
#define URL_WEB_ACCOUNT_MANAGER DNS_WEB(@"/vestApp/logOff/index.html")
// 首页-榜单
#define URL_WEB_HOME_RANK DNS_WEB(@"/allRank/index.html")
......
......@@ -63,8 +63,10 @@
if (_blackListArray.count > 0) {
_tableView.tableFooterView = nil;
}else{
FUSEmptyView *emptyView = [[FUSEmptyView alloc] initWithFrame:CGRectMake(0, 0, UIView.fus_screenW, UIView.fus_screenH / 2.0f)];
[emptyView fus_setEmptyViewIcon:[UIImage imageNamed:@"firefly_black_placeholder_img"] title:[NSString fus_localString:@"空空如也"] buttonTittle:nil];
FUSEmptyView *emptyView = [[FUSEmptyView alloc] initWithFrame:CGRectMake(0, 0, UIView.fus_screenW, UIView.fus_screenH - [UIView fus_NavgationBarHeight] - 100)];
[emptyView fus_setEmptyViewIcon:[UIImage fus_emptyImg] title:[NSString fus_localString:@"空空如也"] buttonTittle:nil];
emptyView.contentVerticalOffset = -20;
emptyView.imageScale = 0.3;
_tableView.tableFooterView = emptyView;
}
[_tableView reloadData];
......
......@@ -517,7 +517,7 @@
FUSCustomSettingGroup *group7 = [FUSCustomSettingGroup fus_settingGroup];
group7.groupHeaderHeight = 40;
group7.groupHeaderHeight = 0;
group7.groupHeaderOriginY = 10;
group7.groupHeaderTextColor = [UIColor colorWithHex:@"#4D4D4D"];
group7.groupHeaderTextFont = [UIFont fus_themeFont:12];
......
......@@ -209,11 +209,11 @@
cell.model = self.motoringArr[indexPath.section];
// if (indexPath.section == self.motoringArr.count - 1) {
// cell.cellLineView.hidden = YES;
// }else{
// cell.cellLineView.hidden = NO;
// }
if (indexPath.section == self.motoringArr.count - 1) {
cell.cellLineView.hidden = YES;
}else{
cell.cellLineView.hidden = NO;
}
return cell;
}
......
......@@ -12,6 +12,6 @@
@property (nonatomic,strong) FUSZoneMotoringModel *model;
@property (weak, nonatomic) IBOutlet UIView *cellLineView;
@property (nonatomic, strong) UIView *cellLineView;
@end
......@@ -34,6 +34,16 @@
self.layer.masksToBounds = YES;
self.motoringNameLabel.textColor = [UIColor fus_textColorRich];
self.cellLineView = [[UIView alloc] init];
self.cellLineView.backgroundColor = [UIColor fus_lineColor];
[self.contentView addSubview:self.cellLineView];
[self.cellLineView mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.inset(16);
make.bottom.offset(0);
make.height.offset(0.5);
}];
}
- (void)setModel:(FUSZoneMotoringModel *)model
......
......@@ -705,7 +705,7 @@ static NSString *FUSWebRightBtnExtraInfoKey = @"FUSWebRightBtnExtraInfoKey";
FUSWebActionModel *model = [FUSWebActionModel fus_modelWithDict:action];
if (model) {
UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
[btn setWebBackgroundImageWithSubURLString:model.imgUrl];
[btn setWebImageWithSubURLString:model.imgUrl placeholder:nil];
btn.imageView.contentMode = UIViewContentModeScaleAspectFit;
btn.frame = CGRectMake(lastX, y, btnSize, btnSize);
btn.imageEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment