firstReward.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <template>
  2. <layout bgImgName="first-reward-img" bgColor="#f64d5d" bgHeight="188">
  3. <div class="first-reward">
  4. <img src="@/assets/image/claimCloudPhone/first-reward-1.png" alt="" />
  5. <img
  6. src="@/assets/image/claimCloudPhone/first-reward-2.png"
  7. alt=""
  8. style="animation-delay: 1s"
  9. />
  10. <img
  11. src="@/assets/image/claimCloudPhone/first-reward-3.png"
  12. alt=""
  13. style="animation-delay: 1.5s"
  14. />
  15. <!-- <img :src="`${IMG_URL}/assistFirstReward.png`" alt="" /> -->
  16. <div class="btn-box" style="animation-delay: 2s">
  17. <div>以上权益已开通至您的账户</div>
  18. <img
  19. src="@/assets/image/claimCloudPhone/first-reward-container-privilege.png"
  20. alt=""
  21. class="btn"
  22. @click="$router.push('/claimCloudPhone/secondReward')"
  23. />
  24. </div>
  25. </div>
  26. </layout>
  27. </template>
  28. <script>
  29. import layout from './components/layout';
  30. export default {
  31. auth: false,
  32. name: 'firstReward',
  33. head: {
  34. title: '0元购机,尽情享受',
  35. },
  36. data() {
  37. return {
  38. IMG_URL: process.env.IMG_URL,
  39. };
  40. },
  41. components: { layout },
  42. };
  43. </script>
  44. <style lang="less" scoped>
  45. .first-reward {
  46. height: 100%;
  47. box-sizing: border-box;
  48. padding-top: 188px;
  49. position: relative;
  50. & > img {
  51. height: 80px;
  52. width: 100%;
  53. animation: first-reward 0.5s forwards linear;
  54. opacity: 0;
  55. }
  56. .first-reward-container_privilege-tips {
  57. font-family: PingFangSC, PingFang SC;
  58. font-weight: 400;
  59. font-size: 12px;
  60. color: #ffffff;
  61. margin: 16px 0;
  62. line-height: 17px;
  63. text-align: center;
  64. font-style: normal;
  65. }
  66. .btn-box {
  67. opacity: 0;
  68. position: absolute;
  69. left: 50%;
  70. transform: translateX(-50%);
  71. bottom: 20px;
  72. display: flex;
  73. flex-direction: column;
  74. justify-content: center;
  75. animation: first-reward 0.5s forwards linear;
  76. & > div {
  77. text-align: center;
  78. font-size: 12px;
  79. color: #fff;
  80. margin-bottom: 20px;
  81. }
  82. .btn {
  83. height: 56px;
  84. }
  85. }
  86. @keyframes first-reward {
  87. 0% {
  88. opacity: 0;
  89. }
  90. 100% {
  91. opacity: 1;
  92. }
  93. }
  94. }
  95. </style>