页面显示优化
This commit is contained in:
@@ -170,10 +170,34 @@ page view {
|
||||
padding-left: 32rpx;
|
||||
}
|
||||
|
||||
.t-class-text {
|
||||
margin-right: 15rpx;
|
||||
/* ================= 技能胶囊多选(横排自动换行) ================= */
|
||||
.chip-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-right: -20rpx;
|
||||
}
|
||||
|
||||
.t-checkbox__icon--left {
|
||||
margin-right: 3rpx !important;
|
||||
.chip-item {
|
||||
box-sizing: border-box;
|
||||
max-width: 100%;
|
||||
padding: 14rpx 36rpx;
|
||||
margin: 0 20rpx 20rpx 0;
|
||||
border: 2rpx solid var(--border-level-1);
|
||||
border-radius: var(--radius-round);
|
||||
background: var(--bg-grey);
|
||||
font-size: 28rpx;
|
||||
line-height: 44rpx;
|
||||
color: var(--text-primary);
|
||||
transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
|
||||
}
|
||||
|
||||
.chip-item:active {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.chip-item--active {
|
||||
background: var(--brand-light);
|
||||
border-color: var(--brand);
|
||||
color: var(--brand);
|
||||
font-weight: 500;
|
||||
}
|
||||
Reference in New Issue
Block a user