Browse Source

页面调整

shuhao 6 months ago
parent
commit
9e0afd7092
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/views/home/album_compoents/albumCarousel.vue

+ 3 - 0
src/views/home/album_compoents/albumCarousel.vue

@@ -215,6 +215,9 @@ const getSampleFiles = (geoHash) => {
           let dict = extData.find((item) => item.field == key)
           if(dict){
             outputBox.value[i].name = dict.label
+            if(dict.label === "产量估计"){
+              data.production_info[dict.field] = data.production_info[dict.field] < 50 ? (data.production_info[dict.field] * 3).toFixed(0) : data.production_info[dict.field]
+            }
             outputBox.value[i].value = data.production_info[dict.field] + dict.unit
             i++;
           }