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());