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