25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
<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>
|