Wallpaper Engine

Wallpaper Engine

145 Bewertungen
show-local-weather(桌面天气 联网)
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Type: Web
Age Rating: Everyone
Genre: Technology
Resolution: Dynamic resolution
Category: Wallpaper
Dateigröße
Veröffentlicht
Aktualisiert
80.234 KB
27. Dez. 2016 um 5:50
30. Dez. 2016 um 2:59
7 Änderungshinweise (anzeigen)

Abonnieren zum Herunterladen
show-local-weather(桌面天气 联网)

In 1 Kollektion von qwe14789cn
极简壁纸 (收集 系统占用率低/配色简洁/互动/不影响工作 的作品)
24 Inhalte
Beschreibung
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 Kommentare
一笑 22. Apr. 2021 um 8:48 
定位问题可以这样改
文件里面 js/index.js 修改$.getJSON(' https://ipinfo.io' , function(data) {这句,在ipinfo.io后面+/自己的实际ip,例如 ipinfo.io/8.8.8.8
山南道張玄氻 17. Juli 2019 um 4:28 
你的定位在哪里那
越步 - 蒸汽帮 11. Nov. 2017 um 1:14 
其他都很完美,很喜欢,就是定位不准,可惜了,这样我没法用啊
Meico 27. Juni 2017 um 6:19 
不能用
AMISH STALKER 6. Apr. 2017 um 16:34 
Is there a way to addd an image to it
qazwedcx 9. März 2017 um 6:11 
那个数字不是随机的,是827270838,网址里有
qwe14789cn  [Autor] 17. Jan. 2017 um 2:42 
Sorry, i will edit the describe and add english
ThatGuy 16. Jan. 2017 um 19:56 
i wish i knew chinese...
qwe14789cn  [Autor] 11. Jan. 2017 um 3:40 
<meta http-equiv="refresh" content="3600">
3600 单位是秒 按照你喜欢的刷新率修改就行
全息玫瑰碎片 10. Jan. 2017 um 20:41 
一个小时刷新一次好慢啊。