添加周星榜

This commit is contained in:
18401019693
2022-08-17 16:14:15 +08:00
parent 6d22c6a066
commit 31de4dc516
5 changed files with 21 additions and 5 deletions

View File

@@ -1389,6 +1389,7 @@ public class LiveAudienceActivity extends LiveActivity {
@Subscribe(threadMode = ThreadMode.MAIN)
public void onOpenDrawer(LiveAudienceEvent event) {
Bundle bundle = new Bundle();
IMLoginModel userInfo = IMLoginManager.get(mContext).getUserInfo();
switch (event.getType()) {
case SIDEBAR:
//从右边打开侧边栏
@@ -1419,7 +1420,7 @@ public class LiveAudienceActivity extends LiveActivity {
liveHDDialogFragment.show(((LiveAudienceActivity) mContext).getSupportFragmentManager(), "LiveHDDialogFragment");
break;
case FANCLUB:
IMLoginModel userInfo = IMLoginManager.get(mContext).getUserInfo();
LiveFansFragment liveFansFragment = new LiveFansFragment();
//粉絲團粉絲團
//不是粉絲
@@ -1445,6 +1446,13 @@ public class LiveAudienceActivity extends LiveActivity {
liveGuardDialogFragment.setArguments(bundle);
liveGuardDialogFragment.show(getSupportFragmentManager(), "LiveGuardDialogFragment");
break;
case LIVEWKS:
String url = CommonAppConfig.HOST + "/h5/activity/weekStar/index.html?&uid="
+ userInfo.getId() +
"&token=" + userInfo.getToken() + "&anchorUid=" + mLiveUid;
ZhuangBanActivity.forward(mContext, url, false);
break;
}
}