This commit is contained in:
启星
2025-12-24 15:39:46 +08:00
parent 0fcff85625
commit 7b7d18e665
34 changed files with 517 additions and 138 deletions

View File

@@ -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{

View File

@@ -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];

View File

@@ -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;

View File

@@ -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:

View File

@@ -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];
}