exit.uvue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <template>
  2. <view class="body">
  3. <view class="content">
  4. <view class="top">
  5. <image class="logo" mode="aspectFit" src="/static/logo.png"></image>
  6. <image class="right-logo" mode="aspectFit" src="/static/40.png"></image>
  7. </view>
  8. <view class="main">
  9. <view class="exit_game"></view>
  10. </view>
  11. </view>
  12. </view>
  13. </template>
  14. <script>
  15. export default {
  16. data() {
  17. return {
  18. }
  19. },
  20. computed: {
  21. },
  22. onLoad(event) { // 类型非必填,可自动推导
  23. },
  24. methods: {
  25. }
  26. }
  27. </script>
  28. <style>
  29. .body {
  30. display: flex;
  31. flex-direction: column;
  32. align-items: center;
  33. justify-content: center;
  34. }
  35. .content {
  36. width: 390px;
  37. /* margin: 0 auto; */
  38. }
  39. .top {
  40. width: 100%;
  41. height: 10vh;
  42. padding: 0 36px;
  43. /* padding: 36px 36px 0 36px; */
  44. flex-direction: row;
  45. align-items: center;
  46. justify-content: space-between;
  47. }
  48. .logo {
  49. width: 91.5px;
  50. height: 26px;
  51. }
  52. .right-logo {
  53. width: 37.5px;
  54. height: 26px;
  55. }
  56. .main {
  57. width: 100%;
  58. flex-direction: column;
  59. align-items: center;
  60. justify-content: center;
  61. }
  62. .exit_game {
  63. width: 70%;
  64. height: 90vh;
  65. /* height: 650px; */
  66. margin-top: -30px;
  67. margin-left: 20px;
  68. background-image: url("/static/challenge/exit_game.webp");
  69. background-repeat: no-repeat;
  70. background-position-x: center;
  71. background-position-y: center;
  72. background-size: contain;
  73. }
  74. </style>