主播端周星榜跳转优化:修改为点击跳转至礼物展馆--个人展馆页面
This commit is contained in:
parent
6ffe601060
commit
f60915194a
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user