摘要: 之前查资料有很多虚浮球效果,拖动时后面的背景也跟着移动。后来使用@touchmove.stop.prevent修饰符解决问题。 也根据缓存实现了,悬浮球全局调用,位置是前一个页面移动的位置。 <template> <view class="holdon" @touchstart="drag_star 阅读全文
posted @ 2022-05-30 19:32 金陵彭于晏 阅读(621) 评论(0) 推荐(0) 编辑