Rem布局

让页面随浏览器的窗口大小缩放而缩放

1.全局样式使用 rem 布局。 2.在根文件使用以下代码: componentDidMount() { this.rem() } rem = () => { //改变根节点的 (() =>{ let that = this functioncomputed() { let H...