|
|
@@ -83,7 +83,7 @@
|
|
|
|
|
|
|
|
|
<!-- 类型选择 -->
|
|
|
- <view class="type-list-box display-flex" :style="[{'top': (BarH + 38) + 'px','background':bgckgroundType}]">
|
|
|
+ <view class="type-list-box display-flex" :style="[{'background':bgckgroundType}]">
|
|
|
<view class="type-item-box view-nowrap" :class="type==item.id?'s-type':'n-type'" v-for="(item,i) in typeList" :key="i">{{item.name}}</view>
|
|
|
</view>
|
|
|
<!-- 商品列表 -->
|
|
|
@@ -181,6 +181,9 @@
|
|
|
let custom = 0;
|
|
|
custom = wx.getMenuButtonBoundingClientRect()
|
|
|
let customBarH = custom.height;
|
|
|
+
|
|
|
+ console.log(statusBarH);
|
|
|
+ console.log(customBarH);
|
|
|
this.BarH = statusBarH + customBarH;
|
|
|
}
|
|
|
})
|
|
|
@@ -322,6 +325,8 @@
|
|
|
.type-list-box{
|
|
|
position: sticky;
|
|
|
left: 0;
|
|
|
+ // top: calc(var(BarH)px + 93rpx);
|
|
|
+ top: calc(86px + 93rpx);
|
|
|
padding: 0 24rpx 24rpx 24rpx;
|
|
|
overflow-x: scroll;
|
|
|
|