index.vue 626 B

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