diff --git a/antd-sample/MyComponent.jsx b/antd-sample/MyComponent.jsx index 064dd74..3b4d5aa 100644 --- a/antd-sample/MyComponent.jsx +++ b/antd-sample/MyComponent.jsx @@ -6,29 +6,36 @@ export const MyComponent = () => { return (
-
-
- 数据总览 - 你的每一份成长都记录 + 个人知识创作 +
+
+ 478W + 总字数
-
近 1 年
-
-
-
- 创作天数 - 160 -
-
- 创作字数 - 14,385 +
+
+ 3,779 + 文档 +
+
+ 172 + 知识库 +
-
- 内容更新 - 1,807 +
+
+
+ 1,607 + 小记
-
- 获得点赞 - 413 +
+
+ 小记 +
+
+ 1 + 1000 +
diff --git a/antd-sample/MyComponent.module.less b/antd-sample/MyComponent.module.less index 89594ba..a377387 100644 --- a/antd-sample/MyComponent.module.less +++ b/antd-sample/MyComponent.module.less @@ -1,90 +1,139 @@ .wrapper { background-color: #ffffff; - width: 500px; + width: 460px; .div { display: flex; flex-direction: column; width: 100%; - .pZvKR { + .span { + color: #000000; + font-size: 16px; + margin-bottom: 11px; + font-weight: bold; + } + + .divDep4_1 { display: flex; flex-direction: row; align-items: center; - border-radius: 4px; - background-color: #fafafa; - margin-bottom: 11px; - padding: 2px 10px 2px 10px; + margin-bottom: 12px; - .zTgKe { + .divDep5_1 { display: flex; flex-direction: column; flex: 1; - margin-left: 10px; + margin-right: 16px; - .span { - color: #333333; - font-size: 12px; + .spanDep6_1 { + color: #000000; + font-size: 16px; } - .qJDnm { + .spanDep6_2 { color: #585a5a; - font-size: 11px; + font-size: 12px; + margin-top: 2px; } } - .kBVol { - display: inline-flex; - flex-direction: row; - align-items: center; - font-size: 10px; - border-radius: 5px; - border: solid 1px #e7e9e8; - margin-left: 16px; - padding: 4px 10px 4px 10px; + .divDep5_2 { + display: flex; + flex-direction: column; + flex: 1; + margin-right: 16px; + + .divDep6_1 { + display: flex; + flex-direction: row; + align-items: center; + font-size: 13px; + + .spanDep7_1 { + color: #585a5a; + margin-right: 2px; + } + + .spanDep7_2 { + color: #000000; + } + } + + .divDep6_2 { + display: flex; + flex-direction: row; + align-items: center; + font-size: 13px; + + .spanDep7_3 { + color: #585a5a; + margin-right: 2px; + } + + .spanDep7_4 { + color: #333333; + } + } } } - .xEqUH { + .divDep4_2 { display: flex; flex-direction: row; align-items: center; - border-radius: 4px; - background-color: #fafafa; - margin-bottom: 11px; - padding: 2px 10px 2px 10px; + margin-bottom: 12px; - .xYuOG { + .divDep5_3 { display: flex; flex-direction: column; flex: 1; - margin-left: 10px; + margin-right: 16px; - .vHYtO { + .spanDep6_3 { color: #333333; - font-size: 12px; + font-size: 16px; } - .fCtBp { - color: #585a5a; - font-size: 11px; + .spanDep6_4 { + color: #8b8f8d; + font-size: 12px; + margin-top: 2px; } } - .oSVrf { + .divDep5_4 { display: flex; flex-direction: column; flex: 1; - margin-left: 10px; + margin-right: 16px; - .jlPlf { - color: #585a5a; - font-size: 12px; + .divDep6_3 { + display: flex; + flex-direction: row; + align-items: center; + font-size: 13px; + + .spanDep7_5 { + color: #585a5a; + margin-right: 2px; + } } - .aAiBx { - color: #8b8f8d; - font-size: 11px; + .divDep6_4 { + display: flex; + flex-direction: row; + align-items: center; + font-size: 13px; + + .spanDep7_6 { + color: #585a5a; + margin-right: 2px; + } + + .spanDep7_7 { + color: #333333; + } } } }