Browse Source

页面调整

shuhao 8 months ago
parent
commit
c090512bac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/home/album_compoents/albumCarousel.vue

+ 1 - 1
src/views/home/album_compoents/albumCarousel.vue

@@ -185,7 +185,7 @@ const getSampleFiles = (geoHash) => {
       // }
     outputBox.value[0].value = data.production_info.production + "斤"
     outputBox.value[1].value = data.production_info.quality.toFixed(0) + "%"
-    outputBox.value[2].value = data.production_info.cihua_ratio.toFixed(0) + "%"
+    outputBox.value[2].value = (100 - parseInt(data.production_info.cihua_ratio)).toFixed(0) + "%"
     qualityBox.value[0].value = data.ecology_info.ventilation + "%"
     qualityBox.value[1].value = data.ecology_info.transmittance + "%"
     qualityBox.value[2].value = data.ecology_info.dp_situation+"%"