1.想要通过变换stackView的y值来让stackView显现/隐藏,同时让其中的button能点击响应,得用topCons

2.导航栏的tinBar要设置为非透明状态