45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
<view class="learning-page">
|
|
<view class="hero-card">
|
|
<text class="hero-card__title">{{heroTitle}}</text>
|
|
<text class="hero-card__desc">{{heroDescription}}</text>
|
|
<view class="stats-row">
|
|
<view class="stat-pill" wx:for="{{summaryCards}}" wx:key="key">
|
|
<text class="stat-pill__value">{{item.value}}</text>
|
|
<text class="stat-pill__label">{{item.label}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="quick-grid">
|
|
<view
|
|
class="quick-card"
|
|
wx:for="{{quickDeck}}"
|
|
wx:key="key"
|
|
data-route="{{item.route}}"
|
|
bindtap="handleRouteTap"
|
|
>
|
|
<text class="quick-card__tag">{{item.domain === 'tcm' ? '中医继续学习' : '易学继续学习'}}</text>
|
|
<text class="quick-card__title">{{item.title}}</text>
|
|
<text class="quick-card__desc">{{item.description}}</text>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="section-card">
|
|
<text class="section-card__title">最近学习动作</text>
|
|
<view
|
|
class="timeline-item"
|
|
wx:for="{{recentItems}}"
|
|
wx:key="key"
|
|
data-route="{{item.route}}"
|
|
bindtap="handleRouteTap"
|
|
>
|
|
<view class="timeline-item__icon">读</view>
|
|
<view class="timeline-item__body">
|
|
<text class="timeline-item__title">{{item.title}}</text>
|
|
<text class="timeline-item__desc">{{item.description}}</text>
|
|
</view>
|
|
<text class="timeline-item__arrow">></text>
|
|
</view>
|
|
</view>
|
|
</view>
|