Authored by htoo

fix(detail): 修复商品列表滑动的问题

... ... @@ -56,7 +56,7 @@
<YohoActionSheet transfer v-if="showProductListAction" ref="productListAction" :full="true" :height="549">
<CommentHeader>{{'文中商品'}}</CommentHeader>
<ProductGroup name="ArticleDetail" :article-id="data.articleId" :pos-id="0" :index="0" :thumb="thumb" :inline="false" :model="3"
<ProductGroup class="product-list-wrapper" name="ArticleDetail" :article-id="data.articleId" :pos-id="0" :index="0" :thumb="thumb" :inline="false" :model="3"
v-if="productListData.length" :share="share" :data="productListData" :lazy="lazy"></ProductGroup>
</YohoActionSheet>
</div>
... ... @@ -286,4 +286,19 @@ export default {
border-top: 1px solid #f0f0f0;
background-color: #f0f0f0;
}
.product-list-wrapper {
overflow-y: scroll;
overflow-x: hidden;
height: 900px;
/deep/ .product-item {
margin: 0 !important;
}
/deep/ .product-item-wrapper {
margin: 0 30px;
}
}
</style>
... ...