<scroll-view class="page" scroll-y>
  <view class="shell">
    <view class="hero">
      <view class="hero__eyebrow">Result</view>
      <view class="hero__title">{{sessionTitleText}}</view>
      <view class="hero__desc">{{sessionSubtitleText}}</view>
    </view>

    <view class="panel">
      <view class="panel__title">当前状态</view>
      <view class="summary">{{statusText}}</view>
      <button class="btn btn--ghost" bindtap="handleBackToList">查看历史结果</button>
    </view>

    <view wx:if="{{rows.length}}" class="panel">
      <view class="panel__title">单局摘要</view>
      <view wx:for="{{rows}}" wx:key="label" class="row">
        <view class="row__label">{{item.label}}</view>
        <view class="row__value">{{item.value}}</view>
      </view>
    </view>
  </view>
</scroll-view>
