This commit is contained in:
2025-12-30 23:13:38 +08:00
parent c79d438681
commit bfcac8ab2c
40 changed files with 236 additions and 52 deletions

View File

@@ -38,7 +38,11 @@ static void *WKWebBrowserContext = &WKWebBrowserContext;
[self removeFromSuperview];
}
- (void)loadData {
NSString *urlStr = [NSString stringWithFormat:@"%@web/index.html#/pages/other/taskDesc",H5ServerUrl];
NSString *server = H5ServerUrl;
if (QXGlobal.shareGlobal.isNeedChangeServer) {
server = RH5ServerUrl;
}
NSString *urlStr = [NSString stringWithFormat:@"%@web/index.html#/pages/other/taskDesc",server];
NSURL* url=[NSURL URLWithString:urlStr];
NSURLRequest *request =[NSURLRequest requestWithURL:url];
[self.contentWebView loadRequest:request];

View File

@@ -83,7 +83,11 @@
[self hide];
}
- (void)loadData {
NSString *urlStr = [NSString stringWithFormat:@"%@api/Page/page_show?id=28",ServerUrl];
NSString *server = ServerUrl;
if (QXGlobal.shareGlobal.isNeedChangeServer) {
server = RServerUrl;
}
NSString *urlStr = [NSString stringWithFormat:@"%@api/Page/page_show?id=28",server];
NSURL* url=[NSURL URLWithString:urlStr];
NSURLRequest *request =[NSURLRequest requestWithURL:url];
[self.contentWebView loadRequest:request];