|
|
@@ -8,7 +8,7 @@
|
|
|
v-if="bannerList.length"
|
|
|
v-show="!isSticky"
|
|
|
:style="{
|
|
|
- Top: `${navHeight}rpx`
|
|
|
+ Top: `${logoTop}rpx`
|
|
|
}">
|
|
|
<view class="index-logo">
|
|
|
<image src="../static/common/logo_bt.png" />
|
|
|
@@ -24,14 +24,11 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="activity-flow"
|
|
|
- v-show="!isSticky"
|
|
|
- :style="{
|
|
|
- paddingTop: '20rpx'
|
|
|
- }">
|
|
|
+ v-show="!isSticky">
|
|
|
<activity-flow></activity-flow>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="index-body u-m-t-36">
|
|
|
+ <view class="index-body u-m-t-56">
|
|
|
<u-sticky :enable="enable"
|
|
|
offset-top="0"
|
|
|
h5-nav-height="0"
|
|
|
@@ -141,6 +138,9 @@ export default {
|
|
|
computed: {
|
|
|
navHeight () {
|
|
|
return (uni.getSystemInfoSync().statusBarHeight * 2) + 16
|
|
|
+ },
|
|
|
+ logoTop () {
|
|
|
+ return (uni.getMenuButtonBoundingClientRect().top * 2)
|
|
|
}
|
|
|
},
|
|
|
onShow () {
|
|
|
@@ -333,6 +333,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.activity-flow {
|
|
|
+ padding-top: 36px;
|
|
|
background-color: #fff;
|
|
|
}
|
|
|
.index-tabs {
|