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,27 @@
<view class="ai-history-page">
<text class="ai-history-page__title">{{title}}</text>
<view wx:if="{{scene === 'empty'}}" class="empty-card">
<text class="empty-card__title">{{emptyTitle}}</text>
<text class="empty-card__description">{{emptyDescription}}</text>
<view class="empty-card__action" bindtap="handlePrimaryTap">{{actionText}}</view>
</view>
<view wx:else class="history-groups">
<view class="history-group" wx:for="{{groups}}" wx:key="key">
<text class="history-group__label">{{item.label}}</text>
<view
class="history-item"
wx:for="{{item.items}}"
wx:for-item="historyItem"
wx:key="key"
data-route="{{historyItem.route}}"
bindtap="handleHistoryTap"
>
<text class="history-item__tag">{{historyItem.tag}}</text>
<text class="history-item__title">{{historyItem.title}}</text>
<text class="history-item__description">{{historyItem.summary}}</text>
</view>
</view>
</view>
</view>