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

自动点赞功能完成
This commit is contained in:
笔记本里的永平
2025-07-23 19:50:04 +08:00
parent e4b6ded6b9
commit 27ee7b4e0d
3 changed files with 12 additions and 37 deletions

View File

@@ -24,8 +24,7 @@ import {
ClockCircleOutlined, ClockCircleOutlined,
DownOutlined, DownOutlined,
} from "@ant-design/icons"; } from "@ant-design/icons";
import { ArrowLeftOutlined } from "@ant-design/icons"; import NavCommon from "@/components/NavCommon";
import Layout from "@/components/Layout/Layout"; import Layout from "@/components/Layout/Layout";
import { import {
getPlanList, getPlanList,
@@ -352,17 +351,9 @@ const ScenarioList: React.FC = () => {
<Layout <Layout
header={ header={
<> <>
<NavBar <NavCommon
back={null} backFn={() => navigate("/scenarios")}
style={{ background: "#fff" }} title={scenarioName || ""}
left={
<div className="nav-title">
<ArrowLeftOutlined
twoToneColor="#1677ff"
onClick={() => navigate(-1)}
/>
</div>
}
right={ right={
<Button <Button
size="small" size="small"
@@ -372,9 +363,8 @@ const ScenarioList: React.FC = () => {
<PlusOutlined /> <PlusOutlined />
</Button> </Button>
} }
> />
<span className="nav-title"> {scenarioName}</span>
</NavBar>
{/* 搜索栏 */} {/* 搜索栏 */}
<div className={style["search-bar"]}> <div className={style["search-bar"]}>
<div className={style["search-input-wrapper"]}> <div className={style["search-input-wrapper"]}>

View File

@@ -168,19 +168,16 @@
.info-item { .info-item {
display: flex; display: flex;
justify-content: space-between;
align-items: center;
} }
.info-label { .info-label {
font-size: 16px; font-size: 14px;
color: #666; color: #666;
} }
.info-value { .info-value {
font-size: 16px; font-size: 14px;
color: #333; color: #333;
font-weight: 600;
} }
.task-stats { .task-stats {

View File

@@ -322,43 +322,31 @@ const AutoLike: React.FC = () => {
<div className={style["task-info"]}> <div className={style["task-info"]}>
<div className={style["info-section"]}> <div className={style["info-section"]}>
<div className={style["info-item"]}> <div className={style["info-item"]}>
<span className={style["info-label"]}></span> <span className={style["info-label"]}></span>
<span className={style["info-value"]}> <span className={style["info-value"]}>
{task.deviceCount} {task.deviceCount}
</span> </span>
</div> </div>
<div className={style["info-item"]}> <div className={style["info-item"]}>
<span className={style["info-label"]}></span> <span className={style["info-label"]}></span>
<span className={style["info-value"]}> <span className={style["info-value"]}>
{task.targetGroup} {task.targetGroup}
</span> </span>
</div> </div>
<div className={style["info-item"]}>
<span className={style["info-label"]}></span>
<span className={style["info-value"]}>
{task.updateTime}
</span>
</div>
</div> </div>
<div className={style["info-section"]}> <div className={style["info-section"]}>
<div className={style["info-item"]}> <div className={style["info-item"]}>
<span className={style["info-label"]}></span> <span className={style["info-label"]}></span>
<span className={style["info-value"]}> <span className={style["info-value"]}>
{task.likeInterval} {task.likeInterval}
</span> </span>
</div> </div>
<div className={style["info-item"]}> <div className={style["info-item"]}>
<span className={style["info-label"]}></span> <span className={style["info-label"]}></span>
<span className={style["info-value"]}> <span className={style["info-value"]}>
{task.maxLikesPerDay} {task.maxLikesPerDay}
</span> </span>
</div> </div>
<div className={style["info-item"]}>
<span className={style["info-label"]}></span>
<span className={style["info-value"]}>
{task.createTime}
</span>
</div>
</div> </div>
</div> </div>