完成 2.7.32 需求
This commit is contained in:
76
YuMi/Modules/YMMine/View/VisitorListViewController.m
Normal file
76
YuMi/Modules/YMMine/View/VisitorListViewController.m
Normal file
@@ -0,0 +1,76 @@
|
||||
//
|
||||
// VisitorListViewController.m
|
||||
// YuMi
|
||||
//
|
||||
// Created by P on 2025/3/18.
|
||||
//
|
||||
|
||||
#import "VisitorListViewController.h"
|
||||
#import "XPMineVisitorPresenter.h"
|
||||
|
||||
@interface VisitorListCell : UITableViewCell
|
||||
|
||||
@property(nonatomic, strong) NetImageView *avatarImageView;
|
||||
@property(nonatomic, strong) UILabel *nameLabel;
|
||||
@property(nonatomic, strong) NetImageView *regionImageView;
|
||||
@property(nonatomic, strong) NetImageView *charmImageView;
|
||||
@property(nonatomic, strong) NetImageView *experImageView;
|
||||
@property(nonatomic, strong) NetImageView *nameplateImageView;
|
||||
@property(nonatomic, strong) UILabel *idLabel;
|
||||
@property(nonatomic, strong) UILabel *descriptionLabel;
|
||||
|
||||
@end
|
||||
|
||||
@implementation VisitorListCell
|
||||
|
||||
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
|
||||
if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
|
||||
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@interface VisitorListViewController ()
|
||||
|
||||
@property(nonatomic, strong) UITableView *listTableView;
|
||||
|
||||
@property(nonatomic, strong) UIVisualEffectView *visualEffectView;
|
||||
|
||||
|
||||
@end
|
||||
|
||||
@implementation VisitorListViewController
|
||||
|
||||
- (__kindof id)presenter {
|
||||
return [[XPMineVisitorPresenter alloc] init];
|
||||
}
|
||||
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
- (UITableView *)listTableView {
|
||||
if (!_listTableView) {
|
||||
_listTableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStylePlain];
|
||||
}
|
||||
return _listTableView;
|
||||
}
|
||||
|
||||
- (UIImageView *)lockImageView {
|
||||
return [[UIImageView alloc] initWithImage:kImage(@"visitor_lock")];
|
||||
}
|
||||
|
||||
- (UILabel *)lockTipsLabel {
|
||||
return [UILabel labelInitWithText:YMLocalizedString(@"20.20.51_text_25") font:kFontMedium(14) textColor:UIColorFromRGB(0x313131)];
|
||||
}
|
||||
|
||||
- (UIButton *)lockToVipButton {
|
||||
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||
return button;
|
||||
}
|
||||
|
||||
@end
|
Reference in New Issue
Block a user