0fcb77b991
CI/CD Pipeline / Check if frontend-only change (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Successful in 1m6s
CI Build & Deploy Pipeline / Build Staging Web Image (push) Successful in 1m49s
CI Build & Deploy Pipeline / Build Production API Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Production Web Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Production Worker Image (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (push) Has been skipped
CI Build & Deploy Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 3m1s
CI/CD Pipeline / Unit Tests (push) Successful in 3m20s
CI/CD Pipeline / Integration Tests (push) Successful in 1m29s
CI Build & Deploy Pipeline / Build Staging API Image (push) Successful in 7m4s
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Successful in 7m54s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 45s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 2m50s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Successful in 3m28s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com> Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
234 lines
5.2 KiB
CSS
Executable File
234 lines
5.2 KiB
CSS
Executable File
/* V21 定价页面 - CSS变量体系 */
|
|
@import "../../styles/global.css";
|
|
|
|
.xx-plans-page {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: var(--space-3xl) var(--space-lg);
|
|
}
|
|
|
|
/* 页面头部 */
|
|
.xx-page-head {
|
|
text-align: center;
|
|
margin-bottom: var(--space-3xl);
|
|
}
|
|
|
|
.xx-page-head h2 {
|
|
font-size: var(--font-size-5xl);
|
|
font-weight: var(--font-weight-extrabold);
|
|
color: var(--text-primary);
|
|
margin: 0 0 var(--space-md);
|
|
letter-spacing: var(--letter-spacing-tight);
|
|
}
|
|
|
|
.xx-page-head p {
|
|
font-size: var(--font-size-lg);
|
|
color: var(--text-secondary);
|
|
margin: 0;
|
|
max-width: 560px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
/* 定价卡片网格 - 4列 */
|
|
.xx-plans-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: var(--space-lg);
|
|
margin-top: var(--space-xl);
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.xx-plans-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.xx-plans-grid {
|
|
grid-template-columns: 1fr;
|
|
max-width: 400px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
|
|
/* V21 定价卡片 */
|
|
.xx-plan-card {
|
|
background: var(--bg-elevated);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-xl);
|
|
box-shadow: var(--shadow-card);
|
|
padding: var(--space-xl) var(--space-lg);
|
|
position: relative;
|
|
transition: var(--transition-base);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.xx-plan-card:hover {
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 32px 90px color-mix(in srgb, var(--primary-color) 15%, transparent);
|
|
transform: translateY(-4px);
|
|
}
|
|
|
|
.xx-plan-card.featured {
|
|
border: 2px solid var(--primary-color);
|
|
box-shadow:
|
|
0 0 0 4px color-mix(in srgb, var(--primary-color) 10%, transparent),
|
|
0 32px 90px color-mix(in srgb, var(--primary-color) 15%, transparent);
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.xx-plan-card.featured:hover {
|
|
transform: scale(1.02) translateY(-4px);
|
|
}
|
|
|
|
/* 推荐标签 */
|
|
.xx-badge {
|
|
position: absolute;
|
|
top: -12px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background: var(--gradient-primary);
|
|
color: var(--text-inverse);
|
|
padding: 6px 16px;
|
|
border-radius: var(--radius-full);
|
|
font-size: var(--font-size-sm);
|
|
font-weight: var(--font-weight-extrabold);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* 企业版定制标签 */
|
|
.xx-badge.enterprise {
|
|
background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
|
|
}
|
|
|
|
/* 套餐名称 */
|
|
.xx-plan-card h3 {
|
|
font-size: var(--font-size-2xl);
|
|
font-weight: var(--font-weight-extrabold);
|
|
color: var(--text-primary);
|
|
margin: 0 0 var(--space-lg);
|
|
text-align: center;
|
|
}
|
|
|
|
/* 价格 */
|
|
.xx-plan-price {
|
|
text-align: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.xx-plan-price .currency {
|
|
font-size: var(--font-size-lg);
|
|
font-weight: var(--font-weight-bold);
|
|
color: var(--text-secondary);
|
|
vertical-align: top;
|
|
}
|
|
|
|
.xx-plan-price .amount {
|
|
font-size: var(--font-size-5xl);
|
|
font-weight: var(--font-weight-extrabold);
|
|
color: var(--primary-color);
|
|
line-height: 1;
|
|
}
|
|
|
|
.xx-plan-price .period {
|
|
font-size: var(--font-size-md);
|
|
color: var(--text-secondary);
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
|
|
/* 企业版价格 */
|
|
.xx-plan-price.custom .amount {
|
|
font-size: var(--font-size-3xl);
|
|
}
|
|
|
|
/* 描述 */
|
|
.xx-plan-description {
|
|
color: var(--text-secondary);
|
|
font-size: var(--font-size-base);
|
|
text-align: center;
|
|
margin-bottom: var(--space-lg);
|
|
padding-bottom: var(--space-lg);
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
/* 功能列表 */
|
|
.xx-features {
|
|
margin-top: var(--space-sm);
|
|
padding-top: var(--space-lg);
|
|
flex: 1;
|
|
}
|
|
|
|
.xx-feature {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: flex-start;
|
|
color: var(--text-secondary);
|
|
font-size: var(--font-size-base);
|
|
margin-bottom: var(--space-md);
|
|
line-height: var(--line-height-base);
|
|
}
|
|
|
|
.xx-feature span:first-child {
|
|
color: var(--secondary-color);
|
|
font-weight: var(--font-weight-extrabold);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 订阅按钮 */
|
|
.xx-subscribe-btn {
|
|
width: 100%;
|
|
margin-top: var(--space-lg);
|
|
padding: var(--space-md) var(--space-lg) !important;
|
|
font-size: var(--font-size-base) !important;
|
|
font-weight: var(--font-weight-extrabold) !important;
|
|
border-radius: var(--radius-md) !important;
|
|
transition: var(--transition-fast) !important;
|
|
cursor: pointer;
|
|
border: none;
|
|
}
|
|
|
|
.xx-subscribe-btn.primary {
|
|
background: var(--gradient-primary) !important;
|
|
color: var(--text-inverse) !important;
|
|
border: none !important;
|
|
box-shadow: var(--shadow-primary) !important;
|
|
}
|
|
|
|
.xx-subscribe-btn.primary:hover {
|
|
box-shadow: var(--shadow-hover) !important;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.xx-subscribe-btn.ghost {
|
|
background: var(--bg-primary) !important;
|
|
border: 1px solid var(--border-color) !important;
|
|
color: var(--text-primary) !important;
|
|
}
|
|
|
|
.xx-subscribe-btn.ghost:hover {
|
|
border-color: var(--primary-color) !important;
|
|
color: var(--primary-color) !important;
|
|
}
|
|
|
|
/* 企业版按钮 */
|
|
.xx-subscribe-btn.enterprise {
|
|
background: linear-gradient(135deg, var(--accent-color), var(--accent-dark)) !important;
|
|
color: var(--text-inverse) !important;
|
|
border: none !important;
|
|
box-shadow: 0 14px 26px color-mix(in srgb, var(--accent-color) 22%, transparent) !important;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.xx-plans-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.xx-plan-card {
|
|
padding: var(--space-lg);
|
|
}
|
|
}
|