From 1c9ae7bc060a075f7b92a9e598f4027beab15d8b Mon Sep 17 00:00:00 2001 From: CodeST <694468528@qq.com> Date: Mon, 22 Dec 2025 15:37:22 +0800 Subject: [PATCH] 1 --- keyBoard/Class/Search/V/KBSkinCardCell.m | 4 +++- keyBoard/Class/Shop/VC/KBShopItemVC.m | 2 +- keyBoard/Class/Shop/VC/KBSkinDetailVC.m | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/keyBoard/Class/Search/V/KBSkinCardCell.m b/keyBoard/Class/Search/V/KBSkinCardCell.m index 79a97ac..a7d6e29 100644 --- a/keyBoard/Class/Search/V/KBSkinCardCell.m +++ b/keyBoard/Class/Search/V/KBSkinCardCell.m @@ -53,7 +53,9 @@ [self.priceBtn setTitle:priceText forState:UIControlStateNormal]; // 简化:本地展示占位色,无网络图 - self.coverView.backgroundColor = [UIColor colorWithWhite:0.92 alpha:1.0]; +// self.coverView.backgroundColor = [UIColor colorWithWhite:0.92 alpha:1.0]; + [self.coverView kb_setImageURL:[NSURL URLWithString:url] placeholder:KBPlaceholderImage]; + } #pragma mark - Lazy diff --git a/keyBoard/Class/Shop/VC/KBShopItemVC.m b/keyBoard/Class/Shop/VC/KBShopItemVC.m index e2d0fbc..90610f0 100644 --- a/keyBoard/Class/Shop/VC/KBShopItemVC.m +++ b/keyBoard/Class/Shop/VC/KBShopItemVC.m @@ -120,7 +120,7 @@ KBShopThemeModel *theme = (indexPath.item < self.dataSource.count) ? self.dataSource[indexPath.item] : nil; NSString *title = theme.themeName.length ? theme.themeName : KBLocalized(@"Themes"); NSString *price = [self kb_priceStringForTheme:theme]; - [cell configWithTitle:title imageURL:nil price:price]; + [cell configWithTitle:title imageURL:theme.themePreviewImageUrl price:price]; return cell; } diff --git a/keyBoard/Class/Shop/VC/KBSkinDetailVC.m b/keyBoard/Class/Shop/VC/KBSkinDetailVC.m index b178dce..f68b25e 100644 --- a/keyBoard/Class/Shop/VC/KBSkinDetailVC.m +++ b/keyBoard/Class/Shop/VC/KBSkinDetailVC.m @@ -273,7 +273,7 @@ typedef NS_ENUM(NSInteger, KBSkinDetailSection) { - (void)requestDownload { // if (self.isProcessingAction) { return; } // self.isProcessingAction = YES; - [KBHUD show]; + NSMutableDictionary *skin = [NSMutableDictionary dictionary]; if (!skin[@"id"] && self.detailModel.themeId) { skin[@"id"] = self.detailModel.themeId; @@ -287,7 +287,7 @@ typedef NS_ENUM(NSInteger, KBSkinDetailSection) { if (self.detailModel.themePreviewImageUrl.length > 0) { skin[@"preview"] = self.detailModel.themePreviewImageUrl; } - + [KBHUD showWithStatus:@"正在下载..."]; [[KBSkinService shared] applySkinWithJSON:skin fromViewController:self mode:KBSkinSourceModeRemoteZip