@@ -20,7 +20,7 @@
<scroll-view scroll-y scroll-with-animation class="tab-view" :scroll-top="scrollTop">
<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>
+ <text style="text-align: center;">{{item.categoryName}}</text>
</view>
<view style="height:150upx"></view>
</scroll-view>