浏览代码

新web更新隐藏返回

apple 6 年之前
父节点
当前提交
4349d17ced

二进制
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate


+ 1 - 17
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -20,23 +20,7 @@
             ignoreCount = "0"
             continueAfterRunningActions = "No"
             filePath = "JianYuIOS/Classes(模块)/JYMineViewController.m"
-            timestampString = "570340362.7068861"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "119"
-            endingLineNumber = "119"
-            landmarkName = "-viewDidLoad"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "JianYuIOS/Classes&#xff08;&#x6a21;&#x5757;&#xff09;/JYMineViewController.m"
-            timestampString = "570340362.707203"
+            timestampString = "570423951.666644"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "283"

+ 2 - 2
ios/JianYuIOS/JianYuIOS/BaseClass1/PrefixHeader.pch

@@ -103,9 +103,9 @@ _Pragma("clang diagnostic pop")\
 
 //#define kHost @"http://weblxl.qmx.top/" //小璐
 //#define kHost @"http://webws.qmx.top/" //王山
-//#define kHost @"http://webwcj.qmx.top/"//王传近
+#define kHost @"http://webwcj.qmx.top/"//王传近
 //#define kHost @"http://w2blmjy.qmx.top/"//测试环境
-#define kHost @"http://w4blmjy.qmx.top/"//测试环境2
+//#define kHost @"http://w4blmjy.qmx.top/"//测试环境2
 //#define kHost @"123.56.103.12/"
 
 //#define kHost @"https://app1.jianyu360.com/"

+ 1 - 1
ios/JianYuIOS/JianYuIOS/BaseClass1/constant.h

@@ -25,7 +25,7 @@
 
 
 
-#define IphonexAboveScreen (kCurrentDeviceHeight>=812) // iphonex 及以上
+#define IphonexAboveScreen (kCurrentDeviceHeight>812) // iphonex 及以上
 #define systemNewerThan10 ([[UIDevice currentDevice].systemVersion floatValue] > 10.0)
 
 #endif /* constant_h */

+ 1 - 1
ios/JianYuIOS/JianYuIOS/Classes(模块)/JYSearchViewController.m

@@ -761,7 +761,7 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
             double currDouble = [[NSDate date] timeIntervalSince1970];
             [dic setObject:[NSNumber numberWithLong:(long)currDouble] forKey:@"createtime"];
             
-            //         拼接标志位
+            //    拼接标志位
             NSString *sign = [NSString stringWithFormat:@"city=%@&country=%@&createtime=%@&headimgurl=%@&nickname=%@&openid=%@&province=%@&sex=%@&unionid=%@", dic[@"city"], dic[@"country"], dic[@"createtime"], dic[@"headimgurl"], dic[@"nickname"], dic[@"openid"], dic[@"province"],dic[@"sex"],dic[@"unionid"]];
             sign = [LXMD5 md532BitLower:sign];
             [dic setObject:sign forKey:@"sign"];

+ 1 - 1
ios/JianYuIOS/JianYuIOS/Info.plist

@@ -17,7 +17,7 @@
 	<key>CFBundlePackageType</key>
 	<string>APPL</string>
 	<key>CFBundleShortVersionString</key>
-	<string>2.5.1</string>
+	<string>1.0.8</string>
 	<key>CFBundleURLTypes</key>
 	<array>
 		<dict>

+ 13 - 0
ios/JianYuIOS/JianYuIOS/NewWebController.m

@@ -37,10 +37,23 @@
         [self.view updateConstraints];
     }
     
+    NSLog(@"%@",self.titleShow);
     if (self.titleShow) {
         self.backBtn.hidden = YES;
         self.titleLbl.text = self.titleShow;
+        
+        if([self.titleShow isEqualToString:@"-1"]) {
+            self.topC.constant = -20;
+            [self.webView updateConstraints];
+            self.topViewH.constant = 0;
+            self.topView.hidden = YES;
+            [self.view updateConstraints];
+        }
     }else{
+        
+        self.topC.constant = -20;
+        [self.webView updateConstraints];
+        
         self.topViewH.constant = 0;
         self.topView.hidden = YES;
         [self.view updateConstraints];