Open 15380831711 opened 2 years ago
"@babel/runtime": "^7.7.7", "@tarojs/components": "3.3.15", "@tarojs/react": "3.3.15", "@tarojs/runtime": "3.3.15", "@tarojs/taro": "3.3.15", "classnames": "^2.3.1", "react": "^17.0.0", "react-dom": "^17.0.0", "taro-design": "^1.0.15"
参考这块,需要一些全局样式
全局样式加了,只是taro-view-core加到了head里面,提到body后有了一点变化:
然后你可能需要去调整你的根节点高度,设置为height:100vh
可以了,多谢。