|
@@ -9,6 +9,8 @@
|
|
|
#import "shareRecordTableViewCell.h"
|
|
|
#import "shareRecordDetailsHWViewController.h"
|
|
|
#import "ShareRecordModel.h"
|
|
|
+#import "CustomerWebViewController.h"
|
|
|
+
|
|
|
@interface shareRecordViewController ()<UITableViewDelegate,UITableViewDataSource,DZNEmptyDataSetSource, DZNEmptyDataSetDelegate>
|
|
|
{
|
|
|
BOOL isEditType;
|
|
@@ -305,7 +307,7 @@
|
|
|
NSInteger tag = but.tag;
|
|
|
|
|
|
if(tag == 1){
|
|
|
- [[iToast makeText:@"分享规则"] show];
|
|
|
+ [self ruleBtnClick];
|
|
|
}
|
|
|
else if(tag == 2){
|
|
|
[self setEditTypeFun];
|
|
@@ -577,5 +579,16 @@
|
|
|
}];
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+- (void)ruleBtnClick {
|
|
|
+//https://cliys.armclouding.com/h5/protocol/protocol.html?agreementCoding=YSZYHXY2002&type=1
|
|
|
+// [self gotoProtocolWKWebVCByPush:YES];
|
|
|
+ CustomerWebViewController *vc = [[CustomerWebViewController alloc] init];
|
|
|
+ vc.titleStr = NSLocalizedString(@"share_rule_title",nil);
|
|
|
+ NSString *url = @"http://testprivacy.phone.armclouding.com:1801/h5/rule.html";
|
|
|
+ if([CloudService rangeOfString:@"hiboxde.armclouding.com"].location != NSNotFound){
|
|
|
+ url = @"";
|
|
|
+ }
|
|
|
+ vc.webUrl = url;
|
|
|
+ [self.navigationController pushViewController:vc animated:YES];
|
|
|
+}
|
|
|
@end
|