1.update
parent
49ca6becdf
commit
3715cea1e6
|
@ -74,13 +74,15 @@ returnInsets = inset;\
|
|||
UILabel *descLabel = [[UILabel alloc] init];
|
||||
descLabel.frame = CGRectMake(14, bottomY + 12, 168, 21);
|
||||
descLabel.font = [UIFont fontWithName:@"PingFangSC-Semibold" size:15];
|
||||
descLabel.textAlignment = NSTextAlignmentLeft;
|
||||
descLabel.textColor = [MOPTools fat_dynamicColorWithLightHexString:@"#222222" darkHexString:@"#222222"];
|
||||
self.titleLabel = descLabel;
|
||||
[self.shareView addSubview:descLabel];
|
||||
|
||||
UILabel *detailLabel = [[UILabel alloc] init];
|
||||
detailLabel.frame = CGRectMake(14, self.titleLabel.frame.size.height + self.titleLabel.frame.origin.y, 168, 44);
|
||||
detailLabel.frame = CGRectMake(14, self.titleLabel.frame.size.height + self.titleLabel.frame.origin.y - 3, 168, 44);
|
||||
detailLabel.font = [UIFont fontWithName:@"PingFangSC-Regular" size:11];
|
||||
detailLabel.textAlignment = NSTextAlignmentLeft;
|
||||
detailLabel.numberOfLines = 0;
|
||||
detailLabel.textColor = [MOPTools fat_dynamicColorWithLightHexString:@"#666666" darkHexString:@"#666666"];
|
||||
self.descLabel = detailLabel;
|
||||
|
@ -128,6 +130,12 @@ returnInsets = inset;\
|
|||
maskLayer.path = maskPath.CGPath;
|
||||
self.contentView.layer.mask = maskLayer;
|
||||
|
||||
UIBezierPath *appletImageViewMask = [UIBezierPath bezierPathWithRoundedRect:self.appletImageView.bounds byRoundingCorners:UIRectCornerTopLeft | UIRectCornerTopRight cornerRadii:CGSizeMake(6.0, 6.0)];
|
||||
CAShapeLayer *appletImageMaskLayer = [[CAShapeLayer alloc] init];
|
||||
appletImageMaskLayer.frame = self.appletImageView.bounds;
|
||||
appletImageMaskLayer.path = appletImageViewMask.CGPath;
|
||||
self.appletImageView.layer.mask = appletImageMaskLayer;
|
||||
|
||||
self.shareView.frame = CGRectMake(52.5, self.contentView.frame.origin.y - 400 , 270 , 380);
|
||||
|
||||
UIButton *saveButton = [[UIButton alloc] initWithFrame:CGRectMake(278.5, self.shareView.frame.origin.y + 12, 36, 36)];
|
||||
|
|
Loading…
Reference in New Issue