css子元素height:100%无效问题。 1. 高度自适应前提是,子元素所有的父级元素全部height:100%. 2. html:{ height:100% } body:{ height:100% }