index.vue 935B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <template>
  2. <div>
  3. <div class="index-image">
  4. <img src="../assets/index/1.jpg" class="bg-image" />
  5. <div class="bth-div" @click="$router.push({ name: 'AllPages' })">
  6. <img src="../assets/index/点击开启.png" class="bth-image" />
  7. </div>
  8. </div>
  9. </div>
  10. </template>
  11. <script>
  12. export default {
  13. methods: {
  14. goPages() {}
  15. }
  16. }
  17. </script>
  18. <style lang="scss" scoped>
  19. .index-image {
  20. background-color: black;
  21. // background-color: #1d429d;
  22. width: 100vw;
  23. height: 100vh;
  24. display: flex;
  25. align-items: center;
  26. overflow: hidden;
  27. .bg-image {
  28. width: 100%;
  29. height: 100%;
  30. }
  31. .bth-div {
  32. position: absolute;
  33. width: 184px;
  34. height: 49px;
  35. bottom: 18vh;
  36. /* margin: 0 auto; */
  37. /* justify-content: center; */
  38. /* margin: 0 auto; */
  39. display: flex;
  40. left: 28vw;
  41. align-items: center;
  42. .bth-image {
  43. width: 100%;
  44. height: 100%;
  45. }
  46. }
  47. }
  48. </style>