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
@@ -4,12 +4,34 @@
<view class="pd-main">
<preview-card
id="previewCard"
showRefresh="{{false}}"
showRefresh="{{true}}"
showFavorite="{{true}}"
favorited="{{isPreviewFavorite}}"
bind:canvas-ready="onCanvasReady"
bind:refresh="onPreviewRefresh"
bind:favorite="onPreviewFavorite" />
<!-- 选择练习组(拼音每日一练模式) -->
<view wx:if="{{showDailyGroupPicker}}" class="pd-section">
<text class="pd-section-title">选择练习组</text>
<view class="pd-chip-row pd-chip-row--wrap pd-chip-row--triple">
<view
wx:for="{{dailyGroups}}"
wx:key="index"
class="pd-chip {{selectedDailyGroupIdx === item.index ? 'pd-chip--active' : ''}}"
hover-class="pd-chip--pressed"
hover-start-time="0"
hover-stay-time="70"
data-idx="{{item.index}}"
bind:tap="onSelectDailyGroup">
<view class="pd-chip__text">
<text class="pd-chip__label">{{item.label}}</text>
<text class="pd-chip__subtitle">{{item.subtitle}}</text>
</view>
</view>
</view>
</view>
<!-- 练习类型切换(描红 / 默写) -->
<view class="pd-section">
<text class="pd-section-title">练习类型</text>