firstReward.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <template>
  2. <layout bgImgName="first-reward-img" bgColor="#f64d5d" bgHeight="219">
  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: 210px;
  49. position: relative;
  50. & > img {
  51. height: 95px;
  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. display: flex;
  69. flex-direction: column;
  70. justify-content: center;
  71. margin-top: 15px;
  72. animation: first-reward 0.5s forwards linear;
  73. & > div {
  74. text-align: center;
  75. font-size: 12px;
  76. color: #fff;
  77. margin-bottom: 20px;
  78. }
  79. .btn {
  80. width: 281px;
  81. margin: 0 auto;
  82. height: 56px;
  83. }
  84. }
  85. @keyframes first-reward {
  86. 0% {
  87. opacity: 0;
  88. }
  89. 100% {
  90. opacity: 1;
  91. }
  92. }
  93. }
  94. </style>