页面显示优化

This commit is contained in:
Dev
2026-09-22 11:16:56 +08:00
parent b9c5d3fdcb
commit 229c361e9a
21 changed files with 120 additions and 93 deletions
@@ -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;
}