feat: 开发完成拼音每日一练
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user