21 lines
1.3 KiB
Plaintext
21 lines
1.3 KiB
Plaintext
<view class="page arena">
|
|
<view xhs:if="{{loading}}" class="empty">正在抽签…</view>
|
|
<view xhs:elif="{{error}}" class="empty">{{error}}</view>
|
|
<block xhs:else>
|
|
<view class="topline"><text class="pill">第 {{round}} 轮</text><text class="muted">{{progress}}%</text></view>
|
|
<view class="progress"><view class="progress-in" style="width: {{progress}}%"></view></view>
|
|
<view class="question"><view>此刻只能留一个,</view><view>你会选谁?</view></view>
|
|
<view class="pair">
|
|
<view class="choice choice-a" data-side="left" bindtap="choose">
|
|
<view class="choice-index">A</view><view class="food-mark">{{test.emoji}}</view><view class="choice-name">{{left.name}}</view><view class="tap-hint">点它晋级 ↗</view>
|
|
</view>
|
|
<view class="versus">VS</view>
|
|
<view class="choice choice-b" data-side="right" bindtap="choose">
|
|
<view class="choice-index">B</view><view class="food-mark">{{test.emoji}}</view><view class="choice-name">{{right.name}}</view><view class="tap-hint">点它晋级 ↗</view>
|
|
</view>
|
|
</view>
|
|
<view class="round-note">已完成 {{completed}} / {{totalDecisions}} 次选择</view>
|
|
<view xhs:if="{{submitting}}" class="saving">正在保存你的冠军…</view>
|
|
</block>
|
|
</view>
|