充值逻辑

This commit is contained in:
18401019693
2022-11-12 18:00:00 +08:00
parent 7d63869d44
commit cceb697739
2 changed files with 31 additions and 16 deletions

View File

@@ -754,15 +754,20 @@ public class LiveAudienceActivity extends LiveActivity {
@Override
public void showerHtml(String htmlUrl, boolean screen) {
if (!screen) {
ZhuangBanActivity.forward(mContext, htmlUrl, false);
} else {
Bundle bundle = new Bundle();
bundle.putString("url", htmlUrl);
LiveHDDialogFragment fragment = new LiveHDDialogFragment();
fragment.setArguments(bundle);
fragment.show(((LiveRyAnchorActivity) mContext).getSupportFragmentManager(), "LiveHDDialogFragment");
if (TextUtils.equals(htmlUrl, "recharge")) {
RouteUtil.forwardMyCoin(mContext);
}else {
if (!screen) {
ZhuangBanActivity.forward(mContext, htmlUrl, false);
} else {
Bundle bundle = new Bundle();
bundle.putString("url", htmlUrl);
LiveHDDialogFragment fragment = new LiveHDDialogFragment();
fragment.setArguments(bundle);
fragment.show(((LiveRyAnchorActivity) mContext).getSupportFragmentManager(), "LiveHDDialogFragment");
}
}
}
@Override