v1.4 (1.4)
This commit is contained in:
parent
b64bb6d96f
commit
418ad2db05
@ -984,7 +984,7 @@
|
|||||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 1.3;
|
CURRENT_PROJECT_VERSION = 1.4;
|
||||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||||
DEVELOPMENT_TEAM = 8DQD6BV6H9;
|
DEVELOPMENT_TEAM = 8DQD6BV6H9;
|
||||||
ENABLE_APP_SANDBOX = NO;
|
ENABLE_APP_SANDBOX = NO;
|
||||||
@ -1037,7 +1037,7 @@
|
|||||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 1.3;
|
CURRENT_PROJECT_VERSION = 1.4;
|
||||||
DEVELOPMENT_TEAM = 8DQD6BV6H9;
|
DEVELOPMENT_TEAM = 8DQD6BV6H9;
|
||||||
ENABLE_APP_SANDBOX = NO;
|
ENABLE_APP_SANDBOX = NO;
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
|
|||||||
Binary file not shown.
@ -11,6 +11,8 @@ extension MembershipVC {
|
|||||||
|
|
||||||
|
|
||||||
func configureUI() {
|
func configureUI() {
|
||||||
|
|
||||||
|
|
||||||
self.view.backgroundColor = .black
|
self.view.backgroundColor = .black
|
||||||
self.navLine?.isHidden = true
|
self.navLine?.isHidden = true
|
||||||
self.setLeftOneBtnImg(imgStr: "membership_close")
|
self.setLeftOneBtnImg(imgStr: "membership_close")
|
||||||
@ -35,11 +37,23 @@ extension MembershipVC {
|
|||||||
|
|
||||||
self.view.addSubview(mTopImgView)
|
self.view.addSubview(mTopImgView)
|
||||||
|
|
||||||
|
let scrollView = UIScrollView()
|
||||||
|
self.view.addSubview(scrollView)
|
||||||
|
scrollView.snp.makeConstraints { make in
|
||||||
|
make.left.right.bottom.equalTo(0)
|
||||||
|
make.top.equalToSuperview().offset(100)
|
||||||
|
}
|
||||||
|
scrollView.contentSize = CGSize(width: KScreenWidth, height: KScreenHeight+100)
|
||||||
|
scrollView.showsVerticalScrollIndicator = false
|
||||||
|
|
||||||
|
let bgView = UIView(frame: CGRectMake(0, 0, KScreenWidth, KScreenHeight))
|
||||||
|
scrollView.addSubview(bgView)
|
||||||
|
|
||||||
let topView = self.topView()
|
let topView = self.topView()
|
||||||
self.view.addSubview(topView)
|
bgView.addSubview(topView)
|
||||||
topView.snp.makeConstraints { make in
|
topView.snp.makeConstraints { make in
|
||||||
make.left.right.equalTo(0)
|
make.left.right.equalTo(0)
|
||||||
make.top.equalToSuperview().offset(120)
|
make.top.equalToSuperview().offset(0)
|
||||||
make.height.equalTo(254)
|
make.height.equalTo(254)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -49,7 +63,7 @@ extension MembershipVC {
|
|||||||
var acView = topView
|
var acView = topView
|
||||||
if UserInfo.sharedInstance.isMemberShip == false {
|
if UserInfo.sharedInstance.isMemberShip == false {
|
||||||
let centerView = self.centerView()
|
let centerView = self.centerView()
|
||||||
self.view.addSubview(centerView)
|
bgView.addSubview(centerView)
|
||||||
centerView.snp.makeConstraints { make in
|
centerView.snp.makeConstraints { make in
|
||||||
make.left.equalToSuperview().offset(20)
|
make.left.equalToSuperview().offset(20)
|
||||||
make.right.equalToSuperview().offset(-20)
|
make.right.equalToSuperview().offset(-20)
|
||||||
@ -58,16 +72,22 @@ extension MembershipVC {
|
|||||||
}
|
}
|
||||||
acView = centerView
|
acView = centerView
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
scrollView.contentSize = CGSize(width: KScreenWidth, height: KScreenHeight - 168)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
let bottomView = self.bottomView()
|
let bottomView = self.bottomView()
|
||||||
self.view .addSubview(bottomView)
|
bgView.addSubview(bottomView)
|
||||||
bottomView.snp.makeConstraints { make in
|
bottomView.snp.makeConstraints { make in
|
||||||
make.left.equalToSuperview().offset(20)
|
make.left.equalToSuperview().offset(20)
|
||||||
make.right.equalToSuperview().offset(-20)
|
make.right.equalToSuperview().offset(-20)
|
||||||
make.top.equalTo(acView.snp.bottom).offset(20)
|
make.top.equalTo(acView.snp.bottom).offset(20)
|
||||||
make.bottom.equalToSuperview()
|
make.bottom.equalToSuperview()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// scrollView.contentOffset = CGPoint(x: 0, y: 0)
|
||||||
|
// scrollView.scrollRectToVisible(CGRect(x: 0, y: 0, width: KScreenWidth, height: scrollView.frame.size.height), animated: false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user