//设置圆角
- (void)bezierPathCorner{
[self.bookImageView layoutIfNeeded];
CGFloat width = (self.bookImageView.width-2) * 0.5;
CGFloat height = self.bookImageView.height-2;
UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:CGRectMake(0, 0, width, height) byRoundingCorners:UIRectCornerTopLeft | UIRectCornerBottomLeft cornerRadii:CGSizeMake(4, 4)];
UIBezierPath *maskPath1 = [UIBezierPath bezierPathWithRoundedRect:CGRectMake(width, 0, width, height) byRoundingCorners:UIRectCornerTopRight | UIRectCornerBottomRight cornerRadii:CGSizeMake(12, 12)];
[maskPath appendPath:maskPath1];
CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init];
maskLayer.frame = self.bookImageView.bounds;
maskLayer.path = maskPath.CGPath;
self.bookImageView.layer.mask = maskLayer;
}