cover-view的touchstart和touchmove事件

发布于 7 年前作者 guiyingyu6777 次浏览最后编辑 7 年前来自 ask

在手机上测试,cover-view不相应touchstart和touchmove事件,手机型号红米4

6 回复
mengping
mengping1 楼6 年前

相同问题,求解决。

jingxiang
jingxiang2 楼6 年前

请问解决了么,求解

yuangang
yuangang3 楼6 年前

我用canvas 上面放一个 cover-view  然后 canvas 的 触摸事件就完蛋了,

现在我的办法是  在canvas上 直接绘制。。。

yan75
yan754 楼6 年前

遇到相同的问题,求解决一波

xiuying19
xiuying195 楼6 年前

需要在手机上测试,模拟器上正常的

mingcao
mingcao6 楼5 年前

<cover-view class=“chat”>

    <cover-view class=“chat-items” style=“top:{{chatViewTop}}px” bindtouchstart=“onChatTouchStart” bindtouchmove=“onChatTouchMove”>

        <cover-view class=“chat-item” wx:for=“{{chats}}” wx:key=“index”>

            <cover-view class=“chat-name-text”>{{util.formatNickName(item.name)}}</cover-view>

            <cover-view class=“chat-content-text”>{{item.content}}</cover-view>

        </cover-view>

    </cover-view>

</cover-view>