Commit 2cad0934 authored by 黄奎's avatar 黄奎

页面修改

parent e5cb95d6
......@@ -61,6 +61,47 @@ namespace Mall.Model.Extend.MarketingCenter
public object data { get; set; }
}
/// <summary>
/// 背景组件
/// </summary>
public class backgroundItem
{
/// <summary>
/// 背景颜色
/// </summary>
public string backgroundColor { get; set; }
/// <summary>
/// 背景高度
/// </summary>
public int backgroundHeight { get; set; }
/// <summary>
/// 背景图片地址
/// </summary>
public string backgroundPicUrl { get; set; }
/// <summary>
/// 背景宽度
/// </summary>
public int backgroundWidth { get; set; }
/// <summary>
/// 填充方式
/// </summary>
public int mode { get; set; }
/// <summary>
/// 图片位置
/// </summary>
public int position { get; set; }
/// <summary>
/// 是否显示背景图片
/// </summary>
public bool showImg { get; set; }
}
/// <summary>
/// 搜索插件
/// </summary>
......@@ -992,6 +1033,11 @@ namespace Mall.Model.Extend.MarketingCenter
/// 电话
/// </summary>
public string mobile { get; set; }
/// <summary>
/// 门店封面图
/// </summary>
public string CoverImg { get; set; }
}
/// <summary>
......
......@@ -129,6 +129,7 @@ namespace Mall.Module.MarketingCenter
{
switch (item.Id)
{
case "background":item.data = JsonHelper.DeserializeObject<backgroundItem>(item.data.ToString()); break;
case "search": item.data = JsonHelper.DeserializeObject<searchItem>(item.data.ToString()); break;
case "nav": item.data = JsonHelper.DeserializeObject<navItem>(item.data.ToString()); break;
case "banner": item.data = JsonHelper.DeserializeObject<bannerItem>(item.data.ToString()); break;
......
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