diff --git a/common/src/main/java/com/yunbao/common/dialog/LiveTotalDialog.java b/common/src/main/java/com/yunbao/common/dialog/LiveTotalDialog.java index 461c09d44..b648094da 100644 --- a/common/src/main/java/com/yunbao/common/dialog/LiveTotalDialog.java +++ b/common/src/main/java/com/yunbao/common/dialog/LiveTotalDialog.java @@ -76,7 +76,13 @@ public class LiveTotalDialog extends AbsDialogFragment { dismiss(); } ); - + //周星榜 + ViewClicksAntiShake.clicksAntiShake(findViewById(R.id.live_wks_layout), () -> { + Bus.get().post(new LiveAudienceEvent() + .setType(LiveAudienceEvent.LiveAudienceType.LIVEWKS)); + dismiss(); + } + ); } @Override diff --git a/common/src/main/java/com/yunbao/common/event/LiveAudienceEvent.java b/common/src/main/java/com/yunbao/common/event/LiveAudienceEvent.java index 4513540b7..5ec9b4185 100644 --- a/common/src/main/java/com/yunbao/common/event/LiveAudienceEvent.java +++ b/common/src/main/java/com/yunbao/common/event/LiveAudienceEvent.java @@ -31,7 +31,8 @@ public class LiveAudienceEvent extends BaseModel { GIFTPOPUP(3, "礼物弹窗"), CURRENTACTIVITY(4, "当前活动"), FANCLUB(5,"粉絲團"), - GUARD(6,"守護"); + GUARD(6,"守護"), + LIVEWKS(7,"周星榜"); private int type; diff --git a/common/src/main/res/layout/view_live_total.xml b/common/src/main/res/layout/view_live_total.xml index 2adc652ca..7587258b2 100644 --- a/common/src/main/res/layout/view_live_total.xml +++ b/common/src/main/res/layout/view_live_total.xml @@ -103,6 +103,7 @@