add:点击新人特惠按钮弹窗展示固定页面

This commit is contained in:
zlzw 2022-08-23 16:05:33 +08:00
parent 5dc6ee197d
commit fce2907b8f

View File

@ -191,6 +191,7 @@ public class LiveAudienceViewHolder extends AbsLiveViewHolder {
svga_station_horn = (SVGAImageView) findViewById(R.id.svga_station_horn); svga_station_horn = (SVGAImageView) findViewById(R.id.svga_station_horn);
viewFlipper = (ViewFlipper) findViewById(R.id.viewflipper_banner); viewFlipper = (ViewFlipper) findViewById(R.id.viewflipper_banner);
stationHornBanner = findViewById(R.id.station_horn_banner); stationHornBanner = findViewById(R.id.station_horn_banner);
liveNewPeople.setOnClickListener(this);
svga_new_user_double.setOnClickListener(new View.OnClickListener() { svga_new_user_double.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
@ -384,6 +385,13 @@ public class LiveAudienceViewHolder extends AbsLiveViewHolder {
openZGListWindow(); openZGListWindow();
} else if (i == R.id.lt_trickery) { } else if (i == R.id.lt_trickery) {
showTrickeryDialog(); showTrickeryDialog();
}else if (i==R.id.live_new_people){
Bundle bundle=new Bundle();
bundle.putString("url", "https://ceshi.yaoulive.com/h5/activity/1diamondLottery/index.html");
bundle.putInt("show_type", 0);
LiveHDDialogFragment liveHDDialogFragment = new LiveHDDialogFragment();
liveHDDialogFragment.setArguments(bundle);
liveHDDialogFragment.show(((LiveAudienceActivity) mContext).getSupportFragmentManager(), "LiveHDDialogFragment");
} }
} }