|
@@ -16,8 +16,8 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="scroll-middle_bx">
|
|
<view class="scroll-middle_bx">
|
|
|
- <scroll-view scroll-y scroll-with-animation class="tab-view" :scroll-top="scrollTop">
|
|
|
|
|
- <div v-for="(item, index) in globalClassData" :key="index" class="tab-bar-item" :class="[classIndex == index ? 'active' : '']" :data-current="index" @tap.stop="globalSwitchClass(index,item)" >
|
|
|
|
|
|
|
+ <scroll-view scroll-y scroll-with-animation class="tab-view">
|
|
|
|
|
+ <div v-for="(item, index) in globalClassData" :key="index" class="tab-bar-item" :class="[globalClassIndex == index ? 'active' : '']" :data-current="index" @tap.stop="globalSwitchClass(index,item)" >
|
|
|
<text>{{ item.name || "" }}</text>
|
|
<text>{{ item.name || "" }}</text>
|
|
|
</div>
|
|
</div>
|
|
|
<view style="height: 120upx"></view>
|
|
<view style="height: 120upx"></view>
|
|
@@ -189,8 +189,7 @@ export default {
|
|
|
} else {
|
|
} else {
|
|
|
this.tabIndex = e.index;
|
|
this.tabIndex = e.index;
|
|
|
}
|
|
}
|
|
|
- },
|
|
|
|
|
- scrollTop() {}
|
|
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|