Commit 2b7e7d5b cgx

优化睡前故事

1 个父辈 ade066ff
......@@ -98,22 +98,24 @@
self.playTimeLab.text = storyModel.audio.play_time;
self.playCountLab.text = [NSString stringWithFormat:@"%d次", storyModel.audio.play_count];
UIColor *dayBgColor = [UIColor colorWithHexStr:storyModel.audio.day_bg_color];
UIColor *nightBgColor = [UIColor colorWithHexStr:storyModel.audio.night_bg_color];
UIColor *dayTitleColor = [UIColor colorWithHexStr:storyModel.audio.day_title_color];
UIColor *nightTitleColor = [UIColor colorWithHexStr:storyModel.audio.night_title_color];
UIColor *dayDescColor = [UIColor colorWithHexStr:storyModel.audio.day_title_color alpha:.5];
UIColor *nightDescColor = [UIColor colorWithHexStr:storyModel.audio.night_title_color alpha:.5];
UIColor *dayTimeColor = [UIColor colorWithHexStr:storyModel.audio.day_title_color alpha:.3];
UIColor *nightTimeColor = [UIColor colorWithHexStr:storyModel.audio.night_title_color alpha:.3];
self.topView.dk_backgroundColorPicker = DKColorPickerWithColors(dayBgColor, nightBgColor, DSWhite);
self.audioLab.dk_textColorPicker = DKColorPickerWithColors(dayTitleColor, nightTitleColor, DSWhite);
self.audioDescLab.dk_textColorPicker = DKColorPickerWithColors(dayDescColor, nightDescColor, DSWhite);
self.playTimeLab.dk_textColorPicker = DKColorPickerWithColors(dayTimeColor, nightTimeColor, DSWhite);
if (model) {
UIColor *dayBgColor = [UIColor colorWithHexStr:storyModel.audio.day_bg_color];
UIColor *nightBgColor = [UIColor colorWithHexStr:storyModel.audio.night_bg_color];
UIColor *dayTitleColor = [UIColor colorWithHexStr:storyModel.audio.day_title_color];
UIColor *nightTitleColor = [UIColor colorWithHexStr:storyModel.audio.night_title_color];
UIColor *dayDescColor = [UIColor colorWithHexStr:storyModel.audio.day_title_color alpha:.5];
UIColor *nightDescColor = [UIColor colorWithHexStr:storyModel.audio.night_title_color alpha:.5];
UIColor *dayTimeColor = [UIColor colorWithHexStr:storyModel.audio.day_title_color alpha:.3];
UIColor *nightTimeColor = [UIColor colorWithHexStr:storyModel.audio.night_title_color alpha:.3];
self.topView.dk_backgroundColorPicker = DKColorPickerWithColors(dayBgColor, nightBgColor, DSWhite);
self.audioLab.dk_textColorPicker = DKColorPickerWithColors(dayTitleColor, nightTitleColor, DSWhite);
self.audioDescLab.dk_textColorPicker = DKColorPickerWithColors(dayDescColor, nightDescColor, DSWhite);
self.playTimeLab.dk_textColorPicker = DKColorPickerWithColors(dayTimeColor, nightTimeColor, DSWhite);
}
[self.bubbleView removeFromSuperview];
self.bubbleView = nil;
......@@ -260,6 +262,7 @@
[tmpView addSubview:line];
UIView *topView = [UIView new];
topView.dk_backgroundColorPicker = DKColorPickerWithColors(ColorFromHex(0xFFF3E1), ColorFromHex(0xAEA9A6), DSWhite);
[tmpView addSubview:topView];
self.topView = topView;
......
......@@ -56,7 +56,7 @@
[self.layer removeAllAnimations];
[self.dataImgArr_net removeAllObjects];
if (_dataArr_net.count < MaxHeadCount) {
[DSProgressHUD showToast:[NSString stringWithFormat:@"传入图片个数不能少于%d个", MaxHeadCount]];
// [DSProgressHUD showToast:[NSString stringWithFormat:@"传入图片个数不能少于%d个", MaxHeadCount]];
return;
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!