首页样式提交
parent
af58a8dd29
commit
b5d2c3c768
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue