doubleElevenLottery.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <template>
  2. <view>
  3. <ujp-navbar title="双11活动中奖名单"></ujp-navbar>
  4. <view class="top">
  5. <img class="cover" src="@/assets/img/topCover.png" alt="" />
  6. <img class="img1" src="@/assets/img/doubleEleven3x.png" alt="" />
  7. <img class="img2" src="@/assets/img/doubleElevenLogo.png" alt="" />
  8. </view>
  9. <view class="lotteryBox">
  10. <img class="cover2" src="@/assets/img/cover2.png" alt="" />
  11. <view class="chance">
  12. 您有 1 次抽奖机会
  13. </view>
  14. <Lottery class="lottery" ></Lottery>
  15. </view>
  16. </view>
  17. </template>
  18. <script>
  19. import Lottery from '@/components/lottery/index.vue'
  20. export default {
  21. components: {
  22. Lottery
  23. },
  24. data() {
  25. return {
  26. }
  27. },
  28. methods: {
  29. }
  30. }
  31. </script>
  32. <style lang="scss" scoped>
  33. page{
  34. background-color: #DD3032;
  35. padding-bottom: 44rpx;
  36. }
  37. .top{
  38. .cover{
  39. width:100%;
  40. height:100%;
  41. position: relative;
  42. }
  43. .img1{
  44. width: 100%;
  45. height: 556rpx;
  46. position: absolute;
  47. top: 88rpx;
  48. left: 50%;
  49. transform: translateX(-50%);
  50. }
  51. .img2{
  52. width: 594rpx;
  53. height: 268rpx;
  54. position: absolute;
  55. top: 168rpx;
  56. left: 50%;
  57. transform: translateX(-50%);
  58. }
  59. }
  60. .lotteryBox{
  61. margin-top: -248rpx;
  62. position: relative;
  63. background: linear-gradient(180deg, rgba(221,48,50,0) 0%,rgba(221,48,50,1) 76%);
  64. .chance{
  65. width: 402rpx;
  66. height: 72rpx;
  67. line-height: 72rpx;
  68. border-radius: 50px;
  69. background: linear-gradient(90deg, rgba(211,51,0,1) 0%,rgba(255,79,63,1) 53%,rgba(226,19,0,1) 100%);
  70. text-align: center;
  71. margin: 0 auto;
  72. color: rgba(255, 255, 215, 1);
  73. font-size: 18px;
  74. position: absolute;
  75. top: 0;
  76. left: 50%;
  77. transform: translateX(-50%);
  78. }
  79. .cover2{
  80. width: 100%;
  81. height: 100%;
  82. }
  83. .lottery{
  84. margin-top: 160rpx;
  85. }
  86. }
  87. </style>