Draw.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <template>
  2. <div>
  3. <img src="http://szugift.oss-cn-shenzhen.aliyuncs.com/share_background.jpg"
  4. style="height: 100%; width: 100%; z-index: -99; position: absolute; left: 0; top: 0;"
  5. />
  6. <div class="transparent">
  7. <div class="card">
  8. <h3 style="color: white"><strong>抽奖说明</strong></h3>
  9. <p>关注<span style="color: #F4A460"> 深大换换 </span>,回复“抽奖”获得活动推文,转发推文截图发至后台即可获得本次活动的【抽奖机会】</p>
  10. </div>
  11. </div>
  12. <div
  13. style="position: fixed;
  14. bottom: 10px;
  15. margin: 0 auto;
  16. width: 100%;"
  17. >
  18. <van-button size="large" type="primary" @click="$router.push('index')"
  19. style="background-color: #fd6740; border-color: #fd6740; width: 80%"
  20. >返回首页
  21. </van-button>
  22. </div>
  23. </div>
  24. </template>
  25. <script>
  26. import {Button} from 'vant'
  27. export default {
  28. name: "Draw",
  29. components: {
  30. [Button.name]: Button
  31. },
  32. }
  33. </script>
  34. <style scoped>
  35. .card {
  36. margin-bottom: 20px;
  37. margin-left: 20px;
  38. margin-right: 20px;
  39. padding: 15px;
  40. text-align: left;
  41. z-index: 1;
  42. }
  43. h3 {
  44. font-size: 1.5em;
  45. }
  46. p {
  47. font-size: 1em;
  48. color: white;
  49. }
  50. .transparent {
  51. position: absolute;
  52. height: 100%;
  53. background-color: rgba(50, 50, 50, 0.7);
  54. left: 0;
  55. top: 0;
  56. }
  57. </style>