CGRect size = [self widthOfTextFieldWithStr:[NSString stringWithFormat:@"%@", model.raiseAmt]];
CAShapeLayer *shapeLayer = [[CAShapeLayer alloc] initWithLayer:_priceL.layer];
shapeLayer.lineWidth = 1.0;
shapeLayer.strokeColor = [UIColor redColor].CGColor;
shapeLayer.fillColor = [UIColor clearColor].CGColor;
UIBezierPath *path = [[UIBezierPath alloc] init];
[path moveToPoint:CGPointMake(0, 3)];
[path addLineToPoint:CGPointMake(size.size.width+3, self.priceL.frame.size.height-5)];
shapeLayer.path = path.CGPath;
[_priceL.layer addSublayer:shapeLayer];
- (CGRect)widthOfTextFieldWithStr:(NSString *)str {
CGRect size = [str boundingRectWithSize:CGSizeMake(kScreenW, heightEx(60)) options:NSStringDrawingUsesFontLeading | NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingTruncatesLastVisibleLine attributes:@{NSFontAttributeName: [UIFont systemFontOfSize:17]} context:nil];
return size;
}