44 lines
855 B
Objective-C
44 lines
855 B
Objective-C
//
|
|
// PMInfoView.m
|
|
// SweetParty
|
|
//
|
|
// Created by Mac on 2024/11/28.
|
|
//
|
|
|
|
#import "PMInfoView.h"
|
|
#import "UIButton+BAKit.h"
|
|
|
|
@interface PMInfoView ()
|
|
|
|
@end
|
|
|
|
@implementation PMInfoView
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
|
|
[self.guanxiBtn ba_button_setButtonLayoutType:BAKit_ButtonLayoutTypeCenterImageTop padding:6];
|
|
[self.shichangBtn ba_button_setButtonLayoutType:BAKit_ButtonLayoutTypeCenterImageTop padding:6];
|
|
[self.liwuBtn ba_button_setButtonLayoutType:BAKit_ButtonLayoutTypeCenterImageTop padding:6];
|
|
}
|
|
|
|
- (IBAction)guanxiClick:(id)sender {
|
|
if(self.guanxiAction) {
|
|
self.guanxiAction();
|
|
}
|
|
}
|
|
|
|
- (IBAction)shichangClick:(id)sender {
|
|
if(self.shichangAction) {
|
|
self.shichangAction();
|
|
}
|
|
}
|
|
|
|
- (IBAction)liwuClick:(id)sender {
|
|
if(self.liwuAction) {
|
|
self.liwuAction();
|
|
}
|
|
}
|
|
|
|
@end
|