login.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <template>
  2. <div class="content">
  3. <!-- <img :showLoading="true" src="/static/img/img_cover@2x.jpg" width="100vw" height="100vh"></img> -->
  4. <div class="fixed bottom-48 w-full text-center">
  5. <!-- <div class="absolute" style="left: calc(50% - 112px); bottom: 100px">
  6. <img src="/static/img/btn_enter@2x.png" width="224px" height="55px" />
  7. </div> -->
  8. <div class="butText text-center" @click="handleHome">开始云游</div>
  9. </div>
  10. </div>
  11. </template>
  12. <script>
  13. // import uButton from "udiv-ui/components/u-button/u-button.vue";
  14. export default {
  15. components: {
  16. // uButton
  17. },
  18. data() {
  19. return {
  20. title: 'Hello'
  21. }
  22. },
  23. onLoad() {},
  24. methods: {
  25. handleHome() {
  26. console.log('开启云上观灯')
  27. this.$router.push('/home')
  28. }
  29. }
  30. }
  31. </script>
  32. <style scoped lang="scss">
  33. .content {
  34. display: flex;
  35. flex-direction: column;
  36. align-items: center;
  37. justify-content: center;
  38. min-height: 100vh;
  39. width: 100%;
  40. background: url(https://4dscene.4dage.com/new4dkk/deng/static/img/img_cover@2x.jpg) 100% 100%
  41. no-repeat;
  42. background-size: 100% 100%;
  43. }
  44. .butText {
  45. font-weight: 400;
  46. font-size: 24px;
  47. width: 225px;
  48. height: 58px;
  49. color: #ffffff;
  50. line-height: 36px;
  51. text-shadow: 0px 0px 8px #fff9b1, 0px 0px 27px #fff9b1, 0px 0px 4px #d86332;
  52. font-style: normal;
  53. text-transform: none;
  54. position: absolute;
  55. font-family: KingHwa_OldSong, KingHwa_OldSong;
  56. font-weight: 400;
  57. font-size: 24px;
  58. color: #ffffff;
  59. line-height: 36px;
  60. text-shadow: 0px 0px 8px #fff9b1, 0px 0px 27px #fff9b1, 0px 0px 4px #d86332;
  61. text-align: left;
  62. font-style: normal;
  63. text-transform: none;
  64. left: calc(50% - 112px);
  65. text-align: center;
  66. line-height: 58px;
  67. z-index: 10;
  68. background: url(https://4dscene.4dage.com/new4dkk/deng/static/img/btn_enter@2x.png) 100% 100%
  69. no-repeat;
  70. background-size: 100% 100%;
  71. }
  72. </style>