uplottory.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <style lang="sass">
  2. @import "./scss/uplottory.scss";
  3. </style>
  4. <template>
  5. <div class="page-act-uplottory">
  6. <section class="mod-primary">
  7. <div class="head-wrap">
  8. <img :src="upInfo.img">
  9. </div>
  10. <div v-if="lottoryId!=0">
  11. <div class="code status1" v-if="lotteryStatus==2" @click="doLottery()">
  12. 点击获取抽奖码
  13. </div>
  14. <div class="code status1" v-if="lotteryStatus==3">
  15. <div class="code-inner">
  16. 抽奖码:<em>{{scrollCode}}</em>
  17. </div>
  18. </div>
  19. <div class="code status2" v-if="lotteryStatus==5">很遗憾你没有中奖</div>
  20. <div class="code status3" v-if="lotteryStatus==6">
  21. 恭喜你中奖了
  22. <p>电影票券码为{{userRecord.cdkey}}</p>
  23. </div>
  24. <div class="code status4" v-if="lotteryStatus==4">
  25. 今天已开奖
  26. <p>每日抽奖参与时间0{{reward.dayStartHour}}:00-{{reward.dayEndHour}}:00</p>
  27. </div>
  28. </div>
  29. <p class="tip">{{lottoryTip}}</p>
  30. </section>
  31. <section class="mod-gif">
  32. <h2 class="mod-title mod-title1"></h2>
  33. <img :src="reward.rewardIcon">
  34. <p>{{reward.rewardName}}</p>
  35. </section>
  36. <section class="mod-rule">
  37. <h2 class="mod-title mod-title2"></h2>
  38. <ul class="list-cont">
  39. <li><label>1.</label>关注UP主可参与抽奖,每天一次抽奖机会。</li>
  40. <li><label>2.</label>兑换券为电影票电子兑换券,仅限在淘票票平台在线选座时使用。</li>
  41. <li><label>3.</label>兑换券仅限兑换售价2\3D不高于75元的场次,有效期至2018年3月28日。</li>
  42. <li><label>4.</label>兑换券仅支持中国大陆地区影院,支持影院以淘票票平台展示为准</li>
  43. <li><label>5.</label>兑换券使用说明:<a href="https://h5.m.taopiaopiao.com/app/dianying/pages/alfheim/content.html?id=11389&interact=no&hidetitle=yes">点击查看</a></li>
  44. </ul>
  45. </section>
  46. <section class="mod-time">
  47. <h2 class="mod-title mod-title3"></h2>
  48. <ul class="list-cont">
  49. <li><label>1.</label>活动时间:{{reward.startTime | cutTime}}至{{reward.endTime | cutTime}}</li>
  50. <li><label>2.</label>每日报名时间:每日{{reward.dayStartHour}}:00-{{reward.dayEndHour}}:00</li>
  51. <li><label>3.</label>每日开奖时间:每日{{reward.rewardHour}}:00</li>
  52. </ul>
  53. </section>
  54. <section class="mod-menu" v-if="bingoUsers.length>0">
  55. <h2 class="mod-title mod-title4"></h2>
  56. <div class="menu-wrap">
  57. <div class="menu-scroll">
  58. <ul class="list-menu" :style='"-webkit-transform: translateY("+scrollHeight+"px);transform: translateY("+scrollHeight+"px)"'>
  59. <li v-for="(user,index) in bingoUsers" :key="index">
  60. <div class="item-info">
  61. <img :src="user.avatar">
  62. {{user.nick}}
  63. </div>
  64. <div class="item-time">{{user.day}}</div>
  65. </li>
  66. </ul>
  67. </div>
  68. </div>
  69. </section>
  70. </div>
  71. </template>
  72. <script>
  73. import uplottory from './js/uplottory.js'
  74. export default uplottory
  75. </script>