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

同步导航栏
This commit is contained in:
笔记本里的永平
2025-07-22 11:15:41 +08:00
parent a1e707b12e
commit b8e309d26f
8 changed files with 43 additions and 70 deletions

View File

@@ -24,10 +24,9 @@ import {
LikeOutlined,
ClockCircleOutlined,
} from "@ant-design/icons";
import { LeftOutline } from "antd-mobile-icons";
import { ArrowLeftOutlined } from "@ant-design/icons";
import Layout from "@/components/Layout/Layout";
import MeauMobile from "@/components/MeauMobile/MeauMoible";
import {
fetchAutoLikeTasks,
deleteAutoLikeTask,
@@ -243,20 +242,25 @@ const AutoLike: React.FC = () => {
header={
<>
<NavBar
back={null}
style={{ background: "#fff" }}
onBack={() => window.history.back()}
left={
<div style={{ color: "var(--primary-color)", fontWeight: 600 }}>
<div className="nav-title">
<ArrowLeftOutlined
twoToneColor="#1677ff"
onClick={() => navigate(-1)}
/>
</div>
}
right={
<Button size="small" color="primary" onClick={handleCreateNew}>
<PlusOutlined />
<span style={{ marginLeft: 4, fontSize: 12 }}></span>
<PlusOutlined />
</Button>
}
/>
>
<span className="nav-title"></span>
</NavBar>
{/* 搜索栏 */}
<div className={style["search-bar"]}>
<div className={style["search-input-wrapper"]}>

View File

@@ -140,7 +140,7 @@ const Workspace: React.FC = () => {
</div>
</NavBar>
}
footer={<MeauMobile />}
footer={<MeauMobile activeKey="workspace" />}
>
<div className={styles.workspace}>
{/* 常用功能 */}