<template>
<view class="content">
<movable-area scale-area>
<movable-view :inertia="true" :scale="true" :out-of-bounds="true" scroll-y
scale-min="0.9" scale-max="2" direction="vertical" @change="onMove" @scale="onScale">
<view class="item" v-for="(item,index) in 100">{{index}}</view>
</movable-view>
</movable-area>
</view>
</template>
<script>
export default {
data() {
return {
title: 'Hello'
}
},
onLoad() {
},
methods: {
onMove(e){
},
onScale(){
}
}
}
</script>
<style>
movable-area {
width: 100%;
height: 1920rpx;
pointer-events: none;
}
movable-view {
width: 100%;
height: 1920rpx;
pointer-events: auto;
}
.item{
width: 750rpx;
height: 66rpx;
line-height: 66rpx;
text-align: center;
}
</style>
2 个回复
叫我红领巾 (作者) - web开发
麻烦回复一下呢 谢谢
YUANRJ
验证下原生小程序是否存在此问题,如有问题请向微信开发者社区反馈。
叫我红领巾 (作者)
你们这边没法判断问题原因吗?
2023-12-27 14:38
YUANRJ
回复 叫我红领巾: 这种一般是微信小程序的问题
2023-12-27 16:35