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,24 @@
<view class="interpret-page">
<view class="hero-card">
<text class="hero-card__title">{{title}}</text>
<text class="hero-card__desc">{{contextText}}</text>
</view>
<view class="form-card">
<textarea class="form-card__textarea" placeholder="例如:如何理解滴天髓的入门结构?" disabled="{{true}}"></textarea>
<input class="form-card__input" placeholder="解读焦点(可选)" disabled="{{true}}" />
<view class="action-button" bindtap="handlePrimaryTap">{{primaryActionText}}</view>
<view class="action-button action-button--ghost" bindtap="handleSecondaryTap">
{{secondaryActionText}}
</view>
</view>
<view wx:if="{{result}}" class="result-card">
<text class="result-card__title">{{result.title}}</text>
<text class="result-card__desc">{{result.summary}}</text>
<view class="reference-item" wx:for="{{result.references}}" wx:key="index">
<text class="reference-item__dot">·</text>
<text class="reference-item__text">{{item}}</text>
</view>
</view>
</view>