diff --git a/pages/index/component/goodList.vue b/pages/index/component/goodList.vue index aad3268..c3e9740 100644 --- a/pages/index/component/goodList.vue +++ b/pages/index/component/goodList.vue @@ -15,8 +15,8 @@ {{item.merchant.type_name}} 领券 - 包邮 + 库存:{{ item.stock }} @@ -180,6 +180,7 @@ export default { margin-bottom: 20rpx; overflow: hidden; position: relative; + border-bottom: 1px solid #eee; &.on { border-radius: 0; } @@ -324,6 +325,10 @@ export default { } } } + .stock{ + margin-top: 10rpx; + font-size: 24rpx; + } &.on { display: flex; }