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

View File

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

View File

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