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,54 @@
<view class="book-detail-page">
<view class="hero-card">
<view class="hero-card__cover">{{coverText}}</view>
<view class="hero-card__body">
<text class="hero-card__title">{{book.title}}</text>
<text class="hero-card__subtitle">{{book.subtitle}}</text>
<view class="hero-card__tags">
<text class="hero-card__tag" wx:for="{{tags}}" wx:key="index">{{item}}</text>
</view>
<view class="hero-card__button" bindtap="handlePrimaryTap">开始阅读</view>
</view>
</view>
<view class="section-card">
<text class="section-card__title">简介</text>
<text class="section-card__description">{{description}}</text>
</view>
<view class="section-card">
<text class="section-card__title">我的阅读进度</text>
<text class="section-card__description">{{progressText}}</text>
</view>
<view class="section-card">
<text class="section-card__title">章节目录</text>
<view
class="catalog-row"
wx:for="{{catalog}}"
wx:key="key"
data-route="{{item.route}}"
bindtap="handleCatalogTap"
>
<view class="catalog-row__body">
<text class="catalog-row__title">{{item.title}}</text>
<text class="catalog-row__child" wx:for="{{item.children}}" wx:key="index">{{item}}</text>
</view>
<text class="catalog-row__arrow">></text>
</view>
</view>
<view class="section-card">
<text class="section-card__title">相关推荐</text>
<view
class="recommend-card"
wx:for="{{recommends}}"
wx:key="key"
data-route="{{item.route}}"
bindtap="handleRecommendTap"
>
<text class="recommend-card__cover">典</text>
<text class="recommend-card__title">{{item.title}}</text>
</view>
</view>
</view>