feat: migrate static pages to native tabbar

This commit is contained in:
2026-04-23 21:25:24 +08:00
parent f3cd0c3a98
commit cd30f57f2c
116 changed files with 7143 additions and 311 deletions

View File

@@ -0,0 +1,44 @@
<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>