From 9d2814c36f6c6a8295000c8a0f2f36d216a7d4c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=9A=AE?= <14840170+lao-pi123@user.noreply.gitee.com> Date: Sun, 6 Oct 2024 18:04:14 +0800 Subject: [PATCH] =?UTF-8?q?WebViewActivity=E5=A2=9E=E5=8A=A0=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E8=B7=B3=E8=BD=AC=EF=BC=88openGiftWall=EF=BC=89?= =?UTF-8?q?=E5=88=B0=E5=91=A8=E6=98=9F=E6=A6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/common/activity/WebViewActivity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/src/main/java/com/yunbao/common/activity/WebViewActivity.java b/common/src/main/java/com/yunbao/common/activity/WebViewActivity.java index 946591739..1ad79493d 100644 --- a/common/src/main/java/com/yunbao/common/activity/WebViewActivity.java +++ b/common/src/main/java/com/yunbao/common/activity/WebViewActivity.java @@ -34,6 +34,7 @@ import com.yunbao.common.Constants; import com.yunbao.common.HtmlConfig; import com.yunbao.common.R; import com.yunbao.common.bean.LiveBean; +import com.yunbao.common.dialog.GiftWallDialog; import com.yunbao.common.event.JavascriptInterfaceEvent; import com.yunbao.common.event.LiveRoomChangeEvent; import com.yunbao.common.http.LiveHttpUtil; @@ -434,6 +435,11 @@ public class WebViewActivity extends AbsActivity { gotoLive(event.getLiveId()); }else if (TextUtils.equals(event.getMethod(), "androidtoCommunityVideo")) { RouteUtil.forwardCommunityActivity(); + }else if (TextUtils.equals(event.getMethod(), "openGiftWall")) { + // 打开周星榜 + new GiftWallDialog(mContext, IMLoginManager.get(mContext).getUserInfo().getId() + "", + IMLoginManager.get(mContext).getUserInfo().getUserNicename(), null + , false).setFullWindows(false).showDialog(); } }