cull(engine-cleanup): pass-8 phase-2 cascade round 2 after MyPageItemHome stub
This commit is contained in:
@@ -58,36 +58,6 @@ public class WebViewHelper
|
||||
_OpenWebView(WebViewType.ANNOUNCE, null, null, 0, 0, announceId, "", null, null, onDialogOpening);
|
||||
}
|
||||
|
||||
public void OpenWebViewDirectly(string openUrl, bool isLimited = false)
|
||||
{
|
||||
string directOpenUrl = CustomPreference.GetApplicationServerURL() + openUrl + GetWebviewBaseQueryParameters();
|
||||
if (isLimited)
|
||||
{
|
||||
_OpenWebView(WebViewType.LIMITED_INFO, null, null, 0, 0, null, directOpenUrl);
|
||||
}
|
||||
else
|
||||
{
|
||||
_OpenWebView(WebViewType.INFO, null, null, 0, 0, null, directOpenUrl);
|
||||
}
|
||||
}
|
||||
|
||||
public void OpenWebviewWithPageId(string pageId, bool isLimited = false)
|
||||
{
|
||||
string text = CustomPreference.GetApplicationServerURL() + "webview2/index#/info_detail" + GetWebviewBaseQueryParameters();
|
||||
if (!string.IsNullOrEmpty(pageId))
|
||||
{
|
||||
text = text + "&id=" + pageId;
|
||||
}
|
||||
if (isLimited)
|
||||
{
|
||||
_OpenWebView(WebViewType.LIMITED_INFO, null, null, 0, 0, null, text);
|
||||
}
|
||||
else
|
||||
{
|
||||
_OpenWebView(WebViewType.INFO, null, null, 0, 0, null, text);
|
||||
}
|
||||
}
|
||||
|
||||
private void _OpenWebView(WebViewType webviewtype, ActionWebviewOpen cbWebviewOpen = null, Action cbWebviewClose = null, int ratePackId = 0, int packCategory = 0, string announceId = null, string directOpenUrl = "", Action onButton1 = null, Action onCancel = null, Action<DialogBase> onDialogOpening = null)
|
||||
{
|
||||
VideoHostingUtil.CheckVideoHostingAndExecAction(delegate
|
||||
|
||||
Reference in New Issue
Block a user