// // ASGoodsGuaranteeInfoCell.m // Asteria // // Created by xingyu on 2024/5/20. // #import "ASGoodsGuaranteeInfoCell.h" #import "GoodsDetailsPayV.h" #import "GoodsDetailsIntroduceV.h" #import "RadioButton.h" @interface ASGoodsGuaranteeInfoCell() @property (nonatomic, strong) GoodsDetailsPayV *datails_payV; @property (nonatomic, strong) GoodsDetailsIntroduceV *datails_IntroduceV; @property (nonatomic, strong) NSMutableArray *radioBtnAry; @property (nonatomic, strong) UIButton *leftBtn; @property (nonatomic, strong) UIButton *rightBtn; @end @implementation ASGoodsGuaranteeInfoCell - (void)setupSubviewS{ [NSNotificationCenter.defaultCenter addObserver:self selector:@selector(setData) name:GoodsDetailsUpdatePrice object:nil]; _radioBtnAry = [[NSMutableArray alloc] initWithCapacity:1]; [self.contentView addSubview:self.datails_payV]; [self.contentView addSubview:self.datails_IntroduceV]; [self.datails_payV mas_makeConstraints:^(MASConstraintMaker *make) { make.left.mas_equalTo(10); make.top.mas_equalTo(10); make.width.mas_equalTo(KScreenWidth-20); make.height.mas_equalTo(78); }]; [self.datails_IntroduceV mas_makeConstraints:^(MASConstraintMaker *make) { make.left.mas_equalTo(10); make.top.equalTo(self.datails_payV.mas_bottom).offset(10); make.width.mas_equalTo(KScreenWidth-20); make.height.mas_equalTo(120); }]; NSArray *titleAry = @[@"PRODUCT DETAILS",@"REVIEWS"]; for (int i= 0; i