block scroll when touch chart

This commit is contained in:
Timi
2026-04-16 11:08:21 +08:00
parent 6f067477f0
commit 5e192a90e1
4 changed files with 19 additions and 1 deletions

View File

@@ -22,8 +22,8 @@
<div :class="{ 'is-fixed-height': isContentFixedHeight }" class="router-view"> <div :class="{ 'is-fixed-height': isContentFixedHeight }" class="router-view">
<page-transition /> <page-transition />
</div> </div>
<!-- iOS 手势返回场景下临时关闭 tabbar 过渡避免系统回退与页面动画叠加 -->
<t-tab-bar <t-tab-bar
<!-- iOS 手势返回场景下临时关闭 tabbar 过渡避免系统回退与页面动画叠加 -->
:class="{ 'is-hidden': !tabBarStore.isShowing, 'skip-transition': tabBarStore.shouldSkipTransition }" :class="{ 'is-hidden': !tabBarStore.isShowing, 'skip-transition': tabBarStore.shouldSkipTransition }"
class="tab-bar glass-white" class="tab-bar glass-white"
v-model="tabVal" v-model="tabVal"

View File

@@ -731,6 +731,12 @@ function clearAutoRefreshTimer(): void {
width: 100%; width: 100%;
height: 16rem; height: 16rem;
background: #FFF; background: #FFF;
touch-action: none;
:deep(svg),
:deep(canvas) {
touch-action: none;
}
} }
.slider { .slider {

View File

@@ -772,6 +772,12 @@ onMounted(restartAutoRefresh);
width: 100%; width: 100%;
height: 16rem; height: 16rem;
background: #FFF; background: #FFF;
touch-action: none;
:deep(svg),
:deep(canvas) {
touch-action: none;
}
} }
.slider { .slider {

View File

@@ -615,6 +615,12 @@ function clearAutoRefreshTimer(): void {
width: 100%; width: 100%;
height: 16rem; height: 16rem;
background: #FFF; background: #FFF;
touch-action: none;
:deep(svg),
:deep(canvas) {
touch-action: none;
}
} }
.slider { .slider {