lastrank.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <style lang="sass">
  2. @import './scss/lastrank.scss'
  3. </style>
  4. <template>
  5. <div class="page-lastrank" :style="{minHeight: winHeight + 'px' }">
  6. <div v-if="latestShow.createTime">
  7. <h2>{{latestShow.createTime | parseReleaseDate}}场次</h2>
  8. <ul class="list-award">
  9. <li>奖金总额<em>{{latestShow.totalBonus | parseBonus}}</em></li>
  10. <li>获奖金额<em>{{latestShow.bonus| parseBonus}}</em></li>
  11. <li>获奖人数<em>{{latestShow.peopleCount}}人</em></li>
  12. </ul>
  13. <ul class="list-bingo">
  14. <li v-for="(user,index) in latestUsers" :key="index">
  15. <img :src="user.head">
  16. <p>{{user.nick}}</p>
  17. </li>
  18. </ul>
  19. <div class="rank-uinfo" :class="{'isHasDlfooter' :isHasDlfooter}" v-if="userHeadInfo">
  20. <div class="info_name" v-if="userHeadInfo">
  21. <img :src="userHeadInfo.head">{{userHeadInfo.nick}}
  22. </div>
  23. <div class="info_award">{{userBonus.totalBonus/100}}元</div>
  24. </div>
  25. </div>
  26. <div class="tip-empty" v-else>暂无数据</div>
  27. <dlfooter
  28. v-if="isHasDlfooter"
  29. :closeCallback = "clossDlfooterCallback"
  30. ></dlfooter>
  31. </div>
  32. </template>
  33. <script>
  34. import rank from './js/rank.js'
  35. export default rank
  36. </script>