|
|
|
@ -632,6 +632,7 @@ |
|
|
|
if (res.result.records.length === 0) { |
|
|
|
const currIdx = that.menuList.findIndex(m => m.checked); |
|
|
|
if (currIdx !== -1 && currIdx < that.menuList.length - 1) { |
|
|
|
console.log('000000000000') |
|
|
|
// 重置锁再跳过,防止连锁导致永远跳不过 |
|
|
|
that.isSwitching = false; |
|
|
|
that._switchCategory(currIdx + 1); |
|
|
|
@ -1105,7 +1106,7 @@ |
|
|
|
|
|
|
|
.goods-member { |
|
|
|
padding: 10px 0; |
|
|
|
margin-top: 10px; |
|
|
|
margin-bottom: 10px; |
|
|
|
border-radius: 10px; |
|
|
|
background: #fff; |
|
|
|
} |
|
|
|
@ -1115,8 +1116,6 @@ |
|
|
|
height: auto; |
|
|
|
border-radius: 20rpx; |
|
|
|
margin: 0 auto 20rpx; |
|
|
|
/* padding-top等于分类栏高度,防止商品内容被sticky栏遮住 */ |
|
|
|
padding-top: 10px; |
|
|
|
} |
|
|
|
|
|
|
|
.goods-top { |
|
|
|
@ -1511,7 +1510,7 @@ |
|
|
|
width: 90px; |
|
|
|
height: 35px; |
|
|
|
position: relative; |
|
|
|
margin-right: 10px; |
|
|
|
margin-left: 15px; |
|
|
|
line-height: 35px; |
|
|
|
} |
|
|
|
</style> |