Wallpaper Engine

Wallpaper Engine

143 ratings
show-local-weather(桌面天气 联网)
   
Award
Favorite
Favorited
Unfavorite
Type: Web
Age Rating: Everyone
Genre: Technology
Resolution: Dynamic resolution
Category: Wallpaper
File Size
Posted
Updated
80.234 KB
27 Dec, 2016 @ 5:50am
30 Dec, 2016 @ 2:59am
7 Change Notes ( view )

Subscribe to download
show-local-weather(桌面天气 联网)

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