3ChatAI commited on
Commit
c1ffd47
·
verified ·
1 Parent(s): e117499

Update blogs.js

Browse files
Files changed (1) hide show
  1. blogs.js +53 -49
blogs.js CHANGED
@@ -1,65 +1,65 @@
1
- // 新增文章:复制 posts 中的一项,修改标题、日期、分类、摘要和链接即可。
 
 
2
  const posts = [
3
  {
4
- title: "「知识付费行业AI成交解决方案(1/3)」AI销冠承接公域私信,主动合规引导客户添加私域",
5
- date: "2026-08-19",
6
- category: "产品方案",
7
- excerpt: "公域负责获客,私域负责转化,销售负责成交。了解 AI 如何承接公域私信,并将对话带入合规、可持续的转化链路。",
8
- url: "https://www.3chatai.cn/blog/knowledge-paid-public-to-private-ai-solution",
9
- cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data/6a7e2b4cdc3325081e75b2caffa7fd7d2862b2d2-5120x2880.jpg"
10
  },
11
  {
12
- title: "「知识付费行业AI成交解决方案(2/3)」AI销冠接入私域,接待、转化、成交全搞定",
13
- date: "2026-08-16",
14
- category: "产品方案",
15
- excerpt: "从客户进入私域开始,AI 如何理解上下文、承接咨询,并帮助团队把接待、转化和成交连接起来。",
16
- url: "https://www.3chatai.cn/blog/knowledge-paid-wecom-ai-customer-service-conversion-sales",
17
- cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data/1c8b02c1987b46fa9a96360b6fa432e343afa96e-5120x2880.jpg"
18
  },
19
  {
20
- title: "「知识付费行业AI成交解决方案(3/3)」AI销冠让私域内沉默客户重新走上成交链路",
21
- date: "2026-08-10",
22
- category: "产品方案",
23
- excerpt: "如何激活已经购买、咨询或领取过资料但暂未继续行动的客户,让沉默线索重新回到合适的成交链路。",
24
- url: "https://www.3chatai.cn/blog/knowledge-paid-ai-sales-solution-3-ai-sales-champion-reactivates-dormant-private-domain-leads",
25
- cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data/3f4c31780ee0eb03a13e64cd7a4f3de436220d8a-5120x2880.jpg"
26
  },
27
  {
28
- title: "「功能更新」3Chat Builder:让最懂业务的人,3 分钟搭建 AI 销冠智能体",
29
- date: "2026-07-08",
30
- category: "功能更新",
31
- excerpt: "了解 3Chat Builder 如何帮助业务团队快速搭建 AI 销冠和智能客服,并把业务知识转化为可执行的工作流。",
32
- url: "https://www.3chatai.cn/blog/3chat-builder-build-ai-sales-and-customer-service-agent-in-3-minutes",
33
- cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data/f71ac30fe973080eb12c4e9cd6404f8f1571490c-5120x2880.jpg"
34
  },
35
  {
36
- title: "「解决方案」AI客服接入抖音私信,「金牌客服」不再难",
37
- date: "2026-07-02",
38
- category: "解决方案",
39
- excerpt: "从私信接待到线索转化,看看 AI 客服如何帮助商家稳定承接抖音私信流量。",
40
- url: "https://www.3chatai.cn/blog/ai-customer-service-agent-douyin-private-message-gold-service",
41
- cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data/cd2876058e4024311382f6eb7d79eca6987f89b4-5120x2880.jpg"
42
  },
43
  {
44
- title: "「深度洞察」从层级到智能:AI 时代,商家如何通过组织架构变革重塑竞争力?",
45
- date: "2026-05-25",
46
- category: "深度洞察",
47
- excerpt: "AI 的真正杠杆不只在个人提效,也在协作方式本身。本文讨论商家如何重新理解组织、信息和智能。",
48
- url: "https://www.3chatai.cn/blog/from-hierarchy-to-intelligence",
49
- cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data/e7613802d8b8cf280a589a227542796490b67005-5120x2880.png"
 
 
 
 
 
 
 
 
50
  }
51
  ];
52
 
53
- const categoryLabels = {
54
- "产品方案": "Product Solutions",
55
- "功能更新": "Feature Updates",
56
- "解决方案": "Solutions",
57
- "深度洞察": "Insights",
58
- "客户案例": "Customer Stories",
59
- "操作指引": "Guides",
60
- "干货分享": "Practical Insights"
61
- };
62
-
63
  const ALL_CATEGORY = "__all__";
64
 
65
  const postList = document.querySelector("[data-post-list]");
@@ -72,9 +72,13 @@ const formatDate = (date) => new Intl.DateTimeFormat("en-US", {
72
  day: "numeric"
73
  }).format(new Date(`${date}T00:00:00`));
74
 
75
- const categoryLabel = (category) => categoryLabels[category] || category;
76
 
77
- const categories = [ALL_CATEGORY, ...new Set(posts.map((post) => post.category))];
 
 
 
 
78
 
79
  function renderCategories(activeCategory = ALL_CATEGORY) {
80
  categoryList.innerHTML = categories
 
1
+ // Add a new article by copying an item below and updating its title, date,
2
+ // category, excerpt, URL, and cover image. Categories are generated from the
3
+ // article data, so the filter buttons stay in sync as the collection changes.
4
  const posts = [
5
  {
6
+ title: "30 Actionable WhatsApp Tips for 2025: Boost Your Strategy Today",
7
+ date: "2025-11-01",
8
+ category: "Daily Tips",
9
+ excerpt: "A practical collection of WhatsApp features, privacy settings, media workflows, and productivity tips for global e-commerce teams.",
10
+ url: "https://www.3chat.ai/blog/2025-whatsapp",
11
+ cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data-intl/80692a7e5897a95835b937cd97b54b67e33e9a3c-1024x576.avif"
12
  },
13
  {
14
+ title: "Omnichannel Setup: Integrating 3Chat.ai with WhatsApp",
15
+ date: "2025-10-13",
16
+ category: "How-to Guides",
17
+ excerpt: "Learn how to connect WhatsApp to 3Chat.ai, manage conversations in one inbox, and prepare your account and network before scanning the QR code.",
18
+ url: "https://www.3chat.ai/blog/omnichannel-3chat-ai-whatsapp",
19
+ cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data-intl/015b228fe8f4434126b9be6f0e4dd907239f30fd-1024x576.avif"
20
  },
21
  {
22
+ title: "Omnichannel Setup: Integrating 3Chat.ai with Facebook",
23
+ date: "2025-10-13",
24
+ category: "How-to Guides",
25
+ excerpt: "Follow the steps to connect a Facebook Business Account, authorize your Pages, and test Messenger conversations and Page comments in 3Chat.ai.",
26
+ url: "https://www.3chat.ai/blog/3chat-ai-facebook",
27
+ cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data-intl/8cc57484dcbc1343e13ed47f058ad857a890e7e8-1024x576.avif"
28
  },
29
  {
30
+ title: "Mastering Amazon Precision Operations: Integrating AI for Scalable Success",
31
+ date: "2025-10-11",
32
+ category: "Daily Tips",
33
+ excerpt: "Explore a practical operating system for Amazon sellers, from account health and customer service to reviews, ads, inventory, and AI-assisted growth.",
34
+ url: "https://www.3chat.ai/blog/in-depth-insight-amazon-refined-operation-integration-and-practice-of-ai-customer-service-tools",
35
+ cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data-intl/756ceb7c9829b37a10018bf18cf1d1c0699a6aae-1024x576.webp"
36
  },
37
  {
38
+ title: "Agentic AI: Game-Changing Tech or Just Marketing Hype?",
39
+ date: "2025-09-12",
40
+ category: "Deep Dives",
41
+ excerpt: "A grounded look at what Agentic AI means, how it differs from traditional automation, and where AI agents are already creating business value.",
42
+ url: "https://www.3chat.ai/blog/agentic-ai",
43
+ cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data-intl/0046169aee56e0f75a720689f4c36ff6264bfbca-1024x576.webp"
44
  },
45
  {
46
+ title: "E-commerce Growth Secrets: How to Skyrocket Conversions via WhatsApp",
47
+ date: "2025-09-08",
48
+ category: "Daily Tips",
49
+ excerpt: "Understand why WhatsApp matters for cross-border commerce and how AI-powered customer support can turn private conversations into long-term growth.",
50
+ url: "https://www.3chat.ai/blog/whatsapp-independent-site-conversions",
51
+ cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data-intl/6ddfaace52226c39e098318a433beb2a3a8be128-1024x576.avif"
52
+ },
53
+ {
54
+ title: "The Future of Support: How RAG, Agents, and MCP are Reimagining Customer Service",
55
+ date: "2025-08-19",
56
+ category: "Deep Dives",
57
+ excerpt: "A plain-language introduction to RAG, intelligent agents, function calling, and MCP—and how these technologies work together in customer support.",
58
+ url: "https://www.3chat.ai/blog/rag-agent-mcp-transforming-customer-service",
59
+ cover: "https://cdn.sanity.io/images/f1joviv1/3chat-blog-data-intl/cd0875d28a9c5f3c92480eaf6afa27354d8d3991-1024x576.avif"
60
  }
61
  ];
62
 
 
 
 
 
 
 
 
 
 
 
63
  const ALL_CATEGORY = "__all__";
64
 
65
  const postList = document.querySelector("[data-post-list]");
 
72
  day: "numeric"
73
  }).format(new Date(`${date}T00:00:00`));
74
 
75
+ const categoryLabel = (category) => category;
76
 
77
+ // Derive filters from the current posts instead of maintaining a separate list.
78
+ const categories = [
79
+ ALL_CATEGORY,
80
+ ...Array.from(new Set(posts.map((post) => post.category))).sort((a, b) => a.localeCompare(b))
81
+ ];
82
 
83
  function renderCategories(activeCategory = ALL_CATEGORY) {
84
  categoryList.innerHTML = categories