weixinxiaochengxu/pages/items/items.wxss

121 lines
1.8 KiB
Plaintext

/* ===== 管理检查项目 ===== */
/* 新增区域 */
.add-row {
display: flex;
gap: 16rpx;
align-items: center;
}
.add-input {
flex: 1;
padding: 16rpx 20rpx;
border: 1rpx solid #e2e8f0;
border-radius: 8rpx;
background: #f7fafc;
font-size: 28rpx;
height: 56rpx;
box-sizing: border-box;
}
.add-input:focus {
border-color: #2c7a7b;
background: #fff;
}
.btn-add {
flex-shrink: 0;
width: 130rpx;
height: 56rpx;
line-height: 56rpx;
font-size: 26rpx;
font-weight: 500;
color: #fff;
background: #2c7a7b;
border-radius: 8rpx;
padding: 0;
text-align: center;
border: none;
}
.btn-add:active {
background: #1a5c5d;
}
/* 列表表头 */
.list-header {
display: flex;
background: #f7fafc;
border-radius: 8rpx 8rpx 0 0;
padding: 16rpx 0;
border-bottom: 2rpx solid #e2e8f0;
}
.list-header-left,
.list-header-right {
font-size: 26rpx;
font-weight: 600;
color: #4a5568;
text-align: center;
}
.list-header-left {
flex: 1;
}
.list-header-right {
width: 140rpx;
}
/* 列表行 */
.list-row {
display: flex;
align-items: center;
padding: 20rpx 8rpx;
border-bottom: 1rpx solid #edf2f7;
}
.list-row:last-of-type {
border-bottom: none;
}
.list-cell--name {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 10rpx;
font-size: 28rpx;
color: #2d3748;
font-weight: 500;
}
.list-dot {
width: 10rpx;
height: 10rpx;
border-radius: 50%;
background: #2c7a7b;
flex-shrink: 0;
}
.list-cell--action {
width: 140rpx;
display: flex;
justify-content: center;
}
.btn-del {
padding: 8rpx 24rpx;
font-size: 24rpx;
color: #e53e3e;
background: #fff;
border: 1rpx solid #e53e3e;
border-radius: 6rpx;
line-height: 1.5;
text-align: center;
}
.btn-del:active {
background: #fff5f5;
}