修正天气显示

This commit is contained in:
muzi_ys 2020-02-04 12:54:47 +08:00
parent 0702145f9d
commit 23d1795a72
2 changed files with 5 additions and 5 deletions

View File

@ -196,10 +196,10 @@ body {
#win10-menu { #win10-menu {
position: fixed; position: fixed;
top: 24px; top: 24px;
left: 0.5%; left: 0.5rem;
background-color: rgba(255,255,255,0.55); background-color: rgba(255,255,255,0.55);
height: auto; height: auto;
width: 10%; width: 12rem;
max-width: 880px; max-width: 880px;
overflow: auto; overflow: auto;
z-index: 1000; z-index: 1000;
@ -857,7 +857,7 @@ body {
height: 60px; height: 60px;
border-radius: 5px 5px 0 0 ; border-radius: 5px 5px 0 0 ;
background-color: rgba(255,255,255,0.45) ;/* IE9、标准浏览器、IE6和部分IE7内核的浏览器(如QQ浏览器)会读懂 */ background-color: rgba(255,255,255,0.45) ;/* IE9、标准浏览器、IE6和部分IE7内核的浏览器(如QQ浏览器)会读懂 */
/*padding:0 20px;*/ padding:0 5px;
} }
.dock a.dock-item { .dock a.dock-item {

View File

@ -782,7 +782,7 @@ window.Win10 = {
'<span class="notice-header-title">天气</span>'+ '<span class="notice-header-title">天气</span>'+
'</div>' + '</div>' +
'<div class="notice-body">' + '<div class="notice-body">' +
'<iframe src="http://www.weather.seniverse.com/?token=96d8f" frameborder="0" scrolling="no" width="97%" height="150" style="padding:5px;" allowTransparency="true"></iframe>'+ '<iframe scrolling="no" src="https://tianqiapi.com/api.php?style=tw&skin=pitaya" frameborder="0" width="280" height="500" allowtransparency="true"></iframe>'+
'</div></div>'; '</div></div>';
} }
$("#win10_command_center .command-body.today").html(today).addClass('active'); $("#win10_command_center .command-body.today").html(today).addClass('active');
@ -901,7 +901,7 @@ window.Win10 = {
} }
}); });
layer.tips(Win10.lang('新消息:','New message:')+title, '#win10_btn_command', { layer.tips(Win10.lang('新消息:','New message:')+title, '#win10_btn_command', {
tips: [1, 'rgba(200, 200, 200, 0.7)'], tips: [1, 'rgba(0, 0, 0, 0.7)'],
time: 3000 time: 3000
}); });
if($("#win10_command_center").hasClass('hidden_right')){ if($("#win10_command_center").hasClass('hidden_right')){