[Scroll penetration] Solve the problem of scroll penetration of the uview pop-up layer

Add events to the component's parent element

@touchmove.stop.prevent=“” 

Here take the u- popup component as an example, find the u-popup root element, and add events to the view 

<template>
    <view class="u-popup" @touchmove.stop.prevent="">

 

Guess you like

Origin blog.csdn.net/qq_34093387/article/details/130100589