layer.open({
content: '设置成功',
skin: 'msg',
time: 2, //2秒后自动关闭
end: function(){location.href='member_photo.asp';}
});