firstReward.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <template>
  2. <layout bgImgName="" bgColor="" bgHeight="">
  3. <div class="first-reward">
  4. <img :src="`${IMG_URL}/assistFirstReward.png`" alt="" />
  5. <div class="btn-box">
  6. <img
  7. src="@/assets/image/claimCloudPhone/first-reward-container-privilege.png"
  8. alt=""
  9. class="btn"
  10. @click="$router.push('/claimCloudPhone/secondReward')"
  11. />
  12. </div>
  13. </div>
  14. </layout>
  15. </template>
  16. <script>
  17. import layout from './components/layout';
  18. export default {
  19. auth: false,
  20. name: 'firstReward',
  21. head: {
  22. title: '0元购机,尽情享受',
  23. },
  24. data() {
  25. return {
  26. IMG_URL: process.env.IMG_URL
  27. }
  28. },
  29. components: { layout },
  30. };
  31. </script>
  32. <style lang="less" scoped>
  33. .first-reward {
  34. height: 100%;
  35. box-sizing: border-box;
  36. padding-top: 188px;
  37. position: relative;
  38. & > img {
  39. position: absolute;
  40. top: -16px;
  41. left: -16px;
  42. height: calc(100% + 32px);
  43. width: calc(100% + 32px);
  44. }
  45. .first-reward-container_privilege-tips {
  46. font-family: PingFangSC, PingFang SC;
  47. font-weight: 400;
  48. font-size: 12px;
  49. color: #ffffff;
  50. margin: 16px 0;
  51. line-height: 17px;
  52. text-align: center;
  53. font-style: normal;
  54. }
  55. .btn-box {
  56. position: absolute;
  57. left: 50%;
  58. transform: translateX(-50%);
  59. bottom: 20px;
  60. display: flex;
  61. justify-content: center;
  62. .btn {
  63. height: 56px;
  64. }
  65. }
  66. }
  67. </style>