Files
yuyin_ios/SweetParty/主类/Mine/VIP/YYVipPayAlert.m
2025-08-08 11:05:33 +08:00

53 lines
1.2 KiB
Objective-C
Executable File

//
// YYVipPayAlert.m
// SweetParty
//
// Created by bj_szd on 2022/6/9.
//
#import "YYVipPayAlert.h"
@interface YYVipPayAlert ()
@property (weak, nonatomic) IBOutlet UIImageView *touchImgV;
@property (weak, nonatomic) IBOutlet UIButton *confirmBtn;
@property (weak, nonatomic) IBOutlet UILabel *moneyLab;
@end
@implementation YYVipPayAlert
- (void)awakeFromNib {
[super awakeFromNib];
[self.confirmBtn setJianBianWithCGSize:CGSizeMake(ScreenWidth-17*2, 45)];
WEAK_SELF
[self.touchImgV dg_Tapped:^{
[weakSelf removeFromSuperview];
}];
}
- (IBAction)onConfirm:(id)sender {
// if (self.codeTF.text.length <= 0) {
// [HelpPageDefine showMessage:@"请输入验证码"];
// return;
// }
// NSDictionary *params = @{@"sms_code":self.codeTF.text};
// [[AFNetworkRequset shared] postRequestWithParams:params Path:@"/api/user/logout_user_name" Loading:YES Hud:YES Success:^(id _Nonnull responseDic) {
// if (self.onCompleteBlock) {
// self.onCompleteBlock();
// }
// [self removeFromSuperview];
//
// } Failure:^(id _Nonnull errorData) {
//
// }];
}
- (IBAction)onCancel:(id)sender {
[self removeFromSuperview];
}
@end