增加换肤功能

This commit is contained in:
启星
2025-08-14 10:07:49 +08:00
parent f6964c1e89
commit 4f9318d98e
8789 changed files with 978530 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
//
// TUIGroupButtonCellData_Minimalist.h
// TUIGroup
//
// Created by wyl on 2023/1/4.
// Copyright © 2023 Tencent. All rights reserved.
//
#import <TIMCommon/TIMCommonModel.h>
NS_ASSUME_NONNULL_BEGIN
@interface TUIGroupButtonCellData_Minimalist : TUICommonCellData
@property(nonatomic, strong) NSString *title;
@property SEL cbuttonSelector;
@property TUIButtonStyle style;
@property(nonatomic, strong) UIColor *textColor;
@property(nonatomic, assign) BOOL hideSeparatorLine;
@property(nonatomic, assign) BOOL isInfoPageLeftButton;
@end
NS_ASSUME_NONNULL_END

View File

@@ -0,0 +1,15 @@
//
// TUIGroupButtonCellData_Minimalist.m
// TUIGroup
//
// Created by wyl on 2023/1/4.
// Copyright © 2023 Tencent. All rights reserved.
//
#import "TUIGroupButtonCellData_Minimalist.h"
@implementation TUIGroupButtonCellData_Minimalist
- (CGFloat)heightOfWidth:(CGFloat)width {
return 56;
}
@end

View File

@@ -0,0 +1,29 @@
//
// TUIGroupMemberCellData_Minimalist.h
// TUIGroup
//
// Created by wyl on 2023/1/3.
// Copyright © 2023 Tencent. All rights reserved.
//
#import <TIMCommon/TIMCommonModel.h>
NS_ASSUME_NONNULL_BEGIN
@interface TUIGroupMemberCellData_Minimalist : TUICommonCellData
@property(nonatomic, strong) NSString *identifier;
@property(nonatomic, strong) NSString *name;
@property(nonatomic, strong) UIImage *avatarImage;
@property(nonatomic, strong) NSString *avatarUrl;
@property(nonatomic, assign) BOOL showAccessory;
@property(nonatomic, copy) NSString *detailName;
@property NSInteger tag;
@end
NS_ASSUME_NONNULL_END

View File

@@ -0,0 +1,17 @@
//
// TUIGroupMemberCellData_Minimalist.m
// TUIGroup
//
// Created by wyl on 2023/1/3.
// Copyright © 2023 Tencent. All rights reserved.
//
#import "TUIGroupMemberCellData_Minimalist.h"
#import <TIMCommon/TIMDefine.h>
#import <TUICore/TUIThemeManager.h>
@implementation TUIGroupMemberCellData_Minimalist
- (CGFloat)heightOfWidth:(CGFloat)width {
return kScale390(48);
}
@end

View File

@@ -0,0 +1,20 @@
//
// TUIGroupProfileCardCellData.h
// TUIGroup
//
// Created by wyl on 2023/1/3.
// Copyright © 2023 Tencent. All rights reserved.
//
#import <TIMCommon/TIMCommonModel.h>
@class UINavigationController;
NS_ASSUME_NONNULL_BEGIN
@interface TUIGroupProfileCardCellData_Minimalist : TUIProfileCardCellData
@property(nonatomic, weak) UINavigationController *navigationController;
@end
NS_ASSUME_NONNULL_END

View File

@@ -0,0 +1,23 @@
//
// TUIGroupProfileCardCellData_Minimalist.m
// TUIGroup
//
// Created by wyl on 2023/1/3.
// Copyright © 2023 Tencent. All rights reserved.
//
#import "TUIGroupProfileCardCellData_Minimalist.h"
#import <TIMCommon/TIMDefine.h>
#import <TUICore/TUIThemeManager.h>
@implementation TUIGroupProfileCardCellData_Minimalist
- (instancetype)init {
self = [super init];
return self;
}
- (CGFloat)heightOfWidth:(CGFloat)width {
return kScale390(329);
}
@end

View File

@@ -0,0 +1,22 @@
//
// TUIMemberInfoCellData_Minimalist.h
// TUIGroup
//
// Created by wyl on 2023/1/9.
// Copyright © 2023 Tencent. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "TUIMemberInfoCellData.h"
NS_ASSUME_NONNULL_BEGIN
@interface TUIMemberInfoCellData_Minimalist : NSObject
@property(nonatomic, copy) NSString *identifier;
@property(nonatomic, strong) UIImage *avatar;
@property(nonatomic, copy) NSString *avatarUrl;
@property(nonatomic, copy) NSString *name;
@property(nonatomic, assign) TUIMemberInfoCellStyle style;
@end
NS_ASSUME_NONNULL_END

View File

@@ -0,0 +1,13 @@
//
// TUIMemberInfoCellData_Minimalist.m
// TUIGroup
//
// Created by wyl on 2023/1/9.
// Copyright © 2023 Tencent. All rights reserved.
//
#import "TUIMemberInfoCellData_Minimalist.h"
@implementation TUIMemberInfoCellData_Minimalist
@end

View File

@@ -0,0 +1,17 @@
//
// TUIProfileCardCellData_Minimalist.h
// Masonry
//
// Created by wyl on 2022/12/6.
// Copyright © 2023 Tencent. All rights reserved.
//
#import <TIMCommon/TIMCommonModel.h>
NS_ASSUME_NONNULL_BEGIN
@interface TUIProfileCardCellData_Minimalist : TUIProfileCardCellData
@property(nonatomic, assign) BOOL showGroupType;
@end
NS_ASSUME_NONNULL_END

View File

@@ -0,0 +1,27 @@
//
// TUIProfileCardCellData_Minimalist.m
// Masonry
//
// Created by wyl on 2022/12/6.
// Copyright © 2023 Tencent. All rights reserved.
//
#import "TUIProfileCardCellData_Minimalist.h"
#import <TIMCommon/TIMDefine.h>
#import <TUICore/TUIThemeManager.h>
@implementation TUIProfileCardCellData_Minimalist
- (instancetype)init {
self = [super init];
if (self) {
self.avatarImage = DefaultAvatarImage;
}
return self;
}
- (CGFloat)heightOfWidth:(CGFloat)width {
return kScale390(86);
}
@end