|
|
@@ -18,6 +18,7 @@
|
|
|
<view v-for="(item,index) in tabbar" :key="index" class="tab-bar-item" :class="[currentTab==index ? 'active' : '']" :data-current="index" @tap.stop="swichNav($event ,item)" >
|
|
|
<text>{{item.categoryName}}</text>
|
|
|
</view>
|
|
|
+ <view style="height:150upx"></view>
|
|
|
</scroll-view>
|
|
|
<block v-for="(item,index) in tabbar" :key="index" >
|
|
|
<scroll-view scroll-y class="right-box" @scrolltolower="onReachBottoms" v-if="currentTab==index" >
|
|
|
@@ -201,7 +202,7 @@ export default {
|
|
|
background: linear-gradient(to bottom,#3385FF, #fff);
|
|
|
.nav{
|
|
|
position:absolute;
|
|
|
- top:155upx;
|
|
|
+ top:148upx;
|
|
|
.selected{
|
|
|
width:auto;
|
|
|
height:60upx;
|
|
|
@@ -332,7 +333,7 @@ page {
|
|
|
position: fixed;
|
|
|
left: 0;
|
|
|
z-index: 10;
|
|
|
- height: 100vh;
|
|
|
+ height: calc(100vh - 100upx);
|
|
|
background-color: #f0f2f6;
|
|
|
.tab-bar-item {
|
|
|
width: 200upx;
|