提交
This commit is contained in:
27
QXLive/HomePage(声播)/Model/QXBanner.h
Normal file
27
QXLive/HomePage(声播)/Model/QXBanner.h
Normal file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// QXBanner.h
|
||||
// QXLive
|
||||
//
|
||||
// Created by 启星 on 2025/6/11.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface QXBanner : NSObject
|
||||
//ID
|
||||
@property (nonatomic,strong)NSString *bid;
|
||||
//跳转地址id
|
||||
@property (nonatomic,strong)NSString *aid;
|
||||
/// 1纯展示 2文章 3房间 4个人主页
|
||||
@property (nonatomic,strong)NSString *type;
|
||||
/// 1站内引导页 2启动引导页 3首页轮播
|
||||
@property (nonatomic,strong)NSString *show_type;
|
||||
//页面
|
||||
@property (nonatomic,strong)NSString *image;
|
||||
/// type = 2 的跳转地址
|
||||
@property (nonatomic,strong)NSString *url;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
12
QXLive/HomePage(声播)/Model/QXBanner.m
Normal file
12
QXLive/HomePage(声播)/Model/QXBanner.m
Normal file
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// QXBanner.m
|
||||
// QXLive
|
||||
//
|
||||
// Created by 启星 on 2025/6/11.
|
||||
//
|
||||
|
||||
#import "QXBanner.h"
|
||||
|
||||
@implementation QXBanner
|
||||
|
||||
@end
|
||||
50
QXLive/HomePage(声播)/Model/QXRankModel.h
Normal file
50
QXLive/HomePage(声播)/Model/QXRankModel.h
Normal file
@@ -0,0 +1,50 @@
|
||||
//
|
||||
// QXRankModel.h
|
||||
// QXLive
|
||||
//
|
||||
// Created by 启星 on 2025/7/10.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@class QXMyRankModel;
|
||||
@interface QXRankModel : NSObject
|
||||
/// 我的排行
|
||||
@property (nonatomic,strong)QXMyRankModel *my_ranking;
|
||||
@property (nonatomic,strong)NSArray<QXMyRankModel *>* lists;
|
||||
@end
|
||||
|
||||
@interface QXMyRankModel : NSObject
|
||||
@property (nonatomic,strong)NSString* avatar;
|
||||
@property (nonatomic,strong)NSString* nickname;
|
||||
@property (nonatomic,strong)NSString* user_id;
|
||||
@property (nonatomic,strong)NSString* user_code;
|
||||
@property (nonatomic,strong)NSString* sex;
|
||||
@property (nonatomic,strong)NSArray* icon;
|
||||
@property (nonatomic,strong)NSString* total;
|
||||
@property (nonatomic,strong)NSString* rank;
|
||||
@property (nonatomic,strong)NSString* diff;
|
||||
|
||||
/// 房间
|
||||
@property (nonatomic,strong)NSString* room_name;
|
||||
@property (nonatomic,strong)NSString* room_id;
|
||||
@property (nonatomic,strong)NSString* room_cover;
|
||||
@property (nonatomic,strong)NSString* room_number;
|
||||
|
||||
/// 公会
|
||||
@property (nonatomic,strong)NSString* cover;
|
||||
@property (nonatomic,strong)NSString* guild_name;
|
||||
@property (nonatomic,strong)NSString* guild_special_id;
|
||||
@property (nonatomic,strong)NSString* id;
|
||||
|
||||
/// cp
|
||||
@property (nonatomic,strong)NSString* user_id1;
|
||||
@property (nonatomic,strong)NSString* nickname1;
|
||||
|
||||
@property (nonatomic,strong)NSString* user_avatar;
|
||||
@property (nonatomic,strong)NSString* user_avatar1;
|
||||
@end
|
||||
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
24
QXLive/HomePage(声播)/Model/QXRankModel.m
Normal file
24
QXLive/HomePage(声播)/Model/QXRankModel.m
Normal file
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// QXRankModel.m
|
||||
// QXLive
|
||||
//
|
||||
// Created by 启星 on 2025/7/10.
|
||||
//
|
||||
|
||||
#import "QXRankModel.h"
|
||||
|
||||
@implementation QXRankModel
|
||||
+(NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass{
|
||||
return @{
|
||||
@"my_ranking" : @"QXMyRankModel",
|
||||
@"lists": @"QXMyRankModel"
|
||||
};
|
||||
}
|
||||
@end
|
||||
|
||||
|
||||
@implementation QXMyRankModel
|
||||
|
||||
|
||||
|
||||
@end
|
||||
37
QXLive/HomePage(声播)/Model/QXSearchModel.h
Normal file
37
QXLive/HomePage(声播)/Model/QXSearchModel.h
Normal file
@@ -0,0 +1,37 @@
|
||||
//
|
||||
// QXSearchModel.h
|
||||
// QXLive
|
||||
//
|
||||
// Created by 启星 on 2025/6/21.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
/**
|
||||
"id": "string",
|
||||
"name": "string",
|
||||
"picture": "string",
|
||||
"code": "string",
|
||||
"icon": [
|
||||
"string"
|
||||
]
|
||||
*/
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface QXSearchModel : NSObject
|
||||
//ID
|
||||
@property (nonatomic,strong)NSString *id;
|
||||
//名称
|
||||
@property (nonatomic,strong)NSString *name;
|
||||
//头像
|
||||
@property (nonatomic,strong)NSString *picture;
|
||||
// 显示code
|
||||
@property (nonatomic,strong)NSString *code;
|
||||
//
|
||||
@property (nonatomic,strong)NSArray *icon;
|
||||
|
||||
@property (nonatomic,strong)NSString *label_icon;
|
||||
|
||||
@property (nonatomic,strong)NSString *hot_value;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
12
QXLive/HomePage(声播)/Model/QXSearchModel.m
Normal file
12
QXLive/HomePage(声播)/Model/QXSearchModel.m
Normal file
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// QXSearchModel.m
|
||||
// QXLive
|
||||
//
|
||||
// Created by 启星 on 2025/6/21.
|
||||
//
|
||||
|
||||
#import "QXSearchModel.h"
|
||||
|
||||
@implementation QXSearchModel
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user