新增趣玩游戏对话框

This commit is contained in:
2022-10-27 10:05:32 +08:00
parent 9c629937da
commit 875fa33625
5 changed files with 481 additions and 1 deletions

View File

@@ -28,6 +28,10 @@ public class ActiveModel extends BaseModel {
private String activeSrc = "";
@SerializedName("show_type")
private String showType = "";
@SerializedName("textColor")
private String textColor;
@SerializedName("bgColor")
private String bgColor;
public String getActiveId() {
return activeId;
@@ -74,6 +78,22 @@ public class ActiveModel extends BaseModel {
return this;
}
public String getTextColor() {
return textColor;
}
public void setTextColor(String textColor) {
this.textColor = textColor;
}
public String getBgColor() {
return bgColor;
}
public void setBgColor(String bgColor) {
this.bgColor = bgColor;
}
/**
* 获取跳转网页地址
*

View File

@@ -146,4 +146,8 @@ public class StringUtil {
}
return sStringBuilder.toString();
}
public static boolean isEmpty(String bgColor) {
return bgColor == null || "".equals(bgColor.trim()) || bgColor.trim().length() == 0;
}
}