Wallpaper Engine

Wallpaper Engine

145 arvostelua
show-local-weather(桌面天气 联网)
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Type: Web
Age Rating: Everyone
Genre: Technology
Resolution: Dynamic resolution
Category: Wallpaper
Tiedostokoko
Julkaistu
Päivitetty
80.234 KB
27.12.2016 klo 5.50
30.12.2016 klo 2.59
7 muutosilmoitusta ( näytä )

Tilaa ladataksesi
show-local-weather(桌面天气 联网)

1 kokoelmassa, tekijä qwe14789cn
极简壁纸 (收集 系统占用率低/配色简洁/互动/不影响工作 的作品)
24 luomusta
Kuvaus
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 kommenttia
一笑 22.4.2021 klo 8.48 
定位问题可以这样改
文件里面 js/index.js 修改$.getJSON(' https://ipinfo.io' , function(data) {这句,在ipinfo.io后面+/自己的实际ip,例如 ipinfo.io/8.8.8.8
山南道張玄氻 17.7.2019 klo 4.28 
你的定位在哪里那
越步 - 蒸汽帮 11.11.2017 klo 1.14 
其他都很完美,很喜欢,就是定位不准,可惜了,这样我没法用啊
Meico 27.6.2017 klo 6.19 
不能用
AMISH STALKER 6.4.2017 klo 16.34 
Is there a way to addd an image to it
qazwedcx 9.3.2017 klo 6.11 
那个数字不是随机的,是827270838,网址里有
qwe14789cn  [tekijä] 17.1.2017 klo 2.42 
Sorry, i will edit the describe and add english
ThatGuy 16.1.2017 klo 19.56 
i wish i knew chinese...
qwe14789cn  [tekijä] 11.1.2017 klo 3.40 
<meta http-equiv="refresh" content="3600">
3600 单位是秒 按照你喜欢的刷新率修改就行
全息玫瑰碎片 10.1.2017 klo 20.41 
一个小时刷新一次好慢啊。