index.vue 350 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <div class="layout">
  3. <slot></slot>
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: 'layout',
  9. data() {
  10. return {};
  11. },
  12. mounted() {},
  13. methods: {}
  14. };
  15. </script>
  16. <style lang="less" scoped>
  17. .layout {
  18. height: 100%;
  19. }
  20. .go-back {
  21. position: fixed;
  22. width: 42px;
  23. height: 42px;
  24. left: 26px;
  25. bottom: 98px;
  26. }
  27. </style>