We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
百度小程序
https://github.com/Discreater/taro-flex-test 小程序基础库: 3.210.115 使用框架: React
taro init
index
<View className='index'> <Text>Hello world!</Text> <View style={{display: 'flex'}}> <View style={{backgroundColor: "green", flex: 1}}>🤷♀️</View> <View style={{backgroundColor: "purple", flex: 1}}>🤷♂️</View> <View style={{backgroundColor: "yellow", flex: 1}}>👀</View> </View> </View>
编译到微信小程序中的效果正常
百度小程序原生开发正常
<view style="display:flex;"> <view style="flex:1;background-color:green;">🤷♀️</view> <view style="flex:1;background-color:purple;">🤷♂️</view> <view style="flex:1;background-color:yellow;">👀</view> </view>
taro编译到百度小程序中的样式出现问题
� Taro v3.0.15 Taro CLI 3.0.15 environment info: System: OS: Windows 10 Binaries: Node: 14.11.0 - D:\ProgramGreen\nvm-noinstall\v14.11.0\node.EXE Yarn: 1.22.10 - D:\ProgramGreen\nvm-noinstall\v14.11.0\yarn.CMD npm: 6.14.8 - D:\ProgramGreen\nvm-noinstall\v14.11.0\npm.CMD
The text was updated successfully, but these errors were encountered:
Duplicate of #6015
Sorry, something went wrong.
3.1.1 最近升级了 百度也是不支持, 然后.... 项目上百处flex吧...
No branches or pull requests
相关平台
百度小程序
复现仓库
https://github.com/Discreater/taro-flex-test
小程序基础库: 3.210.115
使用框架: React
复现步骤
taro init
创建项目index
页面改为如下代码,完整代码见上面的复现仓库期望结果
编译到微信小程序中的效果正常
百度小程序原生开发正常
实际结果
taro编译到百度小程序中的样式出现问题
环境信息
The text was updated successfully, but these errors were encountered: