Commit cf3d2d87 by yancanhua

fix: 页面滚动问题处理

1 parent baab6a02
<template> <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> <customNav :status-bar-height="statusBarHeight"></customNav>
<view class="page" :style="{ paddingTop: statusBarHeight + 44 + 'px' }" > <view class="car-detail-container" v-if="auctionVehicle" :style="{ paddingTop: statusBarHeight + 43 + 'px' }" >
<view class="car-detail-container" v-if="auctionVehicle"> <view v-if="currentAnchorId && currentAnchorId != 'section0'" class="header-anchor" :style="{ top: statusBarHeight + 41 + 'px' }" >
<view v-if="currentAnchorId && currentAnchorId != 'section0'" class="header-anchor" :style="{ top: statusBarHeight + 44 + 'px' }" >
<view class="header-anchor-list" :class="{ headerActive: currentAnchorId === 'section1' }" @click="scrollToSection('section1')"> <view class="header-anchor-list" :class="{ headerActive: currentAnchorId === 'section1' }" @click="scrollToSection('section1')">
车辆档案 车辆档案
<view v-if="currentAnchorId === 'section1'" class="header-anchor-absolute"></view> <view v-if="currentAnchorId === 'section1'" class="header-anchor-absolute"></view>
...@@ -329,7 +328,7 @@ ...@@ -329,7 +328,7 @@
<bid-success-dialog :order-id="orderId" ref="bidSuccessDialogRef" :auctionVehicle="auctionVehicle" @close="closeBidSuccessDialog"></bid-success-dialog> <bid-success-dialog :order-id="orderId" ref="bidSuccessDialogRef" :auctionVehicle="auctionVehicle" @close="closeBidSuccessDialog"></bid-success-dialog>
</van-dialog> </van-dialog>
</view> </view>
</view>
</template> </template>
<script lang="ts"> <script lang="ts">
import {Component, Hook, Ref, Vue} from "vue-facing-decorator"; import {Component, Hook, Ref, Vue} from "vue-facing-decorator";
...@@ -447,7 +446,7 @@ export default class AuctionVehiclePage extends Vue { ...@@ -447,7 +446,7 @@ export default class AuctionVehiclePage extends Vue {
darkBidPriceRange: DarkBidPriceRange; darkBidPriceRange: DarkBidPriceRange;
change(e: any) { change(e: any) {
this.show = e.show // this.show = e.show
} }
get maskBidPrice(): string { get maskBidPrice(): string {
......
...@@ -72,8 +72,9 @@ ...@@ -72,8 +72,9 @@
{ {
"path": "AuctionVehiclePage", "path": "AuctionVehiclePage",
"style": { "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!