问题模块 | 框架类型 | 问题类型 | 操作系统 | 操作系统版本 | 手机型号 | 微信版本 |
---|---|---|---|---|---|---|
客户端 | 小程序 | Bug | iOS | 9/11/12 | 5s/6s/7/8/x | 6.7.2 |
- 当前 Bug 的表现(可附上截图)
scroll-view 部分无法垂直滑动
scroll-y="true"
已经设置为true。高度也有设置
- 预期表现
- 复现路径
- 提供一个最简复现 Demo
<scroll-view class="rightsv flex-grow-1 flex-col" scroll-y="true" style="height:{{storeset.top_style=='1'?'56vh':'46vh'}};">
<block wx:if="{{!cpjzz}}">
<view class="youhui">
<view class="yh">{{dishes[catalogSelect].type_name}}
<text>({{dishes[catalogSelect].good.length}})</text>
</view>
<view class="coupon" wx:if="{{Coupons.length>0}}">
<scroll-view scrollX class="scroll-view" style="width: 100%">
<view class="coupon_1 rel" style="background: {{item.state=='1'?'#FFF1F0':''}};color:{{item.state=='1'?'#F9564F':''}}" wx:for="{{Coupons}}" wx:key="*this">
<view class="ab ud">
<text>¥</text>
<text>{{item.reduce}}</text>
<text>满{{item.full}}可用</text>
<text>有效期至:{{item.end_time}}</text>
</view>
</view>
</scroll-view>
</view>
</view>
</block>
</scroll-view>
网友回复
你好,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
还需要内容高于scroll-view设置的高度
提供下代码片段