Commit cf3d2d87 by yancanhua

fix: 页面滚动问题处理

1 parent baab6a02
<template>
<page-meta :page-style="'overflow:'+(show?'hidden':'visible')"></page-meta>
<!-- <page-meta :page-style="'overflow:'+(show?'hidden':'visible')"></page-meta> -->
<customNav :status-bar-height="statusBarHeight"></customNav>
<view class="page" :style="{ paddingTop: statusBarHeight + 44 + 'px' }" >
<view class="car-detail-container" v-if="auctionVehicle">
<view v-if="currentAnchorId && currentAnchorId != 'section0'" class="header-anchor" :style="{ top: statusBarHeight + 44 + 'px' }" >
<view class="car-detail-container" v-if="auctionVehicle" :style="{ paddingTop: statusBarHeight + 43 + 'px' }" >
<view v-if="currentAnchorId && currentAnchorId != 'section0'" class="header-anchor" :style="{ top: statusBarHeight + 41 + 'px' }" >
<view class="header-anchor-list" :class="{ headerActive: currentAnchorId === 'section1' }" @click="scrollToSection('section1')">
车辆档案
<view v-if="currentAnchorId === 'section1'" class="header-anchor-absolute"></view>
......@@ -329,7 +328,7 @@
<bid-success-dialog :order-id="orderId" ref="bidSuccessDialogRef" :auctionVehicle="auctionVehicle" @close="closeBidSuccessDialog"></bid-success-dialog>
</van-dialog>
</view>
</view>
</template>
<script lang="ts">
import {Component, Hook, Ref, Vue} from "vue-facing-decorator";
......@@ -447,7 +446,7 @@ export default class AuctionVehiclePage extends Vue {
darkBidPriceRange: DarkBidPriceRange;
change(e: any) {
this.show = e.show
// this.show = e.show
}
get maskBidPrice(): string {
......
......@@ -72,8 +72,9 @@
{
"path": "AuctionVehiclePage",
"style": {
"disableScroll": true,
"navigationStyle": "custom"
"navigationStyle": "custom",
"disableScroll": false,
"enablePullDownRefresh": false
}
},
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!