// // AS_GoodsReviewsListC.m // Asteria // // Created by 王猛 on 2024/1/4. // #import "AS_GoodsReviewsListC.h" #import "ASGoodsDetailsVM.h" #import "RadioButton.h" #import "GoodsReviewsListTableV.h" @interface AS_GoodsReviewsListC () @property (nonatomic, strong) ASGoodsDetailsVM *VM; @property (nonatomic, strong) UIView *topBgV; @property (nonatomic, strong) UIImageView *topImgV; @property (nonatomic, strong) UILabel *goodsTitleLab; @property (nonatomic, strong) QMUILabel *priceLab; @property (nonatomic, strong) QMUILabel *soldLab; @property (nonatomic, strong) NSMutableArray *radioBtnAry; @property (nonatomic, strong) UIView *tableHeadV; @property (nonatomic, strong) QMUILabel *reviewsLab; @property (nonatomic, strong) GoodsReviewsListTableV *TableV; @end @implementation AS_GoodsReviewsListC - (void)viewDidLoad { [super viewDidLoad]; self.title = [NSString stringWithFormat:@"Reviews (%@)",self.goodsM.review_nums]; [self reqNet_Goods_productGetProductsReview]; } - (void)initSubviews { [super initSubviews]; [self.view addSubview:self.topBgV]; NSArray *segAry = @[@"All",@"Newest",@"Pictures"]; for (int i=0; i