增加房间
This commit is contained in:
@@ -15,9 +15,15 @@ class RoomVC: BaseViewController, HiddenNavigationBarProtocol {
|
||||
}
|
||||
private func setUILayout(){
|
||||
view.addSubview(backgroundView)
|
||||
view.addSubview(topView)
|
||||
backgroundView.snp.makeConstraints { make in
|
||||
make.edges.equalTo(self.view)
|
||||
}
|
||||
topView.snp.makeConstraints { make in
|
||||
make.leading.trailing.top.equalTo(self.view)
|
||||
make.height.equalTo(UIDevice.scaleWidth(width: NavHeight))
|
||||
}
|
||||
|
||||
}
|
||||
private func requestData(){
|
||||
|
||||
@@ -27,4 +33,9 @@ class RoomVC: BaseViewController, HiddenNavigationBarProtocol {
|
||||
let _backgroundView = RoomBackgroundView(frame: .zero)
|
||||
return _backgroundView
|
||||
}()
|
||||
private lazy var topView:RoomTopView = {
|
||||
let _topView = RoomTopView(frame: .zero)
|
||||
|
||||
return _topView
|
||||
}()
|
||||
}
|
||||
|
Reference in New Issue
Block a user