diff --git a/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/rightTop.vue b/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/rightTop.vue index 162c1866..8f976a4a 100644 --- a/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/rightTop.vue +++ b/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/rightTop.vue @@ -2,14 +2,6 @@
{{ title }}
-
  • - {{ +
    + {{ $t("message.environmentalOverview.typeList")[0] }} - {{ airAnalysis.length > 0 ? airAnalysis[0].num : 0 }}{{ $t("message.environmentalOverview.Days") }}
  • - {{ +
    + {{ $t("message.environmentalOverview.typeList")[1] }} - {{ airAnalysis.length > 0 ? airAnalysis[1].num : 0 }}{{ $t("message.environmentalOverview.Days") }} @@ -87,16 +83,18 @@
  • - {{ +
    + {{ $t("message.environmentalOverview.typeList")[2] }} - {{ airAnalysis.length > 0 ? airAnalysis[2].num : 0 }}{{ $t("message.environmentalOverview.Days") }} @@ -104,22 +102,25 @@
  • - {{ +
    + {{ $t("message.environmentalOverview.typeList")[3] }} - {{ airAnalysis.length > 0 ? airAnalysis[3].num : 0 }}{{ $t("message.environmentalOverview.Days") }}
  • - {{ +
    + {{ $t("message.environmentalOverview.typeList")[4] }} - {{ airAnalysis.length > 0 ? airAnalysis[4].num : 0 }}{{ $t("message.environmentalOverview.Days") }}
  • - {{ +
    + {{ $t("message.environmentalOverview.typeList")[5] }} - {{ airAnalysis.length > 0 ? airAnalysis[5].num : 0 }}{{ $t("message.environmentalOverview.Days") }} @@ -172,21 +176,12 @@ export default { return { airType: 1, airAnalysis: [], - // customColor1:"#36cd81", - // customColor2:'#e2cd72', - // customColor3:'#cf8755', - // customColor4:'#6d70fb', - // customColor5:'#e5524a', - // customColor6:'#f84848' }; }, mounted(){ this.getAirQualityStatistics(); }, methods: { - // format(percentage) { - // return percentage === 100 ? "满" : `${percentage}%`; - // } //空气质量分析--统计 getAirQualityStatistics() { let data = { @@ -221,7 +216,33 @@ export default { } .progressBox{ - margin-top: 20px; + margin-top: 10px; + margin-left: 20px; + // width: 60%; + font-size: 12px; + .progressleft{ + display: inline-block; + height: 10px; + width:60%; + } + li{ + margin: 10px; + } + .point{ + display: inline-block; + width: 5px; + height: 5px; + margin-left: 10px; + border-radius: 50%; + background-color: #fff; + } + .types{ + margin-left: 15px; + width: 120px; + } + .day{ + margin-left: 30px; + } } }