feat: migrate static pages to native tabbar
This commit is contained in:
30
packages/tcm/pages/bianzheng/index.wxml
Normal file
30
packages/tcm/pages/bianzheng/index.wxml
Normal file
@@ -0,0 +1,30 @@
|
||||
<view class="bianzheng-page">
|
||||
<view class="hero-card">
|
||||
<text class="hero-card__eyebrow">{{eyebrow}}</text>
|
||||
<text class="hero-card__title">{{title}}</text>
|
||||
<text class="hero-card__description">{{intro}}</text>
|
||||
</view>
|
||||
|
||||
<view class="form-card">
|
||||
<view class="field-block" wx:for="{{fields}}" wx:key="key">
|
||||
<text class="field-block__label">{{item.label}}</text>
|
||||
<input class="field-block__input" placeholder="{{item.placeholder}}" disabled="{{true}}" />
|
||||
</view>
|
||||
|
||||
<view class="form-card__actions">
|
||||
<view class="form-card__button" bindtap="handlePrimaryTap">{{primaryActionText}}</view>
|
||||
<view class="form-card__button form-card__button--ghost" bindtap="handleSecondaryTap">
|
||||
{{secondaryActionText}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{result}}" class="result-card">
|
||||
<text class="result-card__title">{{result.title}}</text>
|
||||
<text class="result-card__summary">{{result.summary}}</text>
|
||||
<view class="result-card__reference" wx:for="{{result.references}}" wx:key="index">
|
||||
<text class="result-card__reference-dot">·</text>
|
||||
<text class="result-card__reference-text">{{item}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user