Files
cwd/widget
anghunk d3ca6a0bfa feat(widget): 优化评论表单 UI 细节
- 移除表单字段中的冗余星号后缀,优化标签显示文案。
- 更新评论内容的占位符文本。
2026-01-14 13:27:02 +08:00
..
2026-01-14 10:02:58 +08:00
2026-01-14 10:02:58 +08:00
2026-01-14 10:02:58 +08:00
2026-01-14 10:02:58 +08:00
2026-01-14 10:02:58 +08:00

cwd 评论前端模板

使用方法

<!-- 评论组件容器 -->
<div id="comments"></div>

<script src="dist/cwd-comments.js"></script>

<script>
  new CWDComments({
    el: '#comments', // 容器 ID
    apiBaseUrl: 'https://message.zishu.me', // 部署的后端地址
    postSlug: '/message', // 当前页面路径,可使用博客程序支持的 url 模板路径
  }).mount();
</script>