小程序
小游戏
企业微信
微信支付
扫描小程序码分享
1、cover-view无法设置层级关系;
2、多个cover-view部分机型会把wxml结构在前面的显示在后面的cover-view上面,比较新的机型和版本显示正常,目前测试反馈iphone6s(IOS版本10.3.3 )有此问题;
另外希望能正常给原生组件和cover-view设置层级,比较好把控显示效果
4 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
我也是,布局基本上都乱了
我也出现这个问题,并且iOS设备上,层级在下的绑定事件无效
麻烦给个相关的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),我们定位下问题
<cover-view class="commodity_attr_box" hidden="{{!showWindows}}" bindtap='showHotelDetail'>
<cover-view class='one'>
<cover-image src='{{posselect.picture[1]}}'></cover-image>
</cover-view>
<cover-view class='two'>
<cover-view class='two-one'>
<cover-image src='{{posselect.logo}}' class='two-one-one'></cover-image>
<cover-view class='two-two'>
{{posselect.name}}
<cover-view class='two-three'>
<cover-view class='two-three-one'>{{posselect.price}}</cover-view>
<cover-view>元</cover-view>
<cover-view class='two-four'>
<cover-image src='/imgs/xianshi.png' class='two-four-one'></cover-image>
<cover-view class='two-four-two'>0.5km</cover-view>
<cover-view class='two-five'>12:30~13:30</cover-view>
这样多层嵌套cover-view的, iphone6貌似只支持嵌套一层cover-view或者cover-image, 再多的话就不显示了
代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)按照这个提供下哈,还有补充下微信版本号
wechatide://minicode/mzdbgvmz7Dzo
好的,已收到,另外能否补充下具体问题的表现呢?
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
我也是,布局基本上都乱了
我也出现这个问题,并且iOS设备上,层级在下的绑定事件无效
麻烦给个相关的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),我们定位下问题
<cover-view class="commodity_attr_box" hidden="{{!showWindows}}" bindtap='showHotelDetail'>
<cover-view class='one'>
<cover-image src='{{posselect.picture[1]}}'></cover-image>
</cover-view>
<cover-view class='two'>
<cover-view class='two-one'>
<cover-image src='{{posselect.logo}}' class='two-one-one'></cover-image>
</cover-view>
<cover-view class='two-two'>
{{posselect.name}}
</cover-view>
<cover-view class='two-three'>
<cover-view class='two-three-one'>{{posselect.price}}</cover-view>
<cover-view>元</cover-view>
</cover-view>
<cover-view class='two-four'>
<cover-image src='/imgs/xianshi.png' class='two-four-one'></cover-image>
<cover-view class='two-four-two'>0.5km</cover-view>
</cover-view>
<cover-view class='two-five'>12:30~13:30</cover-view>
</cover-view>
</cover-view>
这样多层嵌套cover-view的, iphone6貌似只支持嵌套一层cover-view或者cover-image, 再多的话就不显示了
<cover-view class="commodity_attr_box" hidden="{{!showWindows}}" bindtap='showHotelDetail'>
<cover-view class='one'>
<cover-image src='{{posselect.picture[1]}}'></cover-image>
</cover-view>
<cover-view class='two'>
<cover-view class='two-one'>
<cover-image src='{{posselect.logo}}' class='two-one-one'></cover-image>
</cover-view>
<cover-view class='two-two'>
{{posselect.name}}
</cover-view>
<cover-view class='two-three'>
<cover-view class='two-three-one'>{{posselect.price}}</cover-view>
<cover-view>元</cover-view>
</cover-view>
<cover-view class='two-four'>
<cover-image src='/imgs/xianshi.png' class='two-four-one'></cover-image>
<cover-view class='two-four-two'>0.5km</cover-view>
</cover-view>
<cover-view class='two-five'>12:30~13:30</cover-view>
</cover-view>
</cover-view>
这样多层嵌套cover-view的, iphone6貌似只支持嵌套一层cover-view或者cover-image, 再多的话就不显示了
代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)按照这个提供下哈,还有补充下微信版本号
wechatide://minicode/mzdbgvmz7Dzo
好的,已收到,另外能否补充下具体问题的表现呢?