index.vue 571 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <div class="content">
  3. <router-view></router-view>
  4. </div>
  5. </template>
  6. <script setup>
  7. import { reactive, provide } from 'vue'
  8. let pay_info = reactive({})
  9. provide('pay_info', pay_info)
  10. let state = reactive({
  11. //
  12. show: 'dialog-home'
  13. })
  14. </script>
  15. <style lang="scss" >
  16. html,
  17. body,
  18. #app {
  19. width: 100%;
  20. height: 100%;
  21. margin: 0;
  22. padding: 0;
  23. }
  24. body {
  25. background-color: rgba(0, 0, 0, 0.5);
  26. }
  27. .content {
  28. width: 100%;
  29. height: 100%;
  30. display: flex;
  31. align-items: center;
  32. justify-content: center;
  33. }
  34. </style>