Commit 323e32c8 authored by zhangshuai's avatar zhangshuai

默认数据

parent 8fd4e598
...@@ -115,12 +115,15 @@ NSDictionary* appLaunchOpts; ...@@ -115,12 +115,15 @@ NSDictionary* appLaunchOpts;
} }
} }
// 跳转上榜赚钱 // 跳转上榜
- (void)ios_ranklistClick { - (void)ios_ranklistClick {
[[CGUserManager shared] addLocCollection:@"show_Leaderboard" value:@""]; [[CGUserManager shared] addLocCollection:@"show_Leaderboard" value:@""];
[self unityVideo:false]; [self unityVideo:false];
GYWebViewController * web = [[GYWebViewController alloc] init]; GYWebViewController * web = [[GYWebViewController alloc] init];
web.url = [[CGUserManager shared].h5_url objectForKey:@"rankingurl"]; web.url = [[CGUserManager shared].h5_url objectForKey:@"rankingurl"];
if (web.url == nil || web.url.length == 0) {
web.url = @"http://h5v3.zhangxinzhixun.com/huayuan/Ranking";
}
UINavigationController * nav = [[UINavigationController alloc] initWithRootViewController:web]; UINavigationController * nav = [[UINavigationController alloc] initWithRootViewController:web];
nav.modalPresentationStyle = UIModalPresentationFullScreen; nav.modalPresentationStyle = UIModalPresentationFullScreen;
[[[self ufw] appController].window.rootViewController presentViewController:nav animated:YES completion:nil]; [[[self ufw] appController].window.rootViewController presentViewController:nav animated:YES completion:nil];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment