feat: 开发完成拼音每日一练

This commit is contained in:
R524809
2026-05-20 15:33:06 +08:00
parent cab4e9c33f
commit d52339c0fa
25 changed files with 1478 additions and 428 deletions
@@ -91,3 +91,92 @@ page {
color: #453900;
opacity: 0.8;
}
/* ===== 拼音组选择芯片 ===== */
.pd-chip-row {
display: flex;
flex-direction: row;
gap: 32rpx;
}
.pd-chip-row--wrap {
flex-wrap: wrap;
.pd-chip {
flex: none;
}
}
.pd-chip-row--triple {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24rpx;
.pd-chip {
flex: unset;
width: 100%;
padding: 24rpx 16rpx;
}
}
.pd-chip {
flex: 1;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
padding: 20rpx 12rpx;
color: @text-secondary;
background: @bg-card;
border-radius: 32rpx;
transition:
background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.pd-chip--pressed {
transform: scale(0.96);
background: @brand;
color: @text-selected-btn;
font-weight: 700;
box-shadow: 0 2rpx 8rpx rgba(50, 46, 37, 0.08);
}
.pd-chip--active {
background: @brand;
color: @text-selected-btn;
font-weight: 700;
box-shadow: 0 2rpx 8rpx rgba(50, 46, 37, 0.08);
}
.pd-chip__text {
display: flex;
flex-direction: column;
align-items: center;
gap: 4rpx;
width: 100%;
}
.pd-chip__label {
font-size: 28rpx;
font-weight: 700;
line-height: 36rpx;
}
.pd-chip__subtitle {
font-size: 20rpx;
font-weight: 500;
line-height: 28rpx;
opacity: 0.75;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.pd-chip--active .pd-chip__subtitle,
.pd-chip--pressed .pd-chip__subtitle {
opacity: 0.85;
}