华为荣耀青春版9或大部分andriod手机 苹果没有问题 代码片段 <import src="/common/head.wxml" /> <import src="/common/foot.wxml" /> <scroll-view scroll-x="true" style="width:2000px;"> <view class="table"> <view class="tr bg-w"> <view class="th">过磅单号</view> <view class="th">毛重</view> <view class="th">皮重</view> <view class="th">净重</view> <view class="th">发货毛重</view> <view class="th">发货皮重</view> <view class="th">发货净重</view> <view class="th">净重差值</view> <view class="th">物料规格</view> <view class="th">存放地点</view> <view class="th">车号</view> <view class="th">一检时间</view> <view class="th">二检时间</view> <view class="th">一检磅号</view> <view class="th">二检磅号</view> <view class="th">承运单位</view> <view class="th">收料人</view> <view class="th">卸货方式</view> <view class="th">备注</view> </view> <block wx:for="{{newlist}}" wx:key="{{wl}}"> <view class="tr bg-g" wx:if="{{index % 2 == 0}}"> <view class="td">{{item.wl}}</view> <view class="td">{{item.mz}}</view> <view class="td">{{item.pz}}</view> <view class="td">{{item.jz}}</view> <view class="td">{{item.fhmz}}</view> <view class="td">{{item.fhpz}}</view> <view class="td">{{item.fhjz}}</view> <view class="td">{{item.jzcz}}</view> <view class="td">{{item.wlgg}}</view> <view class="td">{{item.cfdd}}</view> <view class="td">{{item.ch}}</view> <view class="td">{{item.rq1}}</view> <view class="td">{{item.rq2}}</view> <view class="td">{{item.yjbh}}</view> <view class="td">{{item.ejbh}}</view> <view class="td">{{item.cydw}}</view> <view class="td">{{item.slrmc}}</view> <view class="td">{{item.xhfs}}</view> <view class="td">{{item.bz}}</view> </view> <view class="tr" wx:else> <view class="td">{{item.wl}}</view> <view class="td">{{item.mz}}</view> <view class="td">{{item.pz}}</view> <view class="td">{{item.jz}}</view> <view class="td">{{item.fhmz}}</view> </view> </block> </view> </scroll-view>
使用scroll-view scorll-x=“true” 问题- 当前 Bug 的表现(可附上截图) 如果将小程序放置到桌面或一段时间不用后,页面就不能完全展现(只显示几列 其他列就显示不出来了,同事也无法滑动)。 - 预期表现 可以查看所有列 - 复现路径 - 提供一个最简复现 Demo
2018-12-01