feat: 本次提交更新内容如下

首页搞定,开始场景获客
This commit is contained in:
笔记本里的永平
2025-07-19 09:27:49 +08:00
parent b2bfb2338a
commit 9630389e22
3 changed files with 6 additions and 5 deletions

View File

@@ -2,6 +2,7 @@
display: flex; display: flex;
height: 100vh; height: 100vh;
flex-direction: column; flex-direction: column;
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
} }
.container main { .container main {

View File

@@ -1,6 +1,6 @@
.home-page { .home-page {
padding: 12px; padding: 12px;
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
} }
// 导航栏样式 // 导航栏样式

View File

@@ -36,25 +36,25 @@ const Home: React.FC = () => {
getTodayStats().then((res: any) => { getTodayStats().then((res: any) => {
const todayStatsData = [ const todayStatsData = [
{ {
label: "朋友圈", label: "同步朋友圈",
value: res.momentsNum, value: res.momentsNum,
icon: <LoopOutline style={{ fontSize: 16, color: "#ff6b35" }} />, icon: <LoopOutline style={{ fontSize: 16, color: "#ff6b35" }} />,
color: "#ff6b35", color: "#ff6b35",
}, },
{ {
label: "群发", label: "群发任务",
value: res.groupPushNum, value: res.groupPushNum,
icon: <TravelOutline style={{ fontSize: 16, color: "#ffd700" }} />, icon: <TravelOutline style={{ fontSize: 16, color: "#ffd700" }} />,
color: "#ffd700", color: "#ffd700",
}, },
{ {
label: "转化率", label: "获客转化率",
value: res.passRate, value: res.passRate,
icon: <LoopOutline style={{ fontSize: 16, color: "#4caf50" }} />, icon: <LoopOutline style={{ fontSize: 16, color: "#4caf50" }} />,
color: "#4caf50", color: "#4caf50",
}, },
{ {
label: "活跃度", label: "系统活跃度",
value: res.sysActive, value: res.sysActive,
icon: ( icon: (
<ClockCircleOutline style={{ fontSize: 16, color: "#2196f3" }} /> <ClockCircleOutline style={{ fontSize: 16, color: "#2196f3" }} />