fix: 🐛 修改商品搜索中一行一列展示商品模块中,最后一个商品展示不全的样式bug

master
学习很差啦 2023-03-10 10:34:32 +08:00
parent e768a4c1db
commit f9ae51606f
1 changed files with 5 additions and 2 deletions

View File

@ -48,7 +48,7 @@
</view>
</view>
<!-- 一行一列商品展示 -->
<div v-if="type == 'oneColumns'">
<div v-if="type == 'oneColumns'" class="goods-one-row">
<div v-for="(item, index) in res" :key="index" class="goods-row">
<div class="flex goods-col">
<div class="goods-img" @click="navigateToDetailPage(item)">
@ -207,7 +207,10 @@
</script>
<style lang='scss' scoped>
/* 商品列表 */
.goods-one-row{
padding-bottom: 250rpx;
}
/* 商品列表 */
.goods-list {
display: flex;
flex-wrap: wrap;