|
|
@@ -17,6 +17,9 @@
|
|
|
#import "diskListTableView.h"
|
|
|
|
|
|
@interface downLoadPreviewViewController ()<UITableViewDelegate,UITableViewDataSource,DZNEmptyDataSetSource, DZNEmptyDataSetDelegate>
|
|
|
+{
|
|
|
+ UIButton *tapBtn;
|
|
|
+}
|
|
|
@property (nonatomic, strong) UITableView *tableView;
|
|
|
|
|
|
@property (strong, nonatomic) UILabel *MytitleLabel;
|
|
|
@@ -117,7 +120,7 @@
|
|
|
[self.navBarBGView addSubview:selectTip];
|
|
|
self.selectTip = selectTip;
|
|
|
|
|
|
- UIButton *tapBtn = [UIButton buttonWithType:UIButtonTypeCustom];
|
|
|
+ tapBtn = [UIButton buttonWithType:UIButtonTypeCustom];
|
|
|
tapBtn.backgroundColor = [UIColor clearColor];
|
|
|
tapBtn.translatesAutoresizingMaskIntoConstraints = NO;
|
|
|
[tapBtn addTarget:self action:@selector(selectDiskAction:) forControlEvents:UIControlEventTouchUpInside];
|
|
|
@@ -144,11 +147,13 @@
|
|
|
|
|
|
|
|
|
[_rightButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.width.mas_equalTo(120);
|
|
|
+ make.width.mas_equalTo(90);
|
|
|
make.height.mas_equalTo(40);
|
|
|
make.right.mas_equalTo(-15);
|
|
|
make.centerY.mas_equalTo(self.titleLabel.mas_centerY);
|
|
|
}];
|
|
|
+
|
|
|
+ //_rightButton.backgroundColor = [UIColor redColor];
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -361,11 +366,18 @@
|
|
|
//self.MytitleLabel.backgroundColor = [UIColor greenColor];
|
|
|
|
|
|
[self.selectTip mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.left.mas_equalTo(self.MytitleLabel.mas_right).offset(2);
|
|
|
+ make.left.mas_equalTo(self.MytitleLabel.mas_right).offset(0);
|
|
|
make.centerY.mas_equalTo(self.backBtn.mas_centerY);
|
|
|
make.width.mas_equalTo(15);
|
|
|
make.height.mas_equalTo(15);
|
|
|
}];
|
|
|
+
|
|
|
+ [tapBtn mas_remakeConstraints:^(MASConstraintMaker *make) {
|
|
|
+ make.centerX.mas_equalTo(self.navBarBGView.mas_centerX);
|
|
|
+ make.centerY.mas_equalTo(self.backBtn.mas_centerY);
|
|
|
+ make.width.mas_equalTo(curWidth+15);
|
|
|
+ make.height.mas_equalTo(30);
|
|
|
+ }];
|
|
|
}
|
|
|
|
|
|
#pragma mark 选择硬盘
|