// // JXVIPDetailViewController.h // shiku_im // // Created by cindy on 2020/5/29. // Copyright © 2020 Reese. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN @interface JXVIPDetailVc : UIViewController @end NS_ASSUME_NONNULL_END /** NSString *currentPrice = [NSString stringWithFormat:@"%@",dict[@"next"][@"money"]]; CGFloat currentPriceLabelWidht = [self titleBtnWight:currentPrice and:self.currentPriceLabel].width; self.currentPriceLabel.text = currentPrice; self.currentPriceLabel.frame = CGRectMake(self.currentLabel.right+3, self.headerImageView.bottom+96, currentPriceLabelWidht+5, 15); CGFloat currentCompanyLabelWidht = [self titleBtnWight:[NSString stringWithFormat:@"(%@/%@)",currentPrice,currentPrice] and:self.currentCompanyLabel].width; self.currentCompanyLabel.text = [NSString stringWithFormat:@"(%@/%@)",currentPrice,currentPrice];; self.currentCompanyLabel.frame = CGRectMake(self.currentPriceLabel.right+3, self.headerImageView.bottom+96, currentCompanyLabelWidht, 15); //还差升级存款 self.twoDianView.frame = CGRectMake(35, self.currentLabel.bottom+14, 6, 6); CGFloat differenceLabelWidht = [self titleBtnWight:@"还差升级存款(元):" and:self.differenceLabel].width; self.differenceLabel.frame = CGRectMake(self.twoDianView.right+3, self.currentLabel.bottom+10, differenceLabelWidht, 15); NSString *differencePrice = [NSString stringWithFormat:@"%@",dict[@"totalRecharge"]]; CGFloat differencePriceLabelWidht = [self titleBtnWight:differencePrice and:self.differencePriceLabel].width; self.differencePriceLabel.text = differencePrice; self.differencePriceLabel.frame =CGRectMake(self.differenceLabel.right+3, self.currentLabel.bottom+10, differencePriceLabelWidht, 15); CGFloat differenceCompanyLabelWidht = [self titleBtnWight:[NSString stringWithFormat:@"(%@/%@)",differencePrice,differencePrice] and:self.differenceCompanyLabel].width; self.differenceCompanyLabel.text = [NSString stringWithFormat:@"(%@/%@)",differencePrice,differencePrice]; self.differenceCompanyLabel.frame = CGRectMake(self.differencePriceLabel.right+3, self.currentLabel.bottom+10, differenceCompanyLabelWidht, 15); */