.lua里有个小错误,明天天气提醒有一小段改一下: if sWeather_am ~= nil and sWeather_pm ~= nil then if sWeather_am ~= sWeather_pm then sWeatherTips = sWeatherTips..'明天 '..tWeather_am[2]..' 转 '..tWeather_pm[2] else sWeatherTips = sWeatherTips..'明天 '..tWeather_am[2] end end
还是上面那个错误,还需要再改一下,改成: if sWeather_am ~= nil and sWeather_pm ~= nil then if tWeather_am[2] ~= tWeather_pm[2] then sWeatherTips = sWeatherTips..'明天 '..tWeather_am[2]..' 转 '..tWeather_pm[2] else sWeatherTips = sWeatherTips..'明天 '..tWeather_am[2] end end 另在for i = 1, #tTemperature_am do 里的 if iTemperature_am == hTemperature then tmphXx = hXx if i >= 13 then 那段,改成: if iTemperature_am == hTemperature then tmphXx = hXx if i < 13 then SKIN:Bang('!SetOption 最高气温 StringAlign Left') else SKIN:Bang('!SetOption 最高气温 StringAlign Right') end end if iTemperature_pm == lTemperature then tmplXx = lXx if i < 13 then SKIN:Bang('!SetOption 最低气温 StringAlign LeftBottom') else SKIN:Bang('!SetOption 最低气温 StringAlign RightBottom') end end