Commit faeda797 authored by 黄奎's avatar 黄奎

页面修改

parent e2a9db0a
......@@ -2066,5 +2066,19 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
public string fontColor { get; set; }
/// <summary>
/// 字体名称
/// </summary>
public string fontName { get; set; }
/// <summary>
/// 字体大小
/// </summary>
public string fontSize { get; set; }
/// <summary>
/// 是否加粗
/// </summary>
public string isBold { get; set; }
}
}
......@@ -377,7 +377,31 @@ namespace Mall.Module.MarketingCenter
//快捷导航
case "quick-nav": item.data = JsonHelper.DeserializeObject<quicknavItem>(item.data.ToString()); break;
//店铺用户信息
case "shop-info": item.data = JsonHelper.DeserializeObject<shopinfoItem>(item.data.ToString());break;
case "shop-info":
shopinfoItem shopModel = new shopinfoItem();
try
{
var shopInfoData = JsonHelper.DeserializeObject<shopinfoItem>(item.data.ToString());
if (shopInfoData != null)
{
shopModel.headImg = shopInfoData?.headImg ?? "";
shopModel.headName = shopInfoData?.headName ?? "";
shopModel.headInfo = shopInfoData?.headInfo ?? "";
shopModel.backgroundPicUrl = shopInfoData?.backgroundPicUrl ?? "";
shopModel.backgroundColor = shopInfoData?.backgroundColor ?? "";
shopModel.bottonImg = shopInfoData?.bottonImg ?? "";
shopModel.fontColor = shopInfoData?.fontColor ?? "";
shopModel.fontName = shopInfoData?.fontName ?? "";
shopModel.fontSize = shopInfoData?.fontSize ?? "13";
shopModel.isBold = shopInfoData?.isBold ?? "false";
}
}
catch
{
}
item.data = shopModel;
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