|
|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<view> |
|
|
|
<lf-nav :spreadOut="true" title="发现"></lf-nav> |
|
|
|
<lf-nav :spreadOut="true" title="发现" @changeHeight="e => nav_height = e"></lf-nav> |
|
|
|
<view> |
|
|
|
<u-tabs :list="tab_list" active-color="#15716E" inactive-color='#777777' :is-scroll="true" :current="tab_current" @change="tabChange"></u-tabs> |
|
|
|
</view> |
|
|
|
@ -63,7 +63,7 @@ |
|
|
|
<text class="lf-iconfont icon-zhiding lf-font-50"></text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="height: 30rpx;"></view> |
|
|
|
<!-- <view style="height: 30rpx;"></view> --> |
|
|
|
<lf-tabbar></lf-tabbar> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
@ -99,7 +99,7 @@ |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
autoHeight(){ |
|
|
|
return `calc(${this.scrollH}px - ${this.nav_height}px - 86rpx)`; |
|
|
|
return `calc(${this.scrollH}px - ${this.nav_height}px - 130rpx - 86rpx)`; |
|
|
|
} |
|
|
|
}, |
|
|
|
onLoad(){ |
|
|
|
|