feat: migrate static pages to native tabbar
This commit is contained in:
19
packages/mingli/pages/section/index.wxml
Normal file
19
packages/mingli/pages/section/index.wxml
Normal file
@@ -0,0 +1,19 @@
|
||||
<view class="mingli-section-page">
|
||||
<view class="hero-card">
|
||||
<text class="hero-card__title">{{chapterTitle}}</text>
|
||||
</view>
|
||||
|
||||
<view class="passage-card">
|
||||
<text class="passage-card__item" wx:for="{{passages}}" wx:key="index">{{item}}</text>
|
||||
</view>
|
||||
|
||||
<view
|
||||
class="action-button"
|
||||
wx:for="{{actions}}"
|
||||
wx:key="key"
|
||||
data-route="{{item.route}}"
|
||||
bindtap="handleActionTap"
|
||||
>
|
||||
{{item.title}}
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user