39 lines
731 B
Objective-C
Executable File
39 lines
731 B
Objective-C
Executable File
//
|
|
// YYPMSelfAlert.m
|
|
// YaYin
|
|
//
|
|
// Created by bj_szd on 2023/7/12.
|
|
// Copyright © 2023 YaYin. All rights reserved.
|
|
//
|
|
|
|
#import "YYPMSelfAlert.h"
|
|
|
|
@interface YYPMSelfAlert ()
|
|
|
|
@end
|
|
|
|
@implementation YYPMSelfAlert
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
|
|
[self createUI];
|
|
}
|
|
|
|
- (void)createUI {
|
|
[self.confirmBtn styleGradiBlueColor];
|
|
}
|
|
|
|
- (void)setDataDict:(NSDictionary *)dataDict {
|
|
_dataDict = dataDict;
|
|
|
|
NSString *nick_name = [dataDict[@"sign_user_info"] safeStringForKey:@"nick_name"];
|
|
self.resultLab.text = [NSString stringWithFormat:@"您和%@已经是%@关系了", nick_name, dataDict[@"relation_name"]];
|
|
}
|
|
|
|
- (IBAction)onConfirm:(id)sender {
|
|
[self removeFromSuperview];
|
|
}
|
|
|
|
@end
|