【修复】修复分类样式使用【一级小图】模式下,展示数据不齐全的问题。

This commit is contained in:
jianweie code
2023-09-01 15:53:58 +08:00
parent f96465394e
commit 651dc6b231
2 changed files with 8 additions and 8 deletions

View File

@@ -109,3 +109,5 @@
text-color-assist { color: #919293; }
.overflow-hidden { overflow: hidden !important; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.col3Box { width: 33%; padding: 5px; float: left; }

View File

@@ -17,14 +17,12 @@
</view>
</view>
<view class="coreshop-padding-10" v-if="CateStyle==2">
<u-row gutter="16">
<u-col span="4" v-for="(item,index) in tabbar" :key="index" @click="goClass(item.id)">
<u--image width="100%" height="80px" :src="item.imageUrl" :showLoading="false"></u--image>
<view class="coreshop-text-center coreshop-padding-top-15 coreshop-padding-bottom-15 coreshop-font-sm">
{{item.name}}
</view>
</u-col>
</u-row>
<div class="col3Box" v-for="(item,index) in tabbar" :key="index" @click="goClass(item.id)">
<u--image width="100%" height="80px" :src="item.imageUrl" :showLoading="false"></u--image>
<view class="coreshop-text-center coreshop-padding-top-15 coreshop-padding-bottom-15 coreshop-font-sm">
{{item.name}}
</view>
</div>
</view>
<view class="u-menu-wrap coreshop-flex-direction-row" v-if="CateStyle==3">
<scroll-view scroll-y scroll-with-animation class="u-tab-view menu-scroll-view" :scroll-top="scrollTop">