fix(文档): 修复评论组件ID并统一主页样式
- 将评论组件ID从'zcomments'改为更通用的'comments' - 为主页评论区域添加样式约束 - 统一主页标题字符串引号格式
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div id="zcomments" ref="commentsRoot"></div>
|
||||
<div id="comments" ref="commentsRoot"></div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
@@ -9,7 +9,7 @@ export default {
|
||||
|
||||
return h(Layout, null, {
|
||||
'doc-footer-before': () => h(FooterDoc),
|
||||
'home-features-after': () => h(FooterDoc),
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
layout: home
|
||||
|
||||
hero:
|
||||
name: "CWD 评论系统"
|
||||
name: 'CWD 评论系统'
|
||||
tagline: 轻量级、高性能的评论解决方案, 基于 Cloudflare Workers + D1 + KV 构建
|
||||
image:
|
||||
src: https://github.com/anghunk/cwd-comments/blob/main/icon.png?raw=true
|
||||
@@ -26,3 +26,7 @@ features:
|
||||
title: 易于集成
|
||||
details: 提供完整的 REST API,支持任意前端框架
|
||||
---
|
||||
|
||||
<style>
|
||||
#comments{max-width:1152px;margin:2em auto 0;}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user