42 lines
909 B
Mathematica
42 lines
909 B
Mathematica
|
|
//
|
||
|
|
// SPZhuxiaoVC.m
|
||
|
|
// romantic
|
||
|
|
//
|
||
|
|
// Created by bj_szd on 2023/8/10.
|
||
|
|
// Copyright © 2023 romantic. All rights reserved.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import "SPZhuxiaoVC.h"
|
||
|
|
#import "SPZhuxiaoAlert.h"
|
||
|
|
|
||
|
|
@interface SPZhuxiaoVC ()
|
||
|
|
|
||
|
|
@property (weak, nonatomic) IBOutlet UIButton *zhuxiaoBtn;
|
||
|
|
@property (weak, nonatomic) IBOutlet UIView *bottomBgView;
|
||
|
|
|
||
|
|
@end
|
||
|
|
|
||
|
|
@implementation SPZhuxiaoVC
|
||
|
|
|
||
|
|
- (void)viewDidLoad {
|
||
|
|
[super viewDidLoad];
|
||
|
|
|
||
|
|
[self showNaviBarWithTitle:@"注销账号"];
|
||
|
|
|
||
|
|
[self.zhuxiaoBtn setJianBianWithCGSize:CGSizeMake(ScreenWidth-15*2, 48)];
|
||
|
|
[self.bottomBgView styleShadowWithRedius:10];
|
||
|
|
}
|
||
|
|
|
||
|
|
- (IBAction)onZhuxiao:(id)sender {
|
||
|
|
SPZhuxiaoAlert *view = LoadNib(@"SPZhuxiaoAlert");
|
||
|
|
view.frame = [UIScreen mainScreen].bounds;
|
||
|
|
[KEYWINDOW addSubview:view];
|
||
|
|
view.onCompleteBlock = ^{
|
||
|
|
if (self.onZhuxiaoSuccessBlock) {
|
||
|
|
self.onZhuxiaoSuccessBlock();
|
||
|
|
}
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
@end
|