From a45ef100b042652749c6fe1bff287da608c5839c Mon Sep 17 00:00:00 2001 From: zoujing Date: Thu, 14 May 2026 15:40:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E5=A4=A9=E6=B0=94?= =?UTF-8?q?=E7=9A=84=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ChatMain/HomeWelcome/index.vue | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/pages/ChatMain/HomeWelcome/index.vue b/src/pages/ChatMain/HomeWelcome/index.vue index d8b234b..2e28837 100644 --- a/src/pages/ChatMain/HomeWelcome/index.vue +++ b/src/pages/ChatMain/HomeWelcome/index.vue @@ -74,7 +74,7 @@ const getWeatherEmoji = (text) => { if (text.includes("雨")) return "🌧️"; if (text.includes("雷")) return "⛈️"; if (text.includes("雪")) return "🌨️"; - if (text.includes("雾") || text.includes("霾")) return "🌫️"; + if (text.includes("雾") || text.includes("霾")) return "😷"; if (text.includes("风")) return "🌬️"; if (text.includes("沙")) return "🌪️"; return "❓"; @@ -125,17 +125,18 @@ const weatherTextMap = { "阵雪": "🌨️", // 雾霾 / 沙尘 - "雾": "🌫️", - "浓雾": "🌫️", - "强浓雾": "🌫️", - "轻雾": "🌫️", - "大雾": "🌫️", - "特强浓雾": "🌫️", + "雾": "🌁", // 有能见度的雾(城市感) + "轻雾": "🌫️", // 轻微雾气 + "浓雾": "🌁", // 更厚的雾(用城市雾更直观) + "大雾": "🌁", + "强浓雾": "🌁", + "特强浓雾": "🌁", - "霾": "🌫️", - "中度霾": "🌫️", - "重度霾": "🌫️", - "严重霾": "🌫️", + // 😷 霾(偏污染) + "霾": "😷", // 直接表达空气差(用户感知最强) + "中度霾": "😷", + "重度霾": "🤢", // 更严重一点 + "严重霾": "☠️", // 极端情况(视觉冲击强) "扬沙": "🌪️", "浮尘": "🌪️",