|
@@ -36,6 +36,7 @@ JSExportAs(getCipherText, -(NSString *)jsGGetCipherText:(NSString *)phone);
|
|
|
|
|
|
JSExportAs(business, -(NSInteger)jsBusiness:(NSInteger)shooID shopType:(NSInteger )shopType);
|
|
|
|
|
|
+JSExportAs(hiddenBottom, -(void)jsHiddenBottom:(NSString*)hidden);
|
|
|
|
|
|
|
|
|
|
|
@@ -311,6 +312,17 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
|
|
|
self.tabBarController.tabBar.hidden = NO;
|
|
|
}
|
|
|
|
|
|
+-(void)jsHiddenBottom:(NSString *)hidden
|
|
|
+{
|
|
|
+ if([hidden integerValue]==0) {
|
|
|
+ [self hideTabBar];
|
|
|
+ self.webView.frame = CGRectMake(0, -STATUS_BAR_HEIGHT, WIDTH, HEIGHT+STATUS_BAR_HEIGHT);
|
|
|
+ }else {
|
|
|
+ [self showTabBar];
|
|
|
+ self.webView.frame = CGRectMake(0, -STATUS_BAR_HEIGHT, WIDTH, HEIGHT-TAB_BAR_HEIGHT+STATUS_BAR_HEIGHT);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
#pragma mark 捕获js中调用的方法
|
|
|
|
|
@@ -411,6 +423,11 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
|
|
|
|
|
|
|
|
|
#pragma mark JS 回调
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// 微信登录
|
|
|
-(NSString *)jsLoginByWeixin:(NSString *)str{
|
|
|
|