LiuShu_0203 3 mesiacov pred
rodič
commit
f562f420c8
3 zmenil súbory, kde vykonal 10 pridanie a 32 odobranie
  1. 3 0
      .vite/deps_temp_da17b147/package.json
  2. 7 6
      src/App.vue
  3. 0 26
      types/components.d.ts

+ 3 - 0
.vite/deps_temp_da17b147/package.json

@@ -0,0 +1,3 @@
+{
+  "type": "module"
+}

+ 7 - 6
src/App.vue

@@ -446,7 +446,7 @@ const progressbar = (item: any, index: number, ThawingtemperatureDatalength: num
             grid: {
                 top: 0,
                 bottom: 0,
-                left: '17%',
+                left: '28%',
                 right: '17%'
             },
             xAxis: {
@@ -457,8 +457,9 @@ const progressbar = (item: any, index: number, ThawingtemperatureDatalength: num
             yAxis: [
                 {
                     type: 'category',
-                    data: [item.trackName],
+                    data: [item.trackName ? item.trackName : '暂无数据'],
                     axisLabel: {
+                        padding: [0, 4, 0, 0],
                         textStyle: {
                             color: '#ffffff',
                             fontSize: '15'
@@ -502,7 +503,7 @@ const progressbar = (item: any, index: number, ThawingtemperatureDatalength: num
                         formatter(params: { value: any }) {
                             return `${params.value}h`;
                         },
-                        fontSize: 18,
+                        fontSize: 15,
                         color: '#fff'
                     }
                 },
@@ -539,7 +540,7 @@ const progressbar = (item: any, index: number, ThawingtemperatureDatalength: num
                                 item.thawTime === null || item.thawTime === '' ? 0 : Number(item.thawTime).toFixed(2); // 假设总条数为20
                             return `${total}h`;
                         },
-                        fontSize: 16,
+                        fontSize: 15,
                         color: '#fff'
                     }
                 }
@@ -1433,7 +1434,7 @@ body {
                                 font-size: 1rem;
                                 display: flex;
                                 div {
-                                    margin-left: 0.5rem;
+                                    margin-left: 0.3rem;
                                     height: 100%;
                                     width: 5.6rem;
                                     text-align: center;
@@ -1482,7 +1483,7 @@ body {
                                 font-size: 1rem;
                                 display: flex;
                                 div {
-                                    margin-left: 0.5rem;
+                                    margin-left: 0.3rem;
                                     height: 100%;
                                     width: 9rem;
                                     text-align: center;

+ 0 - 26
types/components.d.ts

@@ -7,37 +7,11 @@ export {}
 
 declare module 'vue' {
   export interface GlobalComponents {
-    ElAside: typeof import('element-plus/es')['ElAside']
-    ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
-    ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
-    ElButton: typeof import('element-plus/es')['ElButton']
     ElCarousel: typeof import('element-plus/es')['ElCarousel']
     ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
-    ElContainer: typeof import('element-plus/es')['ElContainer']
-    ElDialog: typeof import('element-plus/es')['ElDialog']
-    ElDrawer: typeof import('element-plus/es')['ElDrawer']
-    ElForm: typeof import('element-plus/es')['ElForm']
-    ElFormItem: typeof import('element-plus/es')['ElFormItem']
-    ElHeader: typeof import('element-plus/es')['ElHeader']
-    ElInput: typeof import('element-plus/es')['ElInput']
-    ElMain: typeof import('element-plus/es')['ElMain']
-    ElMenu: typeof import('element-plus/es')['ElMenu']
-    ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
-    ElOption: typeof import('element-plus/es')['ElOption']
-    ElPagination: typeof import('element-plus/es')['ElPagination']
-    ElSelect: typeof import('element-plus/es')['ElSelect']
-    ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
     ElTable: typeof import('element-plus/es')['ElTable']
     ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
-    ElTree: typeof import('element-plus/es')['ElTree']
-    IEpClose: typeof import('~icons/ep/close')['default']
-    IEpSetting: typeof import('~icons/ep/setting')['default']
-    IEpUser: typeof import('~icons/ep/user')['default']
     RouterLink: typeof import('vue-router')['RouterLink']
     RouterView: typeof import('vue-router')['RouterView']
-    Tag: typeof import('./../src/components/auto/tag.vue')['default']
-  }
-  export interface ComponentCustomProperties {
-    vLoading: typeof import('element-plus/es')['ElLoadingDirective']
   }
 }