diff --git a/pages/index.vue b/pages/index.vue index 36fb5f0..18936b3 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -157,13 +157,14 @@ page { } .list-item { - padding: 12rpx 24rpx; + padding: 14rpx 30rpx; /* 移除border-bottom,改为margin-top,并且把列表项背景设为半透明白色 */ margin-bottom: 20rpx; background-color: rgba(255, 255, 255, 0.85); border-radius: 12rpx; /* 新增:点击态样式,双端统一 */ transition: all 0.2s ease; + box-shadow: 8rpx 5rpx 10rpx #999 } .list-item:active { background-color: rgba(255, 255, 255, 0.95);