mirror of https://github.com/1099438829/macUI.git
修正天气显示
This commit is contained in:
parent
0702145f9d
commit
23d1795a72
|
|
@ -196,10 +196,10 @@ body {
|
|||
#win10-menu {
|
||||
position: fixed;
|
||||
top: 24px;
|
||||
left: 0.5%;
|
||||
left: 0.5rem;
|
||||
background-color: rgba(255,255,255,0.55);
|
||||
height: auto;
|
||||
width: 10%;
|
||||
width: 12rem;
|
||||
max-width: 880px;
|
||||
overflow: auto;
|
||||
z-index: 1000;
|
||||
|
|
@ -857,7 +857,7 @@ body {
|
|||
height: 60px;
|
||||
border-radius: 5px 5px 0 0 ;
|
||||
background-color: rgba(255,255,255,0.45) ;/* IE9、标准浏览器、IE6和部分IE7内核的浏览器(如QQ浏览器)会读懂 */
|
||||
/*padding:0 20px;*/
|
||||
padding:0 5px;
|
||||
}
|
||||
|
||||
.dock a.dock-item {
|
||||
|
|
|
|||
|
|
@ -782,7 +782,7 @@ window.Win10 = {
|
|||
'<span class="notice-header-title">天气</span>'+
|
||||
'</div>' +
|
||||
'<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>';
|
||||
}
|
||||
$("#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', {
|
||||
tips: [1, 'rgba(200, 200, 200, 0.7)'],
|
||||
tips: [1, 'rgba(0, 0, 0, 0.7)'],
|
||||
time: 3000
|
||||
});
|
||||
if($("#win10_command_center").hasClass('hidden_right')){
|
||||
|
|
|
|||
Loading…
Reference in New Issue