很简单在;Rectangle{//Rectangle是页面的开始,//写上下面这个就可屏蔽整个页面的点击事件 MouseArea{anchors.fill:parent } //注意一定要写在Rectangle下}