fix: 🐛 修改商品搜索中一行一列展示商品模块中,最后一个商品展示不全的样式bug
parent
e768a4c1db
commit
f9ae51606f
|
@ -48,7 +48,7 @@
|
||||||
</view>
|
</view>
|
||||||
</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 v-for="(item, index) in res" :key="index" class="goods-row">
|
||||||
<div class="flex goods-col">
|
<div class="flex goods-col">
|
||||||
<div class="goods-img" @click="navigateToDetailPage(item)">
|
<div class="goods-img" @click="navigateToDetailPage(item)">
|
||||||
|
@ -207,6 +207,9 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang='scss' scoped>
|
<style lang='scss' scoped>
|
||||||
|
.goods-one-row{
|
||||||
|
padding-bottom: 250rpx;
|
||||||
|
}
|
||||||
/* 商品列表 */
|
/* 商品列表 */
|
||||||
.goods-list {
|
.goods-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Reference in New Issue