index.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template>
  2. <div class="welcome">
  3. <iframe
  4. src="https://zzbbh.4dage.com/SWKK/show.html?id=WK1564638850838523904&vr=fd720_JMzTknCLP"
  5. frameborder="0"
  6. ></iframe>
  7. <div class="btn" @click.stop="$emit('close')">探索场景</div>
  8. </div>
  9. </template>
  10. <script>
  11. export default {
  12. data() {
  13. return {};
  14. },
  15. methods: {},
  16. mounted() {},
  17. };
  18. </script>
  19. <style lang="less">
  20. .welcome {
  21. position: fixed;
  22. top: 0;
  23. left: 0;
  24. width: 100%;
  25. height: 100%;
  26. z-index: 11001;
  27. font-size: 0;
  28. background-color: black;
  29. // background-image: url('../../assets/img/home/homeBac.jpg');
  30. // background-size: 100% 100%;
  31. iframe {
  32. width: 100%;
  33. height: 100%;
  34. }
  35. .btn {
  36. width: 246px;
  37. height: 77px;
  38. background-image: url("../../assets/img/home/homeBtn.png");
  39. background-size: 100% 100%;
  40. color: #d6b970;
  41. font-size: 24px;
  42. font-weight: 700;
  43. position: absolute;
  44. z-index: 10;
  45. bottom: 15%;
  46. left: 50%;
  47. transform: translateX(-50%);
  48. cursor: pointer;
  49. display: flex;
  50. justify-content: center;
  51. align-items: center;
  52. }
  53. }
  54. </style>