2 Commits f58f9b6b14 ... 55a1d083ab

Autore SHA1 Messaggio Data
  whc 55a1d083ab Merge branch 'master' of http://787255.xyz:4003/ydm/zl365 7 mesi fa
  whc 80565c258a 上传 7 mesi fa
2 ha cambiato i file con 23 aggiunte e 2 eliminazioni
  1. 2 2
      src/component/form/index.tsx
  2. 21 0
      src/pages/home/index.css

+ 2 - 2
src/component/form/index.tsx

@@ -113,8 +113,8 @@ export const ContentBeforeAfter = () => {
         </Select>
       </div>
       <div>
-        <Field label="Select a date">
-          <DatePicker placeholder="Select a date..." />
+        <Field label="出生日期">
+          <DatePicker placeholder="请选择日期..." />
         </Field>
       </div>
       <div>

+ 21 - 0
src/pages/home/index.css

@@ -18,4 +18,25 @@ label.layout-title {
     font-size: 18px;
     font-weight: 600;
     padding: 8px;
+    position: relative;
+    background-color: var(--colorBrandBackground2Hover);
+}
+label.layout-col-4.layout-title {
+    flex: 0 0 calc(33.33333% - 8px);
+    max-width: calc(33.33333% - 8px);
+    margin-right: 8px;
+}
+.layout-col-12 {
+    flex: 0 0 100%;
+    max-width: 100%;
+}
+
+label.layout-title:before {
+    content: '';
+    position: absolute;
+    left: 0;
+    top: 0;
+    background-color: var(--colorBrandBackground);
+    width: 4px;
+    height: 100%;
 }