提交
This commit is contained in:
@@ -74,10 +74,11 @@
|
||||
if (list.count == 0) {
|
||||
weakSelf.tableView.mj_footer.state = MJRefreshStateNoMoreData;
|
||||
}else{
|
||||
[weakSelf.tableView.mj_header endRefreshing];
|
||||
[weakSelf.tableView.mj_footer endRefreshing];
|
||||
}
|
||||
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
||||
|
||||
[weakSelf.tableView.mj_header endRefreshing];
|
||||
[weakSelf.tableView.mj_footer endRefreshing];
|
||||
}];
|
||||
}
|
||||
-(void)helpAction{
|
||||
@@ -105,7 +106,7 @@
|
||||
weakSelf.page = 1;
|
||||
[weakSelf getSongList];
|
||||
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
||||
showToast(@"添加失败");
|
||||
showToast(msg);
|
||||
}];
|
||||
}
|
||||
-(void)qx_mineAddSongViewDidRemove{
|
||||
@@ -119,7 +120,7 @@
|
||||
weakSelf.page = 1;
|
||||
[weakSelf getSongList];
|
||||
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
||||
showToast(@"修改失败");
|
||||
showToast(msg);
|
||||
}];
|
||||
}
|
||||
-(void)addAction{
|
||||
|
||||
@@ -295,8 +295,8 @@
|
||||
return cell;
|
||||
}
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
QXDayTaskTypeModel *model = self.model.tasks[indexPath.section];
|
||||
QXDayTaskListModel *taskModel = model.task_list[indexPath.row];
|
||||
// QXDayTaskTypeModel *model = self.model.tasks[indexPath.section];
|
||||
QXDayTaskListModel *taskModel = self.typeModel.task_list[indexPath.row];
|
||||
if ([taskModel.task_id isEqualToString:@"1"]) {
|
||||
QXSignInAppView *signView = [[QXSignInAppView alloc] init];
|
||||
[signView showInView:self.view];
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
NSString *money = [NSString stringWithFormat:@"%.4f",model.today_profit.doubleValue];
|
||||
self.moneyLabel.text = [NSString stringWithFormat:@"%@",money];
|
||||
[self.typeImageView sd_setImageWithURL:[NSURL URLWithString:model.label_icon] placeholderImage:nil];
|
||||
self.luckyWaterLabel.text = model.lucky_water;
|
||||
self.luckyWaterLabel.text = [NSString stringWithFormat:@"幸运值总流水:%@",model.lucky_water];
|
||||
if (model.apply_status.intValue == 1) {
|
||||
self.roomWaitImageView.hidden = NO;
|
||||
self.luckyWaterLabel.hidden = YES;
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
self.progressView = [[QXProgressView alloc] initWithFrame:CGRectMake((self.width-ScaleWidth(70))/2, self.openBtn.top-4-13, ScaleWidth(70), 13)];
|
||||
self.progressView.bgColor = RGB16(0xFFB8CD);
|
||||
self.progressView.progressColor = RGB16(0xE24272);
|
||||
self.progressView.progressTitleColor = RGB16(0xE24272);
|
||||
self.progressView.progressTitleColor = RGB16(0xFFEDF2);
|
||||
[self addSubview:self.progressView];
|
||||
|
||||
// self.titleLabel.text = @"初级礼盒";
|
||||
@@ -194,14 +194,14 @@
|
||||
self.iconImageView.image = [UIImage imageNamed:@"day_task_left"];
|
||||
self.progressView.bgColor = RGB16(0xFFB8CD);
|
||||
self.progressView.progressColor = RGB16(0xE24272);
|
||||
self.progressView.progressTitleColor = RGB16(0xE24272);
|
||||
self.progressView.progressTitleColor = RGB16(0xFFEDF2);
|
||||
}
|
||||
break;
|
||||
case QXDayTaskTopSubViewTypeRight:{
|
||||
self.iconImageView.image = [UIImage imageNamed:@"day_task_right"];
|
||||
self.progressView.bgColor = RGB16(0xFFCFB3);
|
||||
self.progressView.progressColor = RGB16(0xF35F07);
|
||||
self.progressView.progressTitleColor = RGB16(0xF35F07);
|
||||
self.progressView.progressTitleColor = RGB16(0xFFEDF2);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
[self.progressView addRoundedCornersWithRadius:self.height/2];
|
||||
|
||||
self.progressLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.width-30, 0, 30, self.height)];
|
||||
self.progressLabel.textColor = RGB16(0xE24171);
|
||||
self.progressLabel.textColor = RGB16(0xFFEDF2);
|
||||
self.progressLabel.font = [UIFont systemFontOfSize:10];
|
||||
[self addSubview:self.progressLabel];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user