|
|
@@ -318,10 +318,10 @@
|
|
|
[self selectAllOrNotBy:but.selected];
|
|
|
}
|
|
|
else if(tag == 10){//删除分享
|
|
|
- [self deleteShareLinkArrFun];
|
|
|
+ [self showDeleteAlearViewFun];
|
|
|
}
|
|
|
else if(tag == 11){//取消分享
|
|
|
- [self cancelShareLinkArrFun];
|
|
|
+ [self cancelShareLinkFun];
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -446,7 +446,33 @@
|
|
|
}
|
|
|
|
|
|
#pragma mark 取消分享
|
|
|
-- (void)cancelShareLinkArrFun
|
|
|
+- (void)showCancelAlearViewFun
|
|
|
+{
|
|
|
+ NSString *tipStr = NSLocalizedString(@"cancel_share_Tip_msg",nil);
|
|
|
+
|
|
|
+ KWeakSelf
|
|
|
+ ComontAlretViewController *curAlretVC= [[ComontAlretViewController alloc] initWithTiTle:nil
|
|
|
+ msg:tipStr
|
|
|
+ imageStr:nil
|
|
|
+ cancelTitle:NSLocalizedString(@"other_cancel",nil)
|
|
|
+ okTitle:NSLocalizedString(@"other_confirm",nil) isOkBtnHighlight:YES
|
|
|
+ didClickOk:^{
|
|
|
+
|
|
|
+ [weakSelf cancelShareLinkFun];
|
|
|
+ } didClickCancel:^{
|
|
|
+
|
|
|
+ }];
|
|
|
+
|
|
|
+ curAlretVC.modalPresentationStyle = UIModalPresentationCustom;
|
|
|
+
|
|
|
+ [self presentViewController:curAlretVC animated:YES completion:^{
|
|
|
+ curAlretVC.view.superview.backgroundColor = [UIColor clearColor];
|
|
|
+ }];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+#pragma mark 取消分享
|
|
|
+- (void)cancelShareLinkFun
|
|
|
{
|
|
|
NSMutableDictionary *paraDict = [NSMutableDictionary new];
|
|
|
if(_didSelectArr){
|
|
|
@@ -485,6 +511,34 @@
|
|
|
}];
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+#pragma mark 删除分享
|
|
|
+- (void)showDeleteAlearViewFun
|
|
|
+{
|
|
|
+ NSString *titleStr = NSLocalizedString(@"delete_share_title_msg",nil);
|
|
|
+ NSString *tipStr = NSLocalizedString(@"delete_share_Tip_msg",nil);
|
|
|
+
|
|
|
+ KWeakSelf
|
|
|
+ ComontAlretViewController *curAlretVC= [[ComontAlretViewController alloc] initWithTiTle:titleStr
|
|
|
+ msg:tipStr
|
|
|
+ imageStr:nil
|
|
|
+ cancelTitle:NSLocalizedString(@"other_cancel",nil)
|
|
|
+ okTitle:NSLocalizedString(@"other_confirm",nil) isOkBtnHighlight:YES
|
|
|
+ didClickOk:^{
|
|
|
+
|
|
|
+ [weakSelf deleteShareLinkArrFun];
|
|
|
+ } didClickCancel:^{
|
|
|
+
|
|
|
+ }];
|
|
|
+
|
|
|
+ curAlretVC.modalPresentationStyle = UIModalPresentationCustom;
|
|
|
+
|
|
|
+ [self presentViewController:curAlretVC animated:YES completion:^{
|
|
|
+ curAlretVC.view.superview.backgroundColor = [UIColor clearColor];
|
|
|
+ }];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
#pragma mark 删除分享
|
|
|
- (void)deleteShareLinkArrFun
|
|
|
{
|