12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // WorkFlowSelectView.m
- // smartRhino
- //
- // Created by tederen on 2019/11/6.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #import "WorkFlowSelectView.h"
- #define Xrang [ UIScreen mainScreen ].bounds.size.width/375 //屏幕宽比例
- #define Yrang [ UIScreen mainScreen ].bounds.size.height/667//屏幕高比例
- @interface WorkFlowSelectView()<UICollectionViewDelegate, UICollectionViewDataSource> {
- NSArray *_imageNameArr;
- NSArray *_drawerNameArr;
- }
- @property (nonatomic, strong) TDTableView *tableView;
- @property (nonatomic, strong) UIView *backView;
- @end
- @implementation WorkFlowSelectView
- - (instancetype)initWithFrame:(CGRect)frame
- {
- self = [super initWithFrame:frame];
- if (self) {
- self.backgroundColor = [UIColor colorWithWhite:0 alpha:0.65];
-
- }
- return self;
- }
- - (UIView *)backView{
- if (!_backView) {
- _backView = [[UIView alloc]initWithFrame:CGRectMake((kGXScreenWidth -295*Xrang)/2 ,kGXScreenWidth ,295*Xrang,379*Yrang)];
- }
- return _backView;
- }
- @end
|