wzry.vue 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <style lang="sass">
  2. @import "./scss/wzry.scss";
  3. @import "./scss/lottery.scss";
  4. </style>
  5. <template>
  6. <div class="page-act-wzry">
  7. <header class="activity-hd">
  8. <img src="./../../img/act/wzry-banner.jpg" />
  9. </header>
  10. <section class="act-mod-app">
  11. <h2 class="mod-title mod-title1"></h2>
  12. <i class="logo"></i>
  13. <p>解说电影APP</p>
  14. <p>5分钟呈现电影的精彩</p>
  15. </section>
  16. <section class="act-mod-act">
  17. <h2 class="mod-title mod-title2"></h2>
  18. <p class="mod-time">活动时间:2017.11.01-2017.11.10</p>
  19. <div class="mod-intro">
  20. <p><b>1.</b>下载微剧院,并完成注册,可获得1次抽奖机会</p>
  21. <p><b>2.</b>邀请一个好友,额外获得一次抽奖机会,邀请越多,中奖机率越高。</p>
  22. <p class="tip">注:好友必须安装微剧院,填写您的邀请码,并登录</p>
  23. </div>
  24. <h2 class="mod-title mod-title3"></h2>
  25. <div class="mod-intro">
  26. <p><b>第一步:</b>下载微剧院</p>
  27. <p><b>第二步:</b>使用微信登录(一定要使用微信登录,否则系统无法识别)</p>
  28. <p><b>第三步:</b>回到本页面参与抽奖</p>
  29. </div>
  30. <div class="btns">
  31. <span class="btn btn-share" @click="showModGuide()" v-if="glanceId>0">分享好友</span>
  32. <a class="btn btn-dl" :href="downloadUrl">安装微剧院</a>
  33. </div>
  34. </section>
  35. <section class="act-mod-lottory">
  36. <h2 class="mod-title mod-title4"></h2>
  37. <div class="tip-wrap" v-if="!isLoginedWjy">
  38. <a class="tip-login" :href="downloadUrl">您还未登录过微剧院</a>
  39. <p class="tip-login2">一定要使用微信登录哦!</p>
  40. </div>
  41. <div class="lottery-wrap">
  42. <p class="tip-lottery">
  43. <span>剩余<em>{{gachaCount}}</em>次抽奖机会</span>
  44. <span class="btn-award" v-if="isLoginedWjy" @click="showModAward">我的奖品»</span>
  45. </p>
  46. <ul class="lottery-cot" id="lottery">
  47. <li class="lottery-item lottery-item1" data-order="0" data-score="0">
  48. <p>谢谢<br>参与</p>
  49. </li>
  50. <li class="lottery-item lottery-item2" data-order="1" data-score="2">
  51. <p>6元首<br>充英雄</p>
  52. </li>
  53. <li class="lottery-item lottery-item3" data-order="2" data-score="0">
  54. <p>谢谢<br>参与</p>
  55. </li>
  56. <li class="lottery-item lottery-item4" data-order="7" data-score="1">
  57. <p>1Q币</p>
  58. </li>
  59. <li :class='"lottery-item btn-lottery "+(gachaCount==0?"disabled":"")' @click="startLottery()"></li>
  60. <li class="lottery-item lottery-item5" data-order="3" data-score="3">
  61. <p>588点券</p>
  62. </li>
  63. <li class="lottery-item lottery-item6" data-order="6" data-score="0">
  64. <p>谢谢<br>参与</p>
  65. </li>
  66. <li class="lottery-item lottery-item7" data-order="5" data-score="4">
  67. <p>288点券</p>
  68. </li>
  69. <li class="lottery-item lottery-item8" data-order="4" data-score="0">
  70. <p>谢谢<br>参与</p>
  71. </li>
  72. </ul>
  73. </div>
  74. </section>
  75. <section class="act-mod-share" v-if="glanceId>0">
  76. <h2 class="mod-title mod-title5"></h2>
  77. <div class="btn-share" @click="showModGuide">马上去邀请好友</div>
  78. <p class="tip">已邀请<em>{{invitedList.length}}</em>位好友,额外获得<em>{{invitedList.length}}</em>次抽奖机会</p>
  79. <ul>
  80. <li v-for="(user,index) in invitedList" :key="index">
  81. <img :src='user.head ? user.head : "/_src/img/pic-head.png"'>
  82. <p>{{user.nick ? user.nick : "游客"+user.id}}</p>
  83. </li>
  84. </ul>
  85. </section>
  86. <section class="act-mod-menu" v-if="bingoList.length>0">
  87. <h2 class="mod-title mod-title6"></h2>
  88. <ul class="list-menu">
  89. <li v-for="(bingo,index) in bingoList" :key="index">
  90. <p class="item-name">{{bingo.nick}}</p>
  91. <p class="item-line"></p>
  92. <p class="item-gif">{{bingo.reward}}</p>
  93. </li>
  94. </ul>
  95. </section>
  96. <section class="act-mod-guide" @click="closeModGuide" v-show="isShowGuide">
  97. <div class="mask"></div>
  98. <div class="cont">
  99. <p>已为您生成专属邀请码,从这里分享给你的微信好友吧!</p>
  100. </div>
  101. </section>
  102. <section class="act-mod-award" v-show="isShowAward">
  103. <div class="mask" @click="closeModAward"></div>
  104. <div class="cont">
  105. <section class="box-award" v-if="userBingo.length>0">
  106. <h2>领奖方式:关注微信“duowanmall”,回复“领奖”领取</h2>
  107. <ul class="list-award">
  108. <li v-for="(bingo,index) in userBingo" :key="index">
  109. {{bingo.reward}}
  110. </li>
  111. </ul>
  112. </section>
  113. <section class="box-noaward" v-else>暂无中奖</section>
  114. </div>
  115. </section>
  116. </div>
  117. </template>
  118. <script>
  119. import wzry from './js/wzry.js'
  120. export default wzry
  121. </script>