-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
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
Taro swiper 小程序与H5 展示不同 #2375
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如果是提交 bug,请搜索文档和 issue,确认以下事项:
该问题没有在其他 issue 和文档讨论到,不属于重复内容
分割线以下的模板除了「 补充信息」每一样都必填
如果不满足以上两点要求的 bug 报告,issue 会被直接关掉。
请多多理解,您现在的不便将会使 Taro 开发者更高效地定位你的问题,修复你的问题。像你一样的 Taro 的使用者也可以通过搜索找到你提供的 bug,对各方都有很大好处。
🙏🙏🙏
阅读完后请在提交的issue中删除以上内容,包括分割线。
问题描述
[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]
复现步骤
[复现问题的步骤]
[或者可以直接贴源代码,能贴文字就不要截图]
<Swiper className='Swiper' indicatorColor='#999' indicatorActiveColor='#333' circular indicatorDots> <SwiperItem className="swiperItem"> <View className='demoList disFlex Flex-middle Flex-center'> <View className="item"></View> </View> </SwiperItem> <SwiperItem className="swiperItem"> <View className='demoList disFlex Flex-middle Flex-center'> <View className="item"></View> </View> </SwiperItem> <SwiperItem className="swiperItem"> <View className='demoList disFlex Flex-middle Flex-center'> <View className="item"></View> </View> </SwiperItem> </Swiper>
css
.Swiper{ height:50vw; .swiperItem{ width:70vw!important;margin-left: 10vw!important; .demoList{ height:100%; .item{background-color: #ccc;border-radius: 2.5vw;width:80%;height:80%;margin:auto;} } } }
期望行为
[这里请用简洁清晰的语言描述你期望的行为]
报错信息
[这里请贴上你的完整报错截图或文字]
小程序:
H5:
系统信息
补充信息
[可选]
[根据你的调查研究,出现这个问题的原因可能在哪里?]
The text was updated successfully, but these errors were encountered: