Step_2.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <script setup>
  2. import "animate.css";
  3. import Footer from "../components/Footer.vue";
  4. </script>
  5. <template>
  6. <div class="content">
  7. <ul class="step-list">
  8. <li>
  9. <img class="num" src="../assets/img/step-1.png" alt="" />
  10. <p>尋找一面乾淨的白牆</p>
  11. <img class="arrow" src="../assets/img/arrow_b.png" alt="" />
  12. </li>
  13. <li>
  14. <div class="img-box">
  15. <img class="cover" src="../assets/img/step/1.png" alt="" />
  16. <img class="arrow" src="../assets/img/arrow_b.png" alt="" />
  17. </div>
  18. <div class="step">
  19. <img class="num" src="../assets/img/step-2.png" alt="" />
  20. <p>選擇背景</p>
  21. <small>20 款以上景點照片挑選</small>
  22. </div>
  23. </li>
  24. <li>
  25. <div class="img-box">
  26. <img class="cover" src="../assets/img/step/2.png" alt="" />
  27. <img class="arrow" src="../assets/img/arrow_b.png" alt="" />
  28. </div>
  29. <div class="step">
  30. <img class="num" src="../assets/img/step-3.png" alt="" />
  31. <p>手機前後鏡頭拍攝</p>
  32. <small>人臉對準綠色框框</small>
  33. </div>
  34. </li>
  35. <li>
  36. <div class="img-box">
  37. <img class="cover" src="../assets/img/step/3.png" alt="" />
  38. </div>
  39. <div class="step">
  40. <img class="num" src="../assets/img/step-4.png" alt="" />
  41. <p>獲得照片!</p>
  42. <small>馬上分享給朋友</small>
  43. </div>
  44. </li>
  45. </ul>
  46. <router-link to="/step3" class="main-btn">下一步</router-link>
  47. <Footer url="/step1" />
  48. </div>
  49. </template>
  50. <style lang="scss" scoped>
  51. p {
  52. font-size: 1.125rem;
  53. @media (max-width: 600px) {
  54. font-size: 1rem;
  55. }
  56. }
  57. span {
  58. font-size: 1rem;
  59. @media (max-width: 600px) {
  60. font-size: 0.75rem;
  61. }
  62. }
  63. .step-list {
  64. padding: 0;
  65. margin-top: 4rem;
  66. display: flex;
  67. flex-direction: column;
  68. align-items: center;
  69. justify-content: center;
  70. list-style: none;
  71. .num {
  72. width: 2rem;
  73. margin-bottom: 1rem;
  74. }
  75. .arrow {
  76. width: 3rem;
  77. margin-top: 1rem;
  78. }
  79. li {
  80. max-width: 500px;
  81. display: flex;
  82. justify-content: space-between;
  83. margin-bottom: 1.2rem;
  84. &:first-child {
  85. align-items: center;
  86. flex-direction: column;
  87. }
  88. .step {
  89. width: 15rem;
  90. padding-top: 1.5rem;
  91. display: flex;
  92. flex-direction: column;
  93. align-items: center;
  94. @media (max-width: 600px) {
  95. max-width: 10.5rem;
  96. padding-top: 0;
  97. }
  98. }
  99. small {
  100. margin-top: 0.3rem;
  101. color: white;
  102. letter-spacing: 2px;
  103. }
  104. .img-box {
  105. display: flex;
  106. flex-direction: column;
  107. align-items: center;
  108. margin-right: 1.5rem;
  109. .cover {
  110. max-width: 15rem;
  111. @media (max-width: 600px) {
  112. max-width: 9rem;
  113. }
  114. }
  115. }
  116. }
  117. }
  118. .content {
  119. p {
  120. &:first-child {
  121. margin-bottom: 1.625rem;
  122. }
  123. }
  124. .main-btn {
  125. margin: 3rem auto 0;
  126. }
  127. .hashtag {
  128. display: flex;
  129. justify-content: center;
  130. span {
  131. color: white;
  132. &:last-child {
  133. margin-left: 20px;
  134. }
  135. }
  136. }
  137. }
  138. </style>