exit.uvue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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: 750rpx;
  37. /* margin: 0 auto; */
  38. }
  39. .top {
  40. width: 100%;
  41. height: 10vh;
  42. padding: 0 60rpx;
  43. flex-direction: row;
  44. align-items: center;
  45. justify-content: space-between;
  46. }
  47. .logo {
  48. width: 183rpx;
  49. height: 52rpx;
  50. }
  51. .right-logo {
  52. width: 75rpx;
  53. height: 52rpx;
  54. }
  55. .main {
  56. width: 100%;
  57. flex-direction: column;
  58. align-items: center;
  59. justify-content: flex-start;
  60. }
  61. .exit_game {
  62. width: 70%;
  63. /* height: 90vh; */
  64. height: 1100rpx;
  65. margin-left: 40rpx;
  66. background-image: url("/static/challenge/exit_game.webp");
  67. background-repeat: no-repeat;
  68. background-position-x: center;
  69. background-position-y: center;
  70. background-size: contain;
  71. }
  72. </style>