|
|
@@ -151,120 +151,120 @@
|
|
|
[self setUploadFilePathLabelTitleFun];
|
|
|
|
|
|
//相册备份设置
|
|
|
- UIView *tailBgView2 = [[UIView alloc] init];
|
|
|
- tailBgView2.backgroundColor = [UIColor whiteColor];
|
|
|
- tailBgView2.layer.cornerRadius = 8;
|
|
|
- tailBgView2.tag = 2;
|
|
|
- [_tailView addSubview:tailBgView2];
|
|
|
-
|
|
|
- UITapGestureRecognizer *tap2 = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(didClickTailViewFun:)];
|
|
|
- [tailBgView2 addGestureRecognizer:tap2];
|
|
|
-
|
|
|
- [tailBgView2 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.left.mas_equalTo(15);
|
|
|
- make.right.mas_equalTo(-15);
|
|
|
- make.height.mas_equalTo(90);
|
|
|
- make.top.mas_equalTo(tailBgView.mas_bottom).offset(15.0);
|
|
|
- }];
|
|
|
-
|
|
|
- UILabel *titleLab2 = [[UILabel alloc] init];
|
|
|
- titleLab2.text = NSLocalizedString(@"File_backups_path_set",nil);
|
|
|
- titleLab2.font = [UIFont boldSystemFontOfSize:14.0];
|
|
|
- titleLab2.textColor = [UIColor hwColor:@"#0A132B" alpha:1.0];
|
|
|
- [tailBgView2 addSubview:titleLab2];
|
|
|
-
|
|
|
- [titleLab2 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.left.mas_equalTo(10);
|
|
|
- make.right.mas_equalTo(-50);
|
|
|
- make.height.mas_equalTo(20);
|
|
|
- make.top.mas_equalTo(20);
|
|
|
- }];
|
|
|
-
|
|
|
- /*右侧箭头*/
|
|
|
- UIImageView *rightImage2 = [[UIImageView alloc] init];
|
|
|
- [rightImage2 setBackgroundColor:[UIColor clearColor]];
|
|
|
- [rightImage2 setImage:[UIImage imageNamed:@"cell_right_access"]];
|
|
|
- [tailBgView2 addSubview:rightImage2];
|
|
|
- [rightImage2 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.width.mas_equalTo(28);
|
|
|
- make.right.mas_equalTo(-15.f);
|
|
|
- make.height.mas_equalTo(28);
|
|
|
- make.centerY.equalTo(titleLab2.mas_centerY);
|
|
|
- }];
|
|
|
-
|
|
|
- _backupsFilePathLabel=[[UILabel alloc] init];
|
|
|
- //titleLab.text = NSLocalizedString(@"File_upload_path_set",nil);
|
|
|
- _backupsFilePathLabel.font = [UIFont systemFontOfSize:12.0];
|
|
|
- _backupsFilePathLabel.textColor = [UIColor hwColor:@"#6A6A6A" alpha:1.0];
|
|
|
- _backupsFilePathLabel.numberOfLines = 0;
|
|
|
- [tailBgView2 addSubview:_backupsFilePathLabel];
|
|
|
-
|
|
|
- [_backupsFilePathLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.left.mas_equalTo(15);
|
|
|
- make.right.mas_equalTo(-15);
|
|
|
- make.bottom.mas_equalTo(-10);
|
|
|
- make.top.mas_equalTo(titleLab2.mas_bottom).offset(10.0);
|
|
|
- }];
|
|
|
-
|
|
|
- [self setBackupsFilePathLabelTitleFun];
|
|
|
-
|
|
|
- ////相册备份设置
|
|
|
- UIView *tailBgView3 = [[UIView alloc] init];
|
|
|
- tailBgView3.backgroundColor = [UIColor whiteColor];
|
|
|
- tailBgView3.layer.cornerRadius = 8;
|
|
|
- tailBgView3.tag = 3;
|
|
|
- [_tailView addSubview:tailBgView3];
|
|
|
-
|
|
|
- UITapGestureRecognizer *tap3 = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(didClickTailViewFun:)];
|
|
|
- [tailBgView3 addGestureRecognizer:tap3];
|
|
|
-
|
|
|
- [tailBgView3 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.left.mas_equalTo(15);
|
|
|
- make.right.mas_equalTo(-15);
|
|
|
- make.height.mas_equalTo(90);
|
|
|
- make.top.mas_equalTo(tailBgView2.mas_bottom).offset(15.0);
|
|
|
- }];
|
|
|
-
|
|
|
- UILabel *titleLab3 = [[UILabel alloc] init];
|
|
|
- titleLab3.text = NSLocalizedString(@"File_save_to_box_path_set",nil);
|
|
|
- titleLab3.font = [UIFont boldSystemFontOfSize:14.0];
|
|
|
- titleLab3.textColor = [UIColor hwColor:@"#0A132B" alpha:1.0];
|
|
|
- [tailBgView3 addSubview:titleLab3];
|
|
|
-
|
|
|
- [titleLab3 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.left.mas_equalTo(10);
|
|
|
- make.right.mas_equalTo(-50);
|
|
|
- make.height.mas_equalTo(20);
|
|
|
- make.top.mas_equalTo(20);
|
|
|
- }];
|
|
|
-
|
|
|
- /*右侧箭头*/
|
|
|
- UIImageView *rightImage3 = [[UIImageView alloc] init];
|
|
|
- [rightImage3 setBackgroundColor:[UIColor clearColor]];
|
|
|
- [rightImage3 setImage:[UIImage imageNamed:@"cell_right_access"]];
|
|
|
- [tailBgView3 addSubview:rightImage3];
|
|
|
- [rightImage3 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.width.mas_equalTo(28);
|
|
|
- make.right.mas_equalTo(-15.f);
|
|
|
- make.height.mas_equalTo(28);
|
|
|
- make.centerY.equalTo(titleLab3.mas_centerY);
|
|
|
- }];
|
|
|
-
|
|
|
- _saveBoxFilePathLabel=[[UILabel alloc] init];
|
|
|
- //titleLab.text = NSLocalizedString(@"File_upload_path_set",nil);
|
|
|
- _saveBoxFilePathLabel.font = [UIFont systemFontOfSize:12.0];
|
|
|
- _saveBoxFilePathLabel.textColor = [UIColor hwColor:@"#6A6A6A" alpha:1.0];
|
|
|
- _saveBoxFilePathLabel.numberOfLines = 0;
|
|
|
- [tailBgView3 addSubview:_saveBoxFilePathLabel];
|
|
|
-
|
|
|
- [_saveBoxFilePathLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.left.mas_equalTo(15);
|
|
|
- make.right.mas_equalTo(-15);
|
|
|
- make.bottom.mas_equalTo(-10);
|
|
|
- make.top.mas_equalTo(titleLab3.mas_bottom).offset(10.0);
|
|
|
- }];
|
|
|
-
|
|
|
- [self setSaveFileToBoxPathLabelTitleFun];
|
|
|
+// UIView *tailBgView2 = [[UIView alloc] init];
|
|
|
+// tailBgView2.backgroundColor = [UIColor whiteColor];
|
|
|
+// tailBgView2.layer.cornerRadius = 8;
|
|
|
+// tailBgView2.tag = 2;
|
|
|
+// [_tailView addSubview:tailBgView2];
|
|
|
+//
|
|
|
+// UITapGestureRecognizer *tap2 = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(didClickTailViewFun:)];
|
|
|
+// [tailBgView2 addGestureRecognizer:tap2];
|
|
|
+//
|
|
|
+// [tailBgView2 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.left.mas_equalTo(15);
|
|
|
+// make.right.mas_equalTo(-15);
|
|
|
+// make.height.mas_equalTo(90);
|
|
|
+// make.top.mas_equalTo(tailBgView.mas_bottom).offset(15.0);
|
|
|
+// }];
|
|
|
+//
|
|
|
+// UILabel *titleLab2 = [[UILabel alloc] init];
|
|
|
+// titleLab2.text = NSLocalizedString(@"File_backups_path_set",nil);
|
|
|
+// titleLab2.font = [UIFont boldSystemFontOfSize:14.0];
|
|
|
+// titleLab2.textColor = [UIColor hwColor:@"#0A132B" alpha:1.0];
|
|
|
+// [tailBgView2 addSubview:titleLab2];
|
|
|
+//
|
|
|
+// [titleLab2 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.left.mas_equalTo(10);
|
|
|
+// make.right.mas_equalTo(-50);
|
|
|
+// make.height.mas_equalTo(20);
|
|
|
+// make.top.mas_equalTo(20);
|
|
|
+// }];
|
|
|
+//
|
|
|
+// /*右侧箭头*/
|
|
|
+// UIImageView *rightImage2 = [[UIImageView alloc] init];
|
|
|
+// [rightImage2 setBackgroundColor:[UIColor clearColor]];
|
|
|
+// [rightImage2 setImage:[UIImage imageNamed:@"cell_right_access"]];
|
|
|
+// [tailBgView2 addSubview:rightImage2];
|
|
|
+// [rightImage2 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.width.mas_equalTo(28);
|
|
|
+// make.right.mas_equalTo(-15.f);
|
|
|
+// make.height.mas_equalTo(28);
|
|
|
+// make.centerY.equalTo(titleLab2.mas_centerY);
|
|
|
+// }];
|
|
|
+//
|
|
|
+// _backupsFilePathLabel=[[UILabel alloc] init];
|
|
|
+// //titleLab.text = NSLocalizedString(@"File_upload_path_set",nil);
|
|
|
+// _backupsFilePathLabel.font = [UIFont systemFontOfSize:12.0];
|
|
|
+// _backupsFilePathLabel.textColor = [UIColor hwColor:@"#6A6A6A" alpha:1.0];
|
|
|
+// _backupsFilePathLabel.numberOfLines = 0;
|
|
|
+// [tailBgView2 addSubview:_backupsFilePathLabel];
|
|
|
+//
|
|
|
+// [_backupsFilePathLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.left.mas_equalTo(15);
|
|
|
+// make.right.mas_equalTo(-15);
|
|
|
+// make.bottom.mas_equalTo(-10);
|
|
|
+// make.top.mas_equalTo(titleLab2.mas_bottom).offset(10.0);
|
|
|
+// }];
|
|
|
+//
|
|
|
+// [self setBackupsFilePathLabelTitleFun];
|
|
|
+//
|
|
|
+// ////相册备份设置
|
|
|
+// UIView *tailBgView3 = [[UIView alloc] init];
|
|
|
+// tailBgView3.backgroundColor = [UIColor whiteColor];
|
|
|
+// tailBgView3.layer.cornerRadius = 8;
|
|
|
+// tailBgView3.tag = 3;
|
|
|
+// [_tailView addSubview:tailBgView3];
|
|
|
+//
|
|
|
+// UITapGestureRecognizer *tap3 = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(didClickTailViewFun:)];
|
|
|
+// [tailBgView3 addGestureRecognizer:tap3];
|
|
|
+//
|
|
|
+// [tailBgView3 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.left.mas_equalTo(15);
|
|
|
+// make.right.mas_equalTo(-15);
|
|
|
+// make.height.mas_equalTo(90);
|
|
|
+// make.top.mas_equalTo(tailBgView2.mas_bottom).offset(15.0);
|
|
|
+// }];
|
|
|
+//
|
|
|
+// UILabel *titleLab3 = [[UILabel alloc] init];
|
|
|
+// titleLab3.text = NSLocalizedString(@"File_save_to_box_path_set",nil);
|
|
|
+// titleLab3.font = [UIFont boldSystemFontOfSize:14.0];
|
|
|
+// titleLab3.textColor = [UIColor hwColor:@"#0A132B" alpha:1.0];
|
|
|
+// [tailBgView3 addSubview:titleLab3];
|
|
|
+//
|
|
|
+// [titleLab3 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.left.mas_equalTo(10);
|
|
|
+// make.right.mas_equalTo(-50);
|
|
|
+// make.height.mas_equalTo(20);
|
|
|
+// make.top.mas_equalTo(20);
|
|
|
+// }];
|
|
|
+//
|
|
|
+// /*右侧箭头*/
|
|
|
+// UIImageView *rightImage3 = [[UIImageView alloc] init];
|
|
|
+// [rightImage3 setBackgroundColor:[UIColor clearColor]];
|
|
|
+// [rightImage3 setImage:[UIImage imageNamed:@"cell_right_access"]];
|
|
|
+// [tailBgView3 addSubview:rightImage3];
|
|
|
+// [rightImage3 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.width.mas_equalTo(28);
|
|
|
+// make.right.mas_equalTo(-15.f);
|
|
|
+// make.height.mas_equalTo(28);
|
|
|
+// make.centerY.equalTo(titleLab3.mas_centerY);
|
|
|
+// }];
|
|
|
+//
|
|
|
+// _saveBoxFilePathLabel=[[UILabel alloc] init];
|
|
|
+// //titleLab.text = NSLocalizedString(@"File_upload_path_set",nil);
|
|
|
+// _saveBoxFilePathLabel.font = [UIFont systemFontOfSize:12.0];
|
|
|
+// _saveBoxFilePathLabel.textColor = [UIColor hwColor:@"#6A6A6A" alpha:1.0];
|
|
|
+// _saveBoxFilePathLabel.numberOfLines = 0;
|
|
|
+// [tailBgView3 addSubview:_saveBoxFilePathLabel];
|
|
|
+//
|
|
|
+// [_saveBoxFilePathLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.left.mas_equalTo(15);
|
|
|
+// make.right.mas_equalTo(-15);
|
|
|
+// make.bottom.mas_equalTo(-10);
|
|
|
+// make.top.mas_equalTo(titleLab3.mas_bottom).offset(10.0);
|
|
|
+// }];
|
|
|
+//
|
|
|
+// [self setSaveFileToBoxPathLabelTitleFun];
|
|
|
}
|
|
|
|
|
|
return _tailView;
|
|
|
@@ -289,7 +289,7 @@
|
|
|
NSMutableAttributedString *noteStr = [[NSMutableAttributedString alloc] initWithString:totalStr];
|
|
|
|
|
|
NSRange redRange = NSMakeRange([totalStr rangeOfString:rightStr].location, [totalStr rangeOfString:rightStr].length);
|
|
|
- [noteStr addAttribute:NSForegroundColorAttributeName value:[UIColor hwColor:@"#01B7EA" alpha:0.8] range:redRange];
|
|
|
+ [noteStr addAttribute:NSForegroundColorAttributeName value:[UIColor hwColor:@"#FF9500" alpha:0.8] range:redRange];
|
|
|
[noteStr addAttribute:NSFontAttributeName value:[UIFont systemFontOfSize:12.0] range:redRange];
|
|
|
// 设置行间距
|
|
|
NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
|
|
|
@@ -320,7 +320,7 @@
|
|
|
NSMutableAttributedString *noteStr = [[NSMutableAttributedString alloc] initWithString:totalStr];
|
|
|
|
|
|
NSRange redRange = NSMakeRange([totalStr rangeOfString:rightStr].location, [totalStr rangeOfString:rightStr].length);
|
|
|
- [noteStr addAttribute:NSForegroundColorAttributeName value:[UIColor hwColor:@"#01B7EA" alpha:0.8] range:redRange];
|
|
|
+ [noteStr addAttribute:NSForegroundColorAttributeName value:[UIColor hwColor:@"#FF9500" alpha:0.8] range:redRange];
|
|
|
[noteStr addAttribute:NSFontAttributeName value:[UIFont systemFontOfSize:12.0] range:redRange];
|
|
|
// 设置行间距
|
|
|
NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
|
|
|
@@ -352,7 +352,7 @@
|
|
|
NSMutableAttributedString *noteStr = [[NSMutableAttributedString alloc] initWithString:totalStr];
|
|
|
|
|
|
NSRange redRange = NSMakeRange([totalStr rangeOfString:rightStr].location, [totalStr rangeOfString:rightStr].length);
|
|
|
- [noteStr addAttribute:NSForegroundColorAttributeName value:[UIColor hwColor:@"#01B7EA" alpha:0.8] range:redRange];
|
|
|
+ [noteStr addAttribute:NSForegroundColorAttributeName value:[UIColor hwColor:@"#FF9500" alpha:0.8] range:redRange];
|
|
|
[noteStr addAttribute:NSFontAttributeName value:[UIFont systemFontOfSize:12.0] range:redRange];
|
|
|
// 设置行间距
|
|
|
NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
|