feat: 重构社区与支持部分,更新样式和内容以提升用户体验,增加技术支持信息和二维码

This commit is contained in:
wood911010 committed 2026-01-23 17:41:13 +08:00
1 parent 43bf6fb4f7
commit 138ec9e7ec
2 files changed
+80 -46

No files matched your search

+27 -10
View File
@@ -264,18 +264,35 @@ hero:
</a>
</div>
## 开源社区
## 社区与支持
<div class="contact-section">
<div class="contact-content">
<div class="contact-text">
<h3>加入开源社区</h3>
<p>欢迎加入我们的开源社区,与开发者交流技术心得</p>
<p>扫描下方二维码,加入微信群讨论License Manager相关话题</p>
<div class="community-support-section">
<div class="community-grid">
<div class="community-card">
<div class="community-content">
<div class="community-text">
<h3>开源社区</h3>
<p>欢迎加入我们的开源社区,与开发者交流技术心得</p>
<p>扫描下方二维码,加入QQ群讨论License Manager相关话题</p>
</div>
<div class="community-qrcode">
<img src="/images/qrcode_1755081220153.jpg" alt="开源社区群二维码" width="150" height="150">
<p class="qrcode-label">开源社区群</p>
</div>
</div>
</div>
<div class="contact-qrcode">
<img src="/images/qrcode_1755081220153.jpg" alt="开源社区群二维码" width="200" height="200">
<p class="qrcode-label">开源社区群</p>
<div class="community-card">
<div class="community-content">
<div class="community-text">
<h3>技术支持</h3>
<p>需要商业咨询或技术支持服务?</p>
<p>扫描下方二维码,联系我们的技术团队获取专业帮助</p>
</div>
<div class="community-qrcode">
<img src="/images/qrcode_1755081220153.jpg" alt="技术支持二维码" width="150" height="150">
<p class="qrcode-label">技术支持</p>
</div>
</div>
</div>
</div>
</div>
+53 -36
View File
@@ -463,66 +463,76 @@ h3 {
}
}
/* Contact Section */
.contact-section {
/* Community & Support Section */
.community-support-section {
margin: 5rem 0 3rem;
text-align: center;
}
.contact-content {
display: flex;
align-items: center;
justify-content: center;
gap: 4rem;
max-width: 800px;
.community-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
padding: 3rem;
}
.community-card {
padding: 2.5rem;
border-radius: 1.5rem;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-text {
flex: 1;
text-align: left;
.community-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
background: rgba(255, 255, 255, 0.9);
}
.contact-text h3 {
.community-content {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 1.5rem;
}
.community-text h3 {
margin: 0 0 1rem 0;
font-size: 1.75rem;
font-size: 1.5rem;
font-weight: 700;
color: var(--vp-c-text-1);
letter-spacing: -0.02em;
}
.contact-text p {
margin: 0 0 1rem 0;
.community-text p {
margin: 0 0 0.5rem 0;
color: var(--vp-c-text-2);
line-height: 1.7;
font-size: 1rem;
line-height: 1.6;
font-size: 0.95rem;
}
.contact-qrcode {
flex-shrink: 0;
.community-qrcode {
text-align: center;
}
.contact-qrcode img {
.community-qrcode img {
border-radius: 1rem;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
border: 3px solid rgba(255, 255, 255, 0.8);
transition: transform 0.3s ease;
}
.contact-qrcode img:hover {
.community-qrcode img:hover {
transform: scale(1.05);
}
.qrcode-label {
margin: 1rem 0 0 0;
font-size: 0.9rem;
font-size: 0.85rem;
font-weight: 600;
color: var(--vp-c-text-1);
}
@@ -535,7 +545,7 @@ h3 {
.commercialization-item,
.architecture-item,
.quick-start-link,
.contact-content {
.community-card {
background: rgba(30, 30, 30, 0.8);
border-color: rgba(255, 255, 255, 0.1);
}
@@ -545,30 +555,37 @@ h3 {
.use-case-item:hover,
.commercialization-item:hover,
.architecture-item:hover,
.quick-start-link:hover {
.quick-start-link:hover,
.community-card:hover {
background: rgba(30, 30, 30, 0.9);
}
.contact-qrcode img {
.community-qrcode img {
border-color: rgba(255, 255, 255, 0.3);
}
}
/* Mobile Responsive */
@media (max-width: 768px) {
.contact-content {
flex-direction: column;
gap: 2rem;
.community-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.community-card {
padding: 2rem;
text-align: center;
}
.contact-text {
text-align: center;
.community-content {
gap: 1.25rem;
}
.contact-qrcode img {
width: 150px;
height: 150px;
.community-text h3 {
font-size: 1.25rem;
}
.community-qrcode img {
width: 120px;
height: 120px;
}
}