在程序设计过程,我们需要把某一元素或是或一块进行显示与隐藏。如你正使用angularjs的话,就可以使用ng-show或者ng-hide来进行控制。 var showhideApp = angular.module('showhideApp', []); Source Code 相关文章: