238 lines
4.8 KiB
SCSS
238 lines
4.8 KiB
SCSS
.powerCenter {
|
|
padding: 24px;
|
|
background-color: #f5f5f5;
|
|
min-height: 100vh;
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 32px;
|
|
background: white;
|
|
padding: 24px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
|
|
|
.headerLeft {
|
|
.title {
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
color: #1a1a1a;
|
|
margin: 0 0 8px 0;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.headerRight {
|
|
.tabs {
|
|
.tab {
|
|
border-radius: 8px;
|
|
border: 1px solid #e0e0e0;
|
|
color: #666;
|
|
|
|
&:hover {
|
|
color: #1890ff;
|
|
border-color: #1890ff;
|
|
}
|
|
}
|
|
|
|
.activeTab {
|
|
border-radius: 8px;
|
|
background: #1890ff;
|
|
border-color: #1890ff;
|
|
box-shadow: 0 2px 4px rgba(24, 144, 255, 0.2);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.cardGrid {
|
|
.featureCard {
|
|
border-radius: 16px;
|
|
border: none;
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
|
transition: all 0.3s ease;
|
|
height: 200px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.cardContent {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
height: 100%;
|
|
justify-content: center;
|
|
|
|
.iconWrapper {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 16px;
|
|
position: relative;
|
|
|
|
.icon {
|
|
font-size: 28px;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
.cardInfo {
|
|
.cardTitle {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #1a1a1a;
|
|
margin: 0 0 8px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
|
|
.newBadge {
|
|
background: linear-gradient(135deg, #ff6b6b, #ee5a24);
|
|
color: white;
|
|
font-size: 10px;
|
|
padding: 2px 6px;
|
|
border-radius: 8px;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
.cardDescription {
|
|
font-size: 12px;
|
|
color: #666;
|
|
line-height: 1.4;
|
|
margin: 0;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 响应式设计
|
|
@media (max-width: 1200px) {
|
|
.powerCenter {
|
|
.header {
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
align-items: flex-start;
|
|
|
|
.headerRight {
|
|
width: 100%;
|
|
|
|
.tabs {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.powerCenter {
|
|
padding: 16px;
|
|
|
|
.header {
|
|
padding: 16px;
|
|
|
|
.headerLeft {
|
|
.title {
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.cardGrid {
|
|
.featureCard {
|
|
height: 160px;
|
|
|
|
.cardContent {
|
|
.iconWrapper {
|
|
width: 48px;
|
|
height: 48px;
|
|
|
|
.icon {
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
|
|
.cardInfo {
|
|
.cardTitle {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.cardDescription {
|
|
font-size: 11px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 卡片颜色主题
|
|
.featureCard {
|
|
// 精准群发 - 橙色
|
|
&[data-color="#ff6b35"] .iconWrapper {
|
|
background: linear-gradient(135deg, #ff6b35, #f7931e);
|
|
}
|
|
|
|
// SOP群发 - 蓝色
|
|
&[data-color="#4285f4"] .iconWrapper {
|
|
background: linear-gradient(135deg, #4285f4, #1a73e8);
|
|
}
|
|
|
|
// 朋友圈营销 - 绿色
|
|
&[data-color="#34a853"] .iconWrapper {
|
|
background: linear-gradient(135deg, #34a853, #137333);
|
|
}
|
|
|
|
// 标签管理 - 紫色
|
|
&[data-color="#9c27b0"] .iconWrapper {
|
|
background: linear-gradient(135deg, #9c27b0, #7b1fa2);
|
|
}
|
|
|
|
// 客户管理 - 靛蓝
|
|
&[data-color="#6366f1"] .iconWrapper {
|
|
background: linear-gradient(135deg, #6366f1, #4f46e5);
|
|
}
|
|
|
|
// 沟通记录 - 青色
|
|
&[data-color="#06b6d4"] .iconWrapper {
|
|
background: linear-gradient(135deg, #06b6d4, #0891b2);
|
|
}
|
|
|
|
// 内容管理 - 黄色
|
|
&[data-color="#f59e0b"] .iconWrapper {
|
|
background: linear-gradient(135deg, #f59e0b, #d97706);
|
|
}
|
|
|
|
// AI训练 - 粉色
|
|
&[data-color="#ec4899"] .iconWrapper {
|
|
background: linear-gradient(135deg, #ec4899, #db2777);
|
|
}
|
|
|
|
// 自动打招呼 - 翠绿
|
|
&[data-color="#10b981"] .iconWrapper {
|
|
background: linear-gradient(135deg, #10b981, #059669);
|
|
}
|
|
}
|