diff --git a/common/src/main/java/com/yunbao/common/dialog/GuardUpgradePopup.java b/common/src/main/java/com/yunbao/common/dialog/GuardUpgradePopup.java index 0b6931e4c..36b326d0c 100644 --- a/common/src/main/java/com/yunbao/common/dialog/GuardUpgradePopup.java +++ b/common/src/main/java/com/yunbao/common/dialog/GuardUpgradePopup.java @@ -68,6 +68,7 @@ public class GuardUpgradePopup extends CenterPopupView { } else { hintStringBuffer.append("Your guardian level has reached level ") .append(mUpgradesModel.getLevel()) + .append(" You can receive the following rewards") ; } leave_hint.setText(hintStringBuffer.toString()); diff --git a/common/src/main/java/com/yunbao/common/event/AllServerNotifyFFGGGDJANEvent.java b/common/src/main/java/com/yunbao/common/event/AllServerNotifyFFGGGDJANEvent.java new file mode 100644 index 000000000..447dfa5ab --- /dev/null +++ b/common/src/main/java/com/yunbao/common/event/AllServerNotifyFFGGGDJANEvent.java @@ -0,0 +1,227 @@ +package com.yunbao.common.event; + +import com.google.gson.annotations.SerializedName; +import com.yunbao.common.bean.BaseModel; + +import java.util.List; + +public class AllServerNotifyFFGGGDJANEvent extends BaseModel { + + @SerializedName("_method_") + private String method; + @SerializedName("action") + private String action; + @SerializedName("msg_cn") + private String msgCn; + @SerializedName("msg_en") + private String msgEn; + @SerializedName("uid") + private String uid; + @SerializedName("liveuid") + private String liveuid; + @SerializedName("background_image") + private String backgroundImage; + @SerializedName("style") + private List style; + @SerializedName("jump_type") + private String jumpType; + @SerializedName("link") + private String link; + @SerializedName("button_image") + private String buttonImage; + @SerializedName("button_msg_cn") + private String buttonMsgCn; + @SerializedName("button_msg_en") + private String buttonMsgEn; + @SerializedName("button_style") + private List buttonStyle; + @SerializedName("h5_type") + private String h5Type; + + public String getH5Type() { + return h5Type; + } + + public AllServerNotifyFFGGGDJANEvent setH5Type(String h5Type) { + this.h5Type = h5Type; + return this; + } + + public String getMethod() { + return method; + } + + public void setMethod(String method) { + this.method = method; + } + + public String getAction() { + return action; + } + + public void setAction(String action) { + this.action = action; + } + + public String getMsgCn() { + return msgCn; + } + + public void setMsgCn(String msgCn) { + this.msgCn = msgCn; + } + + public String getMsgEn() { + return msgEn; + } + + public void setMsgEn(String msgEn) { + this.msgEn = msgEn; + } + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } + + public String getLiveuid() { + return liveuid; + } + + public void setLiveuid(String liveuid) { + this.liveuid = liveuid; + } + + public String getBackgroundImage() { + return backgroundImage; + } + + public void setBackgroundImage(String backgroundImage) { + this.backgroundImage = backgroundImage; + } + + public List getStyle() { + return style; + } + + public void setStyle(List style) { + this.style = style; + } + + public String getJumpType() { + return jumpType; + } + + public void setJumpType(String jumpType) { + this.jumpType = jumpType; + } + + public String getLink() { + return link; + } + + public void setLink(String link) { + this.link = link; + } + + public String getButtonImage() { + return buttonImage; + } + + public void setButtonImage(String buttonImage) { + this.buttonImage = buttonImage; + } + + public String getButtonMsgCn() { + return buttonMsgCn; + } + + public void setButtonMsgCn(String buttonMsgCn) { + this.buttonMsgCn = buttonMsgCn; + } + + public String getButtonMsgEn() { + return buttonMsgEn; + } + + public void setButtonMsgEn(String buttonMsgEn) { + this.buttonMsgEn = buttonMsgEn; + } + + public List getButtonStyle() { + return buttonStyle; + } + + public void setButtonStyle(List buttonStyle) { + this.buttonStyle = buttonStyle; + } + + public static class StyleDTO { + @SerializedName("str_cn") + private String strCn; + @SerializedName("str_en") + private String strEn; + @SerializedName("colour") + private String colour; + + public String getStrCn() { + return strCn; + } + + public void setStrCn(String strCn) { + this.strCn = strCn; + } + + public String getStrEn() { + return strEn; + } + + public void setStrEn(String strEn) { + this.strEn = strEn; + } + + public String getColour() { + return colour; + } + + public void setColour(String colour) { + this.colour = colour; + } + } + + public static class ButtonStyleDTO { + @SerializedName("str_cn") + private String strCn; + @SerializedName("str_en") + private String strEn; + @SerializedName("colour") + private String colour; + + public String getStrCn() { + return strCn; + } + + public void setStrCn(String strCn) { + this.strCn = strCn; + } + + public String getStrEn() { + return strEn; + } + + public void setStrEn(String strEn) { + this.strEn = strEn; + } + + public String getColour() { + return colour; + } + + public void setColour(String colour) { + this.colour = colour; + } + } +} diff --git a/common/src/main/res/layout/guard_upgrade_popup.xml b/common/src/main/res/layout/guard_upgrade_popup.xml index eb3d3fdf2..e28f64048 100644 --- a/common/src/main/res/layout/guard_upgrade_popup.xml +++ b/common/src/main/res/layout/guard_upgrade_popup.xml @@ -48,17 +48,24 @@ - + + + + + @@ -73,7 +81,7 @@ - + + + + @@ -100,17 +115,23 @@ - + + + + @@ -132,21 +154,23 @@ android:layout_marginEnd="13dp" android:layout_marginBottom="38dp"> -