|
|
@@ -118,10 +118,22 @@
|
|
|
[weakSelf didClickSelectAllButton:but];
|
|
|
};
|
|
|
|
|
|
+ CGFloat tableViewAdjust = 0.0;
|
|
|
+ CGFloat bigAddbuttonAdjust = 0.0;
|
|
|
+
|
|
|
+ if(isFirstPageType){
|
|
|
+ tableViewAdjust = TABBARHEIGHT;
|
|
|
+ bigAddbuttonAdjust = TABBARHEIGHT;
|
|
|
+ }
|
|
|
|
|
|
_curEditTypeBottomView = [[editTypeBottomView alloc] init];
|
|
|
_curEditTypeBottomView.hidden = YES;
|
|
|
- [self.view addSubview:_curEditTypeBottomView];
|
|
|
+ if(!isFirstPageType){
|
|
|
+ [self.view addSubview:_curEditTypeBottomView];
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ [ksharedAppDelegate.window addSubview:_curEditTypeBottomView];
|
|
|
+ }
|
|
|
|
|
|
[_curEditTypeBottomView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
make.left.mas_equalTo(0);
|
|
|
@@ -143,13 +155,6 @@
|
|
|
}
|
|
|
};
|
|
|
|
|
|
- CGFloat tableViewAdjust = 0.0;
|
|
|
- CGFloat bigAddbuttonAdjust = 0.0;
|
|
|
-
|
|
|
- if(isFirstPageType){
|
|
|
- tableViewAdjust = TABBARHEIGHT;
|
|
|
- bigAddbuttonAdjust = TABBARHEIGHT;
|
|
|
- }
|
|
|
|
|
|
|
|
|
[self.view addSubview:self.tableView];
|
|
|
@@ -614,10 +619,16 @@
|
|
|
_curEditTypeBottomView.hidden = YES;
|
|
|
_uploadFileButton.hidden = NO;
|
|
|
|
|
|
+ CGFloat tableViewAdjust = 0.0;
|
|
|
+
|
|
|
+ if(isFirstPageType){
|
|
|
+ tableViewAdjust = TABBARHEIGHT;
|
|
|
+ }
|
|
|
+
|
|
|
[self.tableView mas_remakeConstraints:^(MASConstraintMaker *make) {
|
|
|
make.left.mas_equalTo(0);
|
|
|
make.right.mas_equalTo(0);
|
|
|
- make.bottom.mas_equalTo(0);
|
|
|
+ make.bottom.mas_equalTo(-tableViewAdjust);
|
|
|
make.top.equalTo(self.navBarBGView.mas_bottom).offset(10.f);
|
|
|
}];
|
|
|
}
|
|
|
@@ -720,7 +731,7 @@
|
|
|
- (void)userDidClickUploadViewFun
|
|
|
{
|
|
|
previewToUploadFileView *previewToUploadFileV = [[previewToUploadFileView alloc] init];
|
|
|
- [self.view addSubview:previewToUploadFileV];
|
|
|
+ [ksharedAppDelegate.window addSubview:previewToUploadFileV];
|
|
|
|
|
|
[previewToUploadFileV mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
make.left.mas_equalTo(0);
|
|
|
@@ -850,6 +861,10 @@
|
|
|
[self getFileListFun:NO];
|
|
|
[self queryShareSwitchFunFun];
|
|
|
}
|
|
|
+
|
|
|
+ if(isFirstPageType){
|
|
|
+ [self showTabbarFun];
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- (void)viewWillDisappear:(BOOL)animated{
|