创建时间: 2026-03-13
网站位置: ~/openclaw/workspace/yuezhiyun-beauty/
yuezhiyun-beauty/
├── docs/ # 网站内容
│ ├── index.md # ✅ 首页
│ ├── about/
│ │ └── story.md # ✅ 品牌故事
│ ├── services/
│ │ ├── facial.md # ✅ 面部护理
│ │ ├── body.md # ✅ 身体护理
│ │ └── wellness.md # ✅ 养生调理
│ ├── pricing/
│ │ └── member.md # ✅ 价格套餐
│ ├── booking/
│ │ └── online.md # ✅ 在线预约
│ ├── reviews.md # ✅ 顾客评价
│ └── contact.md # ✅ 联系我们
├── mkdocs.yml # ✅ 配置文件
└── site/ # ✅ 构建输出(静态网站)
| 页面 | 路径 | 状态 |
|---|---|---|
| 首页 | / |
✅ 已完成 |
| 品牌故事 | /about/story/ |
✅ 已完成 |
| 面部护理 | /services/facial/ |
✅ 已完成 |
| 身体护理 | /services/body/ |
✅ 已完成 |
| 养生调理 | /services/wellness/ |
✅ 已完成 |
| 价格套餐 | /pricing/member/ |
✅ 已完成 |
| 在线预约 | /booking/online/ |
✅ 已完成 |
| 顾客评价 | /reviews/ |
✅ 已完成 |
| 联系我们 | /contact/ |
✅ 已完成 |
cd ~/openclaw/workspace/yuezhiyun-beauty
# 启动本地服务器
mkdocs serve
# 浏览器访问:http://127.0.0.1:8000
# 查看生成的静态文件
ls -la ~/openclaw/workspace/yuezhiyun-beauty/site/
# 直接用浏览器打开
open ~/openclaw/workspace/yuezhiyun-beauty/site/index.html
编辑 mkdocs.yml 和 docs/contact.md:
# mkdocs.yml
site_url: https://yourusername.github.io/
# docs/contact.md
📍 地址:[您的详细地址]
☎️ 电话:400-xxx-xxxx
📱 微信:your_wechat_id
编辑 docs/services/*.md 和 docs/pricing/member.md:
| 项目名称 | 时长 | 价格 |
|---------|------|------|
| 深层清洁补水 | 60 分钟 | ¥298 |
# 将图片放入 assets 目录
mkdir -p docs/assets
cp your-image.jpg docs/assets/
# 在 Markdown 中使用

# 准备 Logo 文件(建议 PNG 格式,透明背景)
cp logo.png docs/assets/
# 编辑 mkdocs.yml
theme:
logo: assets/logo.png
favicon: assets/favicon.ico
cd ~/openclaw/workspace/yuezhiyun-beauty
# 初始化 Git
git init
git add .
git commit -m "Initial commit"
# 关联 GitHub 仓库(需先创建)
git remote add origin https://github.com/yourusername/yuezhiyun-beauty.git
# 推送代码
git push -u origin main
# 部署到 GitHub Pages
mkdocs gh-deploy
访问:https://yourusername.github.io/yuezhiyun-beauty/
# 将 site/ 目录上传到服务器
scp -r site/* user@server:/var/www/html/
编辑 mkdocs.yml:
theme:
palette:
primary: purple # 主色调
accent: pink # 强调色
网站已自动适配移动端:
在 docs/contact.md 中添加:
<!-- 客服代码 -->
<script src="https://your-chat-widget.js"></script>
在 mkdocs.yml 中添加:
extra:
analytics:
provider: google
property: G-XXXXXXXXXX
使用 Giscus(基于 GitHub Discussions):
<!-- 在页面中添加 -->
<script src="https://giscus.app/client.js"
data-repo="yourusername/your-repo"
data-repo-id="xxx"
data-category="General"
data-category-id="xxx"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="light"
data-lang="zh-CN"
crossorigin="anonymous"
async>
</script>
编辑 docs/services/*.md,然后:
# 重新构建
mkdocs build
# 重新部署
git add .
git commit -m "Update services"
git push
mkdocs gh-deploy
编辑 docs/reviews.md,添加新评价:
- :material-star:{ .lg .middle } __新顾客__
"非常好的体验!"
💆♀️ 项目:XXX
⭐ 评分:★★★★★
我可以帮你:
祝生意兴隆!🌸
玥之韵美容美体养生馆