feat: 我的页面-时间轴

This commit is contained in:
hackrobot
2024-03-22 17:34:25 +08:00
parent 07c9b2253c
commit 1a08981f1b
2 changed files with 19 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ import {
AtAccordion,
AtList,
AtListItem,
AtTimeline,
} from "taro-ui";
import "./index.scss";
import beijing from "@/images/city/beijing.jpg";
@@ -22,7 +23,21 @@ import { useEffect, useState } from "react";
const Log = () => {
const [open, setopen] = useState(false);
return <View className="Log">Log</View>;
return (
<View className="Log">
<AtTimeline
pending
items={[
{
title: "2024年3月22日",
content: ["1.新增我的-更新日志页面", "2.修复bug"],
icon: "clock",
},
{ title: "2024年3月20日", content: ["1.立项小程序 ","2.上线第1版:静态首页+我的 页面"], icon: "clock" },
]}
></AtTimeline>
</View>
);
};
export default Log;

View File

@@ -0,0 +1,3 @@
.Log{
padding: 20px;
}