From f60915194ae07a0b0a6f6bc8fc1fb86903d6fba7 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: Sat, 28 Sep 2024 11:18:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E6=92=AD=E7=AB=AF=E5=91=A8=E6=98=9F?= =?UTF-8?q?=E6=A6=9C=E8=B7=B3=E8=BD=AC=E4=BC=98=E5=8C=96=EF=BC=9A=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E7=82=B9=E5=87=BB=E8=B7=B3=E8=BD=AC=E8=87=B3?= =?UTF-8?q?=E7=A4=BC=E7=89=A9=E5=B1=95=E9=A6=86--=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E5=B1=95=E9=A6=86=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yunbao/live/activity/LiveSwAnchorActivity.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/activity/LiveSwAnchorActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveSwAnchorActivity.java index eab9047b3..89862a717 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveSwAnchorActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveSwAnchorActivity.java @@ -171,6 +171,7 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl public static int backIndex = 0;//0=未判断,1=已判断 private FaceManager manager; private ImageView leave_img; + private String userName; private final RandomPkManager.OnRandomPkTimer onRandomPkTimer = new RandomPkManager.OnRandomPkTimer() { @Override @@ -514,9 +515,13 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl case Constants.LIVE_FUNC_ZSLK://暫時離開 leaveLive(); break; - case Constants.LIVE_FUNC_WKS: - String url = CommonAppConfig.HOST + "/h5/activity/weekStar/index.html?&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&anchorUid=" + mLiveUid; - ZhuangBanActivity.forward(mContext, url, false, 0); + case Constants.LIVE_FUNC_WKS:// 周星榜 + /*String url = CommonAppConfig.HOST + "/h5/activity/weekStar/index.html?&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&anchorUid=" + mLiveUid; + ZhuangBanActivity.forward(mContext, url, false, 0);*/ + + // 打开礼物展馆--个人 + new com.yunbao.common.dialog.GiftWallDialog(mContext, mLiveUid, userName, mLiveUid,true).setFullWindows(false).showDialog(); + break; case Constants.LIVE_FUNC_LINK_MIC://连麦 if (isDRPK != 1) { @@ -782,6 +787,7 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl // } } + /** * 开播成功 * @@ -818,6 +824,7 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl UserBean u = CommonAppConfig.getInstance().getUserBean(); if (u != null) { mLiveRoomViewHolder.setRoomNum(u.getLiangNameTip()); + userName = u.getUserNiceName(); mLiveRoomViewHolder.setName(u.getUserNiceName()); mLiveRoomViewHolder.setAvatar(u.getAvatar()); mLiveRoomViewHolder.setAnchorLevel(u.getLevelAnchor());