deploy: 2026-07-15 15:19 部署更新
This commit is contained in:
@@ -1281,10 +1281,10 @@ function renderMarkdown(md) {
|
||||
listStack.push('ul');
|
||||
}
|
||||
let liContent = inlineMd(trimmed.slice(2));
|
||||
// 销售话术突出显示
|
||||
// 销售话术突出显示:微信绿色聊天气泡
|
||||
if (/^\*\*销售话术\*\*/.test(trimmed.slice(2).trim())) {
|
||||
liContent = liContent.replace(/^<strong class="font-semibold text-gray-900">销售话术<\/strong>[::]?/, '');
|
||||
html += `<li class="text-gray-700"><span class="inline-block bg-green-100 text-green-800 text-xs font-medium px-2 py-0.5 rounded mb-1">销售话术</span><div class="bg-green-50 border border-green-200 rounded-lg p-3 mt-1 text-green-900 leading-relaxed">${liContent}</div></li>`;
|
||||
html += `<li class="text-gray-700"><div class="inline-block max-w-full" style="background:#95ec69;border-radius:12px;padding:12px 16px;color:#111827;line-height:1.6;box-shadow:0 1px 2px rgba(0,0,0,0.05);"><span class="text-xs font-medium text-green-800 opacity-75 mb-1 block">销售话术</span>${liContent}</div></li>`;
|
||||
} else {
|
||||
html += `<li class="text-gray-700">${liContent}</li>`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user