【修复】修复首页服务商品组件使用页面设计数据,未使用实时服务商品数据,导致缓存更新失败的问题。

【优化】优化首页服务商品组件因标题或者描述过短,导致按钮挤压和内容挤压一起的问题。
This commit is contained in:
大灰灰
2022-12-06 23:51:07 +08:00
parent f542bfc9bf
commit 7130a0dd09
2 changed files with 4 additions and 42 deletions

View File

@@ -628,6 +628,9 @@ namespace CoreCms.Net.Services
var serviceInfo = serviceObj.Find(p => p.id == id);
if (serviceInfo != null)
{
ss["title"] = serviceInfo.title;
ss["description"] = serviceInfo.description;
ss["thumbnail"] = serviceInfo.thumbnail;
int openStatus;
int lastTime = 0;
var dt = DateTime.Now;