mirror of https://github.com/1099438829/macUI.git
修正mobile时候无法切换壁纸
This commit is contained in:
parent
3322c0a081
commit
d8a34fdc74
|
|
@ -83,8 +83,11 @@ $(function () {
|
||||||
var theme_area=$("#theme_area");
|
var theme_area=$("#theme_area");
|
||||||
theme_area.on('click','.theme_setting',function () {
|
theme_area.on('click','.theme_setting',function () {
|
||||||
var pic=$(this).data('pic');
|
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把修改信息保存到服务器。。。
|
//此处你也许想用ajax把修改信息保存到服务器。。。
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue