一些修噶

This commit is contained in:
1099438829@qq.com 2019-03-25 15:01:22 +08:00
parent 652f94dbe3
commit 4e06e075dc
4 changed files with 23 additions and 6 deletions

View File

@ -9,7 +9,7 @@
.com-user .box { z-index: 1001; display: flex; flex-direction: column; position: relative; justify-content: center; align-items: center; }
.com-user .third img { width: 32px; height: 32px; cursor: pointer; margin: 10px; }
.com-user input { width: 150px; background: rgba(255, 255, 255, 0.3) none repeat scroll 0% 0%; border: medium none rgba(0, 0, 0, 0.3); border-radius: 5px; height: 25px; margin: 10px 0px; outline: medium none; color: rgb(255, 255, 255); text-align: center; }
.com-user .cancel { position: absolute; z-index: 1001; bottom: 150px; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%; border: medium none; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; outline: medium none; cursor: pointer; }
.com-user .cancel { position: absolute; z-index: 1001; bottom: 22%; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%; border: medium none; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; outline: medium none; cursor: pointer; }
.com-user .cancel img { opacity: 0.8; }
.com-user .cancel span { color: rgb(255, 255, 255); font-size: 12px; margin-top: 10px; }
body, html { margin: 0px; padding: 0px; font-family: sans-serif; height: 100%; width: 100%; overflow: hidden; }

View File

@ -59,7 +59,7 @@
offset: 'rb',
content: './broadcast.html'
})
},2000)
},2000);
});
</script>
</head>

View File

@ -48,7 +48,7 @@
offset: 'rb',
content: './broadcast.html'
})
},2000)
},2000);
});
</script>
</head>

View File

@ -119,6 +119,26 @@ window.Win10 = {
}
}
}
//开始渲染壁纸模糊
if(Win10._wallpaperBlur){
this.loadScript('js/background-blur.min.js',function(){
var $avatarHolderEl = $('#win10');
$avatarHolderEl.backgroundBlur({
imageURL : Win10._bgs.main,
blurAmount : 20,
imageClass : 'avatar-blur'
});
});
$.getScript("js/background-blur.min.js",function(){ //加载test.js,成功后,并执行回调函数
var $avatarHolderEl = $('#win10');
$avatarHolderEl.backgroundBlur({
imageURL : Win10._bgs.main,
blurAmount : 20,
imageClass : 'avatar-blur'
});
});
}
},
},
_startAnimate:function () {
@ -428,8 +448,6 @@ window.Win10 = {
else {hours='深夜'+(hour-12)}
$("#win10_btn_time").html(week+hours+':'+mins);
},1000);
//离开前警告
document.body.onbeforeunload = function(event){
var rel = Win10.lang( '系统可能不会保存您所做的更改','The system may not save the changes you have made.');
@ -789,7 +807,6 @@ window.Win10 = {
}
var area,offset;
if (this.isSmallScreen() || areaAndOffset==='max') {
console.log(111);
area = ['100%', (document.body.clientHeight - 30) + 'px'];
offset = ['30px', '0'];
}else if(typeof areaAndOffset ==='object'){