<!--pages/contest/score/score.wxml-->
<view>
  <image class="bg" src="../../../imgs/contest/score/bg.png"></image>
  <view class="page-title" style="top:{{statusBar}}px">排行榜</view>
  <view class="content">
    <image mode="widthFix" class="kuang" src="../../../imgs/contest/score/kuang.png"></image>
    <view class="detail">
      <view class="title">恭喜您完成答题！</view>
      <view class="score">
        <image class="score-bg" src="../../../imgs/contest/score/num-bg.png"></image>
        <view class="score-text">
          您的得分是：
          <view class="score-num">{{score}}</view>
          分
        </view>
      </view>
      <view class="text">排名</view>
      <view class="ranking">
        <image class="icon" mode="widthFix" src="../../../imgs/contest/score/icon.png"></image>
        <view>{{rank}}</view>
      </view>
      <view class="button-group">
        <!-- <button class="" bindtap="toLink" data-url="/pages/contest/ranking/ranking">查看排行榜</button>
        <button open-type="share">分享</button> -->
        <button class="rank" bindtap="toLink" data-url="/pages/contest/ranking/ranking">
          <image class="button-icon" src="../../../imgs/contest/score/icon-rank.png"></image>
          排行榜
          <view class="arrow-icon"></view>
        </button>
        <button class="go-score" bindtap="toLink" data-url="/pages/contest/stars/stars?id={{id}}">
          <image class="button-icon" src="../../../imgs/contest/score/icon-start.png"></image>
          去评分
          <view class="arrow-icon"></view>
        </button>
        <button class="go-share" open-type="share">
          <image class="share-icon" src="../../../imgs/contest/score/iocn-share.png"></image>
          分享
          <view class="arrow-icon"></view>
        </button>
      </view>
    </view>
  </view>
</view>
