Pārlūkot izejas kodu

1.问题反馈 进行中

huangxiaodong 1 gadu atpakaļ
vecāks
revīzija
863f3bf4a1

+ 11 - 0
创维盒子/双子星云手机/Class/Set/CustomerWebViewController.m

@@ -45,6 +45,17 @@
     [self drawView];
 }
 
+#pragma mark 点击返回
+- (void)backBtnPressed
+{
+    if([self.webView canGoBack]){
+        [self.webView goBack];
+    }
+    else {
+        [super backBtnPressed];
+    }
+}
+
 - (void)drawView {
     
     [self.toolBar setHidden:YES];

+ 12 - 3
创维盒子/双子星云手机/mine/mineViewController.m

@@ -14,6 +14,7 @@
 #import "inputPWDViewController.h"
 #import "customerServiceViewController.h"
 #import "customDownloadCacheManager.h"
+#import "CustomerWebViewController.h"
 
 @interface mineViewController ()
 @property(nonatomic,strong)UIButton *netButton;
@@ -137,9 +138,17 @@
         }
             break;
         case 12:{
-            [[iToast makeText:@"点击了帮助与反馈"] show];
-//            shareRecordViewController *vc = [shareRecordViewController new];
-//            [self pushViewController:vc animated:YES];
+            //http://testprivacy.phone.armclouding.com:1801/problemFeedback/#/pages/fileSharing/problem/index?sn=555&key=555
+            
+            CustomerWebViewController *vc = [[CustomerWebViewController alloc] init];
+            vc.titleStr = NSLocalizedString(@"mine_help_title",nil);
+            NSString *url = @"http://testprivacy.phone.armclouding.com:1801/problemFeedback/#/pages/fileSharing/problem/index?sn=";
+            if([CloudService rangeOfString:@"hiboxde.armclouding.com"].location != NSNotFound){
+                //url = @"http://hiboxde.armclouding.com:7780/h5/rule.html";;
+            }
+            vc.webUrl = [[NSString alloc] initWithFormat:@"%@%@",url,[connectDeviceManager shareInstance].DeviceThirdIdMod.data.changeSn];
+            [self pushViewController:vc animated:YES];
+            
         }
             break;
         case 13:{