收藏
回答

cover-view dispaly:none时,鼠标在屏幕上滑动会出现黑屏

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug cover-view 客户端 6.7.4 2.4.1


cover-view dispaly:none时,鼠标在屏幕上滑动会出现黑屏 ,只有小米mix2出现黑屏,其他ios 和安卓未测出问题




换个样式控制fc的显隐就没有问题


<view class='bt'> <view class='bt_time picker' catchtap='showtime'> <picker mode="date" value="{{date}}" start="{{statDate}}" end="{{getnowdate}}" bindchange="showdate"> {{timer||"2018-11-28"}} </picker> </view> <view class="bt01" bindtap="selectbt" ><text space="emsp">筛 选</text></view> </view> <view class='msgtxt'>{{pdsmsg}}</view> <view class="container"> <ec-canvas id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas> <!-- <ec-canvas id="mychart-dom-line" canvas-id="mychart-line" ec="{{ ec }}"></ec-canvas> --> </view> <cover-view class="selectFc {{fc?'goshow' : 'hidden'}}"> <cover-view class="bt_grop"> <cover-view class='bt_cancel' catchtap="bt_can">取消</cover-view> <cover-view class='bt_ok' catchtap='bt_ok'>确定</cover-view> </cover-view> <cover-view class='tab_grop'> <cover-view class='tab_head'> <cover-view class='tab {{click?"on":""}}' catchtap='toshow01'>{{tab01}}</cover-view> <cover-view class='tab {{click02?"on":""}}' catchtap='toshow02'>{{tab02}}</cover-view> <cover-view class='tab {{click03?"on":""}}' catchtap='toshow03'>{{tab03}}</cover-view> </cover-view> <cover-view class='tab_text'> <cover-view class='tab_item {{showtab1?"goshow":"hidden"}} {{index==chageId01?"showtap":"showtxt"}}' wx:for="{{listData}}" wx:key='this' catchtap='show01' data-index='{{index}}'>{{item.text}}</cover-view> <cover-view class='tab_item {{showtab2?"goshow":"hidden"}} {{index==chageId02?"showtap":"showtxt"}}' wx:for="{{listData2}}" wx:key='this' catchtap='show02' data-index='{{index}}'>{{item.text}}</cover-view> <cover-view class='tab_item {{showtab3?"goshow":"hidden"}} {{index==chageId03?"showtap":"showtxt"}}' wx:for="{{listData3}}" wx:key='this' catchtap='show03' data-index='{{index}}'>{{item}}</cover-view> </cover-view> </cover-view> </cover-view>
最后一次编辑于  2018-12-07
回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容