请求进房的接口获取房间信息

This commit is contained in:
fengshuo
2021-10-18 19:10:13 +08:00
parent 1d9396b0b5
commit c66b79dbe0
56 changed files with 714 additions and 661 deletions

View File

@@ -0,0 +1,51 @@
//
// XPRoomBaseUIView.m
// xplan-ios
//
// Created by on 2021/10/11.
// View
#import "XPRoomBackContainerView.h"
///Third
#import <Masonry/Masonry.h>
@interface XPRoomBackContainerView ()
///
@property (nonatomic,strong) UIImageView *backImageView;
@end
@implementation XPRoomBackContainerView
- (instancetype)initWithFrame:(CGRect)frame {
self = [super initWithFrame:frame];
if (self) {
[self initSubViews];
[self initSubViewConstraints];
}
return self;
}
#pragma mark - Private Method
- (void)initSubViews {
[self addSubview:self.backImageView];
}
- (void)initSubViewConstraints {
[self.backImageView mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.mas_equalTo(self);
}];
}
#pragma mark - Getters And Setters
- (UIImageView *)backImageView {
if (!_backImageView) {
_backImageView = [[UIImageView alloc] init];
_backImageView.userInteractionEnabled = YES;
_backImageView.image = [UIImage imageNamed:@"room_background"];
_backImageView.layer.masksToBounds = YES;
_backImageView.contentMode = UIViewContentModeScaleAspectFill;
}
return _backImageView;
}
@end