1234567891011121314151617181920212223242526272829303132333435 |
- //
- // JXMyTopView.h
- // shiku_im
- //
- // Created by 123 on 2020/5/15.
- // Copyright © 2020 Reese. All rights reserved.
- //
- #import <UIKit/UIKit.h>
-
-
- typedef void(^JXXMGTopViewBlockBtn)(UIButton *sender);
- @interface JXServiceTopView: UIView
- +(instancetype)XIBJXServiceTopView;
- @property (nonatomic,copy) JXXMGTopViewBlockBtn topViewBlockBtn;
-
- @property (weak, nonatomic) UIButton *gobackBtn;
- @end
- /**
-
- CAGradientLayer *gl = [CAGradientLayer layer];
- gl.frame = CGRectMake(0,0,JX_SCREEN_WIDTH,170);
- gl.startPoint = CGPointMake(0, 0);
- gl.endPoint = CGPointMake(1, 1);
- gl.colors = @[(__bridge id)[UIColor colorWithRed:209/255.0 green:164/255.0 blue:164/255.0 alpha:1.0].CGColor,(__bridge id)[UIColor colorWithRed:142/255.0 green:74/255.0 blue:74/255.0 alpha:1.0].CGColor];
- gl.locations = @[@(0.0),@(1.0f)];
- [self.vipLeverL.layer addSublayer:gl];
-
- */
|