index.vue 702 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <div id="index">
  3. <iframe width="100%" style="height:99vh" frameborder="0" src="/static/liveIndex.html"></iframe>
  4. </div>
  5. </template>
  6. <script>
  7. import { mapState, createNamespacedHelpers } from 'vuex';
  8. export default {
  9. name: 'index',
  10. props: {},
  11. components: {},
  12. data: () => {
  13. return {
  14. logo: require('@/assets/logo.png'),
  15. height: '1000px',
  16. };
  17. },
  18. mounted() {
  19. console.log('in function:');
  20. },
  21. created() {},
  22. methods: {},
  23. computed: {
  24. ...mapState(['user']),
  25. pageTitle() {
  26. return `${this.$route.meta.title}`;
  27. },
  28. },
  29. metaInfo() {
  30. return { title: this.$route.meta.title };
  31. },
  32. };
  33. </script>
  34. <style lang="less" scoped></style>