Browse Source

增加单位

liushengqiang 1 year ago
parent
commit
23fe500f79
2 changed files with 9 additions and 0 deletions
  1. 3 0
      src/views/home/component/Attendance.tsx
  2. 6 0
      src/views/home/index.module.less

+ 3 - 0
src/views/home/component/Attendance.tsx

@@ -194,6 +194,9 @@ export default defineComponent({
           class={styles.attendanceContainer}>
           <div class={styles.attendanceEcharts} ref={echratsRef}></div>
           <div class={styles.tags}>
+            <div class={styles.unitTitle}>
+              (单位:  人次)
+            </div>
             {colors.map((item, index) => (
               <div class={styles.tag}>
                 <div

+ 6 - 0
src/views/home/index.module.less

@@ -432,4 +432,10 @@ body {
             min-width: var(--van-popover-action-width);
         }
     }
+}
+.unitTitle{
+    width: 100%;
+    color: #999;
+    font-size: 12px;
+    padding: 0 0.13333rem;
 }