update:解决滑动页面头部有空白问题

master
guoshuang 4 years ago
parent 753cb18396
commit a28bf197f6

@ -2,7 +2,7 @@
<view class="page-raw-receipt">
<view class="header" :style="{ backgroundColor: `rgba(23, 83, 234, ${scrollTop / 100})` }">
<view class="left">
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack()" />
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack({})" />
</view>
<view class="title">{{ $t('message.Summary_Query') }}</view>
<view class="right"></view>
@ -135,7 +135,7 @@
<u-button type="success" @click="onOk">{{ $t('message.dn_Confirm') }}</u-button>
</u-col>
<u-col :span="3">
<u-button type="error" @click="uni.navigateBack()">{{ $t('message.po_Return') }}</u-button>
<u-button type="error" @click="uni.navigateBack({})">{{ $t('message.po_Return') }}</u-button>
</u-col>
</u-row>
</view>
@ -295,12 +295,13 @@ export default class Aggregating extends BasePage {
.header {
position: fixed;
top: 36rpx;
top: 0rpx;
padding-top: 12rpx;
left: 0;
right: 0;
z-index: 99;
display: flex;
height: 88rpx;
height: 100rpx;
line-height: 88rpx;
color: #fff;
font-size: 34rpx;

@ -2,7 +2,7 @@
<view class="page-raw-receipt">
<view class="header" :style="{ backgroundColor: `rgba(23, 83, 234, ${scrollTop / 100})` }">
<view class="left">
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack()" />
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack({})" />
</view>
<view class="title">{{ $t('message.Pi_PickingQuery') }}</view>
<view class="right"></view>
@ -43,7 +43,7 @@
<u-button type="success" @click="onOk">{{ $t('message.dn_Confirm') }}</u-button>
</u-col>
<u-col :span="3">
<u-button type="error" @click="uni.navigateBack()">{{ $t('message.po_Return') }}</u-button>
<u-button type="error" @click="uni.navigateBack({})">{{ $t('message.po_Return') }}</u-button>
</u-col>
</u-row>
</view>
@ -218,12 +218,13 @@ export default class pickingDom extends BasePage {
.header {
position: fixed;
top: 36rpx;
top: 0rpx;
padding-top: 12rpx;
left: 0;
right: 0;
z-index: 99;
display: flex;
height: 88rpx;
height: 100rpx;
line-height: 88rpx;
color: #fff;
font-size: 34rpx;

Loading…
Cancel
Save