ShaoGongBra / taro-design

基于Taro的跨端页面设计器,支持小程序、RN、h5。做到了运行时和编辑时分离。可以自定义组件用于编辑和使用。
143 stars 26 forks source link

Taro3.3.15引入设计组件界面错乱 #1

Open 15380831711 opened 2 years ago

15380831711 commented 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"

image

ShaoGongBra commented 2 years ago

参考这块,需要一些全局样式 微信截图_20211129144548

15380831711 commented 2 years ago

全局样式加了,只是taro-view-core加到了head里面,提到body后有了一点变化: image

ShaoGongBra commented 2 years ago

然后你可能需要去调整你的根节点高度,设置为height:100vh

15380831711 commented 2 years ago

可以了,多谢。