diff --git a/pages/index.vue b/pages/index.vue index c97db61..13a1e85 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -396,12 +396,15 @@ page { // #ifdef MP-WEIXIN height: 198rpx !important; // #endif + // #ifdef H5 + height: 192rpx !important; + // #endif margin-right: 10rpx; border-radius: 12rpx; box-shadow: 8rpx 5rpx 10rpx #999; } .list-item,/deep/.tn-swipe-action-item { - height: 190rpx; + height: 190rpx !important; /* 移除border-bottom,改为margin-top,并且把列表项背景设为半透明白色 */ // #ifdef H5 margin-bottom: 20rpx; @@ -415,9 +418,14 @@ page { // #endif } .list-item:active { - background-color: #F5F5F5; transform: scale(0.98); } +.item-card:active { + background-color: #F5F5F5; + // #ifdef MP-WEIXIN + transform: scale(0.98); + // #endif +} .item-title { font-size: 28rpx;