Wallpaper Engine

Wallpaper Engine

145 beoordelingen
show-local-weather(桌面天气 联网)
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Type: Web
Age Rating: Everyone
Genre: Technology
Resolution: Dynamic resolution
Category: Wallpaper
Bestandsgrootte
Geplaatst op
Bijgewerkt op
80.234 KB
27 dec 2016 om 5:50
30 dec 2016 om 2:59
7 wijzigingsnotities (weergeven)

Abonneren om te downloaden
show-local-weather(桌面天气 联网)

In 1 verzameling van qwe14789cn
极简壁纸 (收集 系统占用率低/配色简洁/互动/不影响工作 的作品)
24 items
Omschrijving
http://codepen.io/LantareCode/pen/LkzrwG
BY LantareCode
edit by qwe14789cn

20161230
感谢Lavine 提供提供建议,添加每小时刷新
(取消订阅,wallpaper中删除 然后重新订阅即可更新文件)
------------------------
在原作者的基础上修改,由于不想在桌面上放置按钮,所以需要在代码里修改天气显示位置
修改方法:
Steamsteamappsworkshopcontent431960[随机的一个数字]css
中 找到style.css 用记事本打开或者 其他文本编辑工具打开
修改其中
.wrap {
position: absolute;
display: table;
left: 40%; # 控制左右
top: 70%; #控制上下
margin: -100px 0 0 0;
width: 100%;
text-align: center;
background: rgb(9, 29, 39);
background: rgba(9, 29, 39, .6);
}

自己调整到喜欢的位置即可

Thanks for Lavine's advice: add refresh function every hour.
----------------------------------------------
This wallpaper is LantareCode's production and modified by qwe14789cn.
If you want to change the location of weather information.
you need to edit the file:
[Steam\steamapps\workshop\content\431960\[random number]\css]

open the [style.css] and find the code:

.wrap {
position: absolute;
display: table;
left: 40%; ### control left and right
top: 70%; ### control up and down
margin: -100px 0 0 0;
width: 100%;
text-align: center;
background: rgb(9, 29, 39);
background: rgba(9, 29, 39, .6);
}

By changing the value of [left/right], the weather information will on the right place wherever you want.
23 opmerkingen
一笑 22 apr 2021 om 8:48 
定位问题可以这样改
文件里面 js/index.js 修改$.getJSON(' https://ipinfo.io' , function(data) {这句,在ipinfo.io后面+/自己的实际ip,例如 ipinfo.io/8.8.8.8
山南道張玄氻 17 jul 2019 om 4:28 
你的定位在哪里那
越步 - 蒸汽帮 11 nov 2017 om 1:14 
其他都很完美,很喜欢,就是定位不准,可惜了,这样我没法用啊
Meico 27 jun 2017 om 6:19 
不能用
AMISH STALKER 6 apr 2017 om 16:34 
Is there a way to addd an image to it
qazwedcx 9 mrt 2017 om 6:11 
那个数字不是随机的,是827270838,网址里有
qwe14789cn  [auteur] 17 jan 2017 om 2:42 
Sorry, i will edit the describe and add english
ThatGuy 16 jan 2017 om 19:56 
i wish i knew chinese...
qwe14789cn  [auteur] 11 jan 2017 om 3:40 
<meta http-equiv="refresh" content="3600">
3600 单位是秒 按照你喜欢的刷新率修改就行
全息玫瑰碎片 10 jan 2017 om 20:41 
一个小时刷新一次好慢啊。