This commit is contained in:
2025-11-09 18:07:47 +08:00
parent dc9ee10023
commit 883b222254
2 changed files with 85 additions and 75 deletions

View File

@@ -11,11 +11,16 @@
NS_ASSUME_NONNULL_BEGIN
@interface KBShopItemVC : UIViewController<JXPagerViewListViewDelegate>
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) NSMutableArray <NSString *> *dataSource;
/// 列表:使用 UICollectionView 展示两列皮肤卡片
@property (nonatomic, strong) UICollectionView *collectionView;
/// 数据源:简单字符串作为标题(演示用)
@property (nonatomic, strong) NSMutableArray<NSString *> *dataSource;
/// 是否需要上拉加载更多
@property (nonatomic, assign) BOOL isNeedFooter;
/// 是否需要下拉刷新
@property (nonatomic, assign) BOOL isNeedHeader;
@property (nonatomic, assign) BOOL isHeaderRefreshed; //默认为YES
/// 首次是否已刷新过(避免重复触发)
@property (nonatomic, assign) BOOL isHeaderRefreshed; // 默认为 YES
@end
NS_ASSUME_NONNULL_END