Merge branch 'cssock' of https://github.com/1099438829/macUI into cssock

This commit is contained in:
muzi_ys 2019-01-08 01:00:29 +08:00
commit 5a9af64eec
1 changed files with 5 additions and 2 deletions

View File

@ -83,8 +83,11 @@ $(function () {
var theme_area=$("#theme_area");
theme_area.on('click','.theme_setting',function () {
var pic=$(this).data('pic');
Win10_parent.setBgUrl({main:pic});
if(!Win10_parent.isSmallScreen()){
Win10_parent.setBgUrl({main:pic});
}else{
Win10_parent.setBgUrl({mobile:pic});
}
//此处你也许想用ajax把修改信息保存到服务器。。。
});