|
|
@@ -253,13 +253,13 @@ export default {
|
|
|
scrollContainer.style.display = 'block';
|
|
|
|
|
|
// 添加移动端滚动优化
|
|
|
- requestAnimationFrame(() => {
|
|
|
- scrollContainer.style.overflow = 'auto';
|
|
|
- scrollContainer.style.overflowScrolling = 'touch';
|
|
|
- scrollContainer.style.webkitOverflowScrolling = 'touch';
|
|
|
- scrollContainer.style.overscrollBehavior = 'contain';
|
|
|
- scrollContainer.style.touchAction = 'pan-y';
|
|
|
- });
|
|
|
+ // requestAnimationFrame(() => {
|
|
|
+ // scrollContainer.style.overflow = 'auto';
|
|
|
+ // scrollContainer.style.overflowScrolling = 'touch';
|
|
|
+ // scrollContainer.style.webkitOverflowScrolling = 'touch';
|
|
|
+ // scrollContainer.style.overscrollBehavior = 'contain';
|
|
|
+ // scrollContainer.style.touchAction = 'pan-y';
|
|
|
+ // });
|
|
|
};
|
|
|
img.src = imageUrl;
|
|
|
this.zIndex = 9;
|