1
This commit is contained in:
@@ -107,11 +107,11 @@
|
|||||||
|
|
||||||
// key_icons 逻辑与远程模式保持一致
|
// key_icons 逻辑与远程模式保持一致
|
||||||
NSDictionary *iconShortNames = nil;
|
NSDictionary *iconShortNames = nil;
|
||||||
if ([skin[@"key_icons"] isKindOfClass:NSDictionary.class]) {
|
// if ([skin[@"key_icons"] isKindOfClass:NSDictionary.class]) {
|
||||||
iconShortNames = skin[@"key_icons"];
|
// iconShortNames = skin[@"key_icons"];
|
||||||
} else {
|
// } else {
|
||||||
iconShortNames = [KBSkinInstallBridge defaultIconShortNames];
|
iconShortNames = [KBSkinInstallBridge defaultIconShortNames];
|
||||||
}
|
// }
|
||||||
|
|
||||||
NSURL *containerURL = [[NSFileManager defaultManager] containerURLForSecurityApplicationGroupIdentifier:AppGroup];
|
NSURL *containerURL = [[NSFileManager defaultManager] containerURLForSecurityApplicationGroupIdentifier:AppGroup];
|
||||||
if (!containerURL) {
|
if (!containerURL) {
|
||||||
|
|||||||
@@ -67,8 +67,8 @@ static NSString * const kInnerTagCellId = @"kInnerTagCellId";
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 行高固定 32;行间距 8;上下额外增加 8 视觉留白
|
static const CGFloat kTagHeight = 24.0;
|
||||||
return rows * 32 + (rows - 1) * 8 + 16;
|
return rows * kTagHeight + (rows - 1) * 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Lazy
|
#pragma mark - Lazy
|
||||||
|
|||||||
@@ -17,11 +17,13 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
@property (nonatomic, copy, nullable) NSString *themeDownload;
|
@property (nonatomic, copy, nullable) NSString *themeDownload;
|
||||||
@property (nonatomic, assign) NSInteger themeStyle;
|
@property (nonatomic, assign) NSInteger themeStyle;
|
||||||
@property (nonatomic, copy, nullable) NSString *themePreviewImageUrl;
|
@property (nonatomic, copy, nullable) NSString *themePreviewImageUrl;
|
||||||
@property (nonatomic, assign) BOOL themeStatus;
|
|
||||||
@property (nonatomic, assign) NSInteger themePurchasesNumber;
|
@property (nonatomic, assign) NSInteger themePurchasesNumber;
|
||||||
@property (nonatomic, assign) NSInteger sort;
|
@property (nonatomic, assign) NSInteger sort;
|
||||||
@property (nonatomic, assign) BOOL isFree;
|
@property (nonatomic, assign) BOOL isFree;
|
||||||
|
/// 是否购买
|
||||||
@property (nonatomic, assign) BOOL isPurchased;
|
@property (nonatomic, assign) BOOL isPurchased;
|
||||||
|
/// 下载ZIP
|
||||||
|
@property (nonatomic, copy, nullable) NSString *themeDownloadUrl;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
@property (nonatomic, copy, nullable) NSString *themeDownload;
|
@property (nonatomic, copy, nullable) NSString *themeDownload;
|
||||||
/// 风格类型(接口返回 themeStyle)
|
/// 风格类型(接口返回 themeStyle)
|
||||||
@property (nonatomic, assign) NSInteger themeStyle;
|
@property (nonatomic, assign) NSInteger themeStyle;
|
||||||
/// 是否上架
|
/// 是否购买
|
||||||
@property (nonatomic, assign, getter=isThemeStatus) BOOL themeStatus;
|
@property (nonatomic, assign) BOOL isPurchased;
|
||||||
/// 购买次数
|
/// 购买次数
|
||||||
@property (nonatomic, assign) NSInteger themePurchasesNumber;
|
@property (nonatomic, assign) NSInteger themePurchasesNumber;
|
||||||
/// 预览图
|
/// 预览图
|
||||||
|
|||||||
Reference in New Issue
Block a user