Wallpaper Engine
Оцінок: 143
show-local-weather(桌面天气 联网)
   
Нагородити
До улюбленого
В улюблених
Прибрати
Type: Web
Age Rating: Everyone
Genre: Technology
Resolution: Dynamic resolution
Category: Wallpaper
Розмір файлу
Додано
Оновлено
80.234 KB
27 груд. 2016 о 5:50
30 груд. 2016 о 2:59

Підпишіться, аби завантажити
show-local-weather(桌面天气 联网)

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