Compare commits

..

No commits in common. "11e2900c4757c62df09af9cf33238eebb08674e0" and "98dda253ce8a20b4994cee39012241cb45803094" have entirely different histories.

View File

@ -39,7 +39,7 @@
<view class="weather-content"> <view class="weather-content">
<view class="weather-main"> <view class="weather-main">
<view class="current-weather"> <view class="current-weather">
<image class="weather-icon" :src="weather.weather ? getWeatherIcon(weather.weather) : ''" mode="aspectFit"></image> <image class="weather-icon" :src="weather.weather ? getWeatherIcon(weather.weather) : '/static/imgs/weather/default.png'" mode="aspectFit"></image>
</image> </image>
<text class="current-temp">{{weather.real}}°</text> <text class="current-temp">{{weather.real}}°</text>
</view> </view>
@ -216,7 +216,7 @@
}; };
// //
const defaultIcon = ''; const defaultIcon = '/static/imgs/weather/default.png';
// //
for (const key in weatherMap) { for (const key in weatherMap) {