feat: 我的页面-时间轴
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
|||||||
AtAccordion,
|
AtAccordion,
|
||||||
AtList,
|
AtList,
|
||||||
AtListItem,
|
AtListItem,
|
||||||
|
AtTimeline,
|
||||||
} from "taro-ui";
|
} from "taro-ui";
|
||||||
import "./index.scss";
|
import "./index.scss";
|
||||||
import beijing from "@/images/city/beijing.jpg";
|
import beijing from "@/images/city/beijing.jpg";
|
||||||
@@ -22,7 +23,21 @@ import { useEffect, useState } from "react";
|
|||||||
const Log = () => {
|
const Log = () => {
|
||||||
const [open, setopen] = useState(false);
|
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;
|
export default Log;
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
.Log{
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user