mirror of
https://github.com/long2icc/sonicnote-sync.git
synced 2026-07-22 07:45:14 +00:00
feat: 修改产品页,增加视频栏
This commit is contained in:
parent
b5ece3cabf
commit
b1e9fc5064
5 changed files with 195 additions and 5 deletions
|
|
@ -74,6 +74,35 @@
|
|||
border: 1px solid var(--border);
|
||||
}
|
||||
.download-btn.outline:hover { background: var(--accent-light); }
|
||||
.market-btn {
|
||||
background: linear-gradient(135deg, #7c3aed, #6d28d9);
|
||||
position: relative;
|
||||
}
|
||||
.market-btn:hover { opacity: 0.9; }
|
||||
.recommend-tag {
|
||||
background: rgba(255,255,255,0.28);
|
||||
padding: 1px 7px;
|
||||
border-radius: 10px;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 600;
|
||||
margin-left: 2px;
|
||||
}
|
||||
.install-method {
|
||||
background: var(--accent-light);
|
||||
border-left: 4px solid var(--tag-purple);
|
||||
border-radius: var(--radius);
|
||||
padding: 16px 20px;
|
||||
margin: 8px 0 16px;
|
||||
}
|
||||
.install-method h4 {
|
||||
margin: 0 0 6px;
|
||||
color: var(--text);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
.install-method p { color: var(--text-secondary); font-size: 0.88rem; margin: 4px 0; }
|
||||
.install-method a { font-weight: 600; }
|
||||
.container { max-width: 700px; margin: 0 auto; padding: 24px 20px 60px; }
|
||||
|
||||
/* Nav */
|
||||
|
|
@ -298,6 +327,105 @@
|
|||
.resource-card p { color: var(--text-secondary); font-size: 0.88rem; }
|
||||
.resource-card a { font-weight: 500; }
|
||||
|
||||
/* Video grid */
|
||||
.video-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 14px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.video-card {
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
overflow: hidden;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
|
||||
}
|
||||
.video-card:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 6px 18px rgba(0,0,0,0.1);
|
||||
border-color: #c8e6ce;
|
||||
}
|
||||
.video-thumb {
|
||||
position: relative;
|
||||
aspect-ratio: 16 / 9;
|
||||
overflow: hidden;
|
||||
background: var(--accent-light);
|
||||
}
|
||||
.video-thumb img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
transition: transform 0.3s;
|
||||
}
|
||||
.video-card:hover .video-thumb img { transform: scale(1.05); }
|
||||
.video-play {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
background: rgba(0,0,0,0.55);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background 0.2s, transform 0.2s;
|
||||
}
|
||||
.video-card:hover .video-play {
|
||||
background: rgba(0,0,0,0.72);
|
||||
transform: translate(-50%, -50%) scale(1.08);
|
||||
}
|
||||
.video-play svg { width: 20px; height: 20px; color: #fff; margin-left: 2px; }
|
||||
.video-duration {
|
||||
position: absolute;
|
||||
bottom: 6px;
|
||||
right: 6px;
|
||||
background: rgba(0,0,0,0.75);
|
||||
color: #fff;
|
||||
font-size: 0.72rem;
|
||||
padding: 1px 6px;
|
||||
border-radius: 3px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
.video-info {
|
||||
padding: 10px 12px 12px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
flex: 1;
|
||||
}
|
||||
.video-title {
|
||||
font-size: 0.84rem;
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
line-height: 1.4;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
.video-meta {
|
||||
font-size: 0.74rem;
|
||||
color: var(--text-secondary);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
margin-top: auto;
|
||||
}
|
||||
.video-platform {
|
||||
color: var(--tag-green-text);
|
||||
font-weight: 600;
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
|
|
@ -336,6 +464,7 @@
|
|||
.card { padding: 18px 16px; }
|
||||
.feature-grid { grid-template-columns: 1fr; }
|
||||
.nav a { font-size: 0.8rem; padding: 8px 6px; }
|
||||
.video-grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
@ -343,17 +472,23 @@
|
|||
|
||||
<header class="header">
|
||||
<div class="badges">
|
||||
<span class="badge badge-version">v1.1.7</span>
|
||||
<span class="badge badge-version">v1.1.9</span>
|
||||
<span class="badge badge-plugin">Obsidian 插件</span>
|
||||
<span class="badge" style="background: var(--tag-green); color: var(--tag-green-text);">已上架官方市场</span>
|
||||
<span class="badge badge-skill">2 个 Skills</span>
|
||||
<span class="badge" style="background: var(--tag-green); color: var(--tag-green-text);">视频教程</span>
|
||||
</div>
|
||||
<h1>SonicNote for Obsidian</h1>
|
||||
<p>录音同步、待办提取、工作总结 — 让 Obsidian 成为你的智能笔记中心</p>
|
||||
<div class="header-actions">
|
||||
<a class="download-btn" href="sonicnote-sync-v1.1.7.zip" download>
|
||||
<a class="download-btn market-btn" href="https://community.obsidian.md/plugins/sonicnote-sync" target="_blank">
|
||||
<svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12c0 4.24 2.64 7.85 6.36 9.31-.09-.79-.17-2 .03-2.87.19-.78 1.2-4.97 1.2-4.97s-.31-.62-.31-1.53c0-1.43.83-2.5 1.86-2.5.88 0 1.3.66 1.3 1.45 0 .88-.56 2.2-.85 3.42-.24 1.02.51 1.85 1.52 1.85 1.82 0 3.22-1.92 3.22-4.69 0-2.45-1.76-4.17-4.28-4.17-2.92 0-4.63 2.18-4.63 4.44 0 .88.34 1.82.76 2.33.08.1.09.19.07.29-.08.32-.25 1.02-.29 1.16-.05.19-.15.23-.35.14-1.3-.6-2.11-2.5-2.11-4.02 0-3.27 2.38-6.28 6.86-6.28 3.6 0 6.4 2.57 6.4 6 0 3.58-2.26 6.46-5.39 6.46-1.05 0-2.04-.55-2.38-1.19l-.65 2.46c-.23.9-.86 2.03-1.28 2.72C9.87 21.84 10.92 22 12 22c5.52 0 10-4.48 10-10S17.52 2 12 2z"/></svg>
|
||||
从 Obsidian 市场安装
|
||||
<span class="recommend-tag">推荐</span>
|
||||
</a>
|
||||
<a class="download-btn outline" href="sonicnote-sync-v1.1.9.zip" download>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
|
||||
SonicNote Sync 插件
|
||||
下载 zip 手动安装
|
||||
</a>
|
||||
<a class="download-btn" href="https://pan.baidu.com/s/1PeRNFGdmnBrW4296XT5UZQ?pwd=cdtp" target="_blank" style="background: linear-gradient(135deg, #e53935, #ff6f00);">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polygon points="5 3 19 12 5 21 5 3"/></svg>
|
||||
|
|
@ -407,6 +542,16 @@
|
|||
|
||||
<div class="card">
|
||||
<h2>更新记录</h2>
|
||||
<h3>v1.1.9</h3>
|
||||
<ul>
|
||||
<li>正式上架 Obsidian 官方插件市场,支持一键安装与自动更新</li>
|
||||
<li>最低兼容版本提升至 Obsidian v1.6.0</li>
|
||||
</ul>
|
||||
<h3>v1.1.8</h3>
|
||||
<ul>
|
||||
<li>适配 Obsidian 社区插件审核规范:设置页改用标准 Setting 组件、移除内联样式</li>
|
||||
<li>完善代码类型安全,修复若干潜在的运行时告警</li>
|
||||
</ul>
|
||||
<h3>v1.1.7</h3>
|
||||
<ul>
|
||||
<li>修复在 Obsidian 中编辑文件属性后重新同步报"File already exists"的问题</li>
|
||||
|
|
@ -449,15 +594,24 @@
|
|||
<div class="card">
|
||||
<h2>前置要求</h2>
|
||||
<ul>
|
||||
<li>Obsidian 桌面版 v0.15.0 及以上(<a href="https://obsidian.md/download" target="_blank">下载地址</a>)</li>
|
||||
<li>Obsidian 桌面版 v1.6.0 及以上(<a href="https://obsidian.md/download" target="_blank">下载地址</a>)</li>
|
||||
<li>SonicNote 妙记账号</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>安装</h2>
|
||||
|
||||
<div class="install-method">
|
||||
<h4>✅ 方式一:从 Obsidian 官方市场安装(推荐)</h4>
|
||||
<p>最简单的方式,支持自动更新,无需手动解压文件。</p>
|
||||
<p>🔗 插件官方页面:<a href="https://community.obsidian.md/plugins/sonicnote-sync" target="_blank">community.obsidian.md/plugins/sonicnote-sync</a></p>
|
||||
<p>或直接在 Obsidian 中操作:<strong>设置 → 第三方/社区插件 → 浏览</strong>,搜索 <span class="inline-code">SonicNote</span> 即可安装。</p>
|
||||
</div>
|
||||
|
||||
<h3 style="margin-top:18px;">方式二:手动安装</h3>
|
||||
<ol>
|
||||
<li>点击上方按钮下载 <span class="inline-code">sonicnote-sync-v1.1.7.zip</span></li>
|
||||
<li>点击上方按钮下载 <span class="inline-code">sonicnote-sync-v1.1.9.zip</span></li>
|
||||
<li>解压 zip 文件,得到以下文件:
|
||||
<ul style="margin-top:4px;">
|
||||
<li><span class="inline-code">main.js</span></li>
|
||||
|
|
@ -705,6 +859,42 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="video-grid">
|
||||
<a class="video-card" href="https://www.bilibili.com/video/BV1gE7A6zERK" target="_blank" rel="noopener">
|
||||
<div class="video-thumb">
|
||||
<img src="https://i2.hdslb.com/bfs/archive/d5bcae7d0266cd6df18a4fa544442cab2f1cc29c.jpg" alt="AI 录音卡 x Obsidian 完整使用教程" loading="lazy" referrerpolicy="no-referrer">
|
||||
<span class="video-play"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M8 5v14l11-7z"/></svg></span>
|
||||
<span class="video-duration">17:31</span>
|
||||
</div>
|
||||
<div class="video-info">
|
||||
<div class="video-title">AI 录音卡 x Obsidian 完整使用教程:打通知识管理全流程 SonicNote</div>
|
||||
<div class="video-meta"><span class="video-platform">B站</span> · Shiki实验室</div>
|
||||
</div>
|
||||
</a>
|
||||
<a class="video-card" href="https://www.bilibili.com/video/BV1t1jE6GEvE" target="_blank" rel="noopener">
|
||||
<div class="video-thumb">
|
||||
<img src="https://i2.hdslb.com/bfs/archive/0c75b36ff36a19423d743ef5a3f77e5bc6753239.jpg" alt="Obsidian + AI 智能体 知识管理 Skills" loading="lazy" referrerpolicy="no-referrer">
|
||||
<span class="video-play"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M8 5v14l11-7z"/></svg></span>
|
||||
<span class="video-duration">16:41</span>
|
||||
</div>
|
||||
<div class="video-info">
|
||||
<div class="video-title">Obsidian + AI 智能体 知识管理 Skills 完美复刻 2999 得到大脑</div>
|
||||
<div class="video-meta"><span class="video-platform">B站</span> · Shiki实验室</div>
|
||||
</div>
|
||||
</a>
|
||||
<a class="video-card" href="https://www.bilibili.com/video/BV1XmJ36BEYb" target="_blank" rel="noopener">
|
||||
<div class="video-thumb">
|
||||
<img src="https://i1.hdslb.com/bfs/archive/7119f80a864a84ecfb263d2ff704b033bbafcad1.jpg" alt="榨干 AI 录音卡 搭配智能体 Skills 10 个超好用用法" loading="lazy" referrerpolicy="no-referrer">
|
||||
<span class="video-play"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M8 5v14l11-7z"/></svg></span>
|
||||
<span class="video-duration">07:32</span>
|
||||
</div>
|
||||
<div class="video-info">
|
||||
<div class="video-title">榨干 AI 录音卡 搭配智能体 Skills:10 个超好用用法</div>
|
||||
<div class="video-meta"><span class="video-platform">B站</span> · Shiki实验室</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="resource-card">
|
||||
<h3>Shiki 的免费启动仓库和剪藏插件</h3>
|
||||
<p>百度网盘:<a href="https://pan.baidu.com/s/1PeRNFGdmnBrW4296XT5UZQ?pwd=cdtp" target="_blank">https://pan.baidu.com/s/1PeRNFGdmnBrW4296XT5UZQ</a></p>
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue