This commit is contained in:
lnn19986213 2024-03-18 11:35:15 +08:00
parent 8731bbc7b2
commit 02d38012d4
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,7 @@
</view> </view>
</view> </view>
<view class="goodPart"> <view class="goodPart" :style="{'height': 'calc(100vh - '+topPartHeight+'px)'}">
<scroll-view class="gpLeft" scroll-y="true"> <scroll-view class="gpLeft" scroll-y="true">
<view :class="fil == '1'?'gplItem_C':'gplItem'" @click="Clickfilter" style="display: flex;"> <view :class="fil == '1'?'gplItem_C':'gplItem'" @click="Clickfilter" style="display: flex;">
<image src="../../static/shop/hot.png" <image src="../../static/shop/hot.png"
@ -99,6 +99,7 @@
load: true, load: true,
statusHeight: 0, statusHeight: 0,
titleHeight: 50, titleHeight: 50,
topPartHeight: 0,
workList: [], workList: [],
artValue: '', artValue: '',
type: '', type: '',
@ -125,6 +126,7 @@
const menuButtonInfo = uni.getMenuButtonBoundingClientRect() // const menuButtonInfo = uni.getMenuButtonBoundingClientRect() //
this.titleHeight = menuButtonInfo.height + (menuButtonInfo.top - systemMsg.statusBarHeight) * 2 this.titleHeight = menuButtonInfo.height + (menuButtonInfo.top - systemMsg.statusBarHeight) * 2
// #endif // #endif
this.topPartHeight = this.statusHeight + this.titleHeight + 124
}, },
// //
onPullDownRefresh() { onPullDownRefresh() {