Commit ff2671fa by guojuxing

页面装修调整:页面背景颜色字段改为字符串

parent 75772f04
......@@ -94,7 +94,7 @@ public class AppletCustomPageApiServiceImpl implements AppletCustomPageApiServic
String backgroundColor = jsonObject.getString("backgroundColor");
if (AppletPageTypeEnum.hasBackgroundColor(pageType)) {
if (backgroundColor == null) {
backgroundColor = "#A9A9A9";
backgroundColor = "#f6f6f6";
}
} else {
//其他页面默认设置null
......
......@@ -26,6 +26,11 @@ public class AppletPageDetailVO implements Serializable{
private Integer entryCondition;
/**
* 背景颜色 灰色 白色 ,默认灰色(会员中心页面、积分服务页面、自定义页面、商城装首页 有该设置)
*/
private String backgroundColor;
/**
* 配置json
*/
private String setting;
......@@ -81,4 +86,13 @@ public class AppletPageDetailVO implements Serializable{
public void setComponentStr(String componentStr) {
this.componentStr = componentStr;
}
public String getBackgroundColor() {
return backgroundColor;
}
public AppletPageDetailVO setBackgroundColor(String backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment