block scroll when touch chart
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user