CloudSchool.vue 636 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. <IframeWrap
  3. class="cloud-school"
  4. :url="url"
  5. :need-back-btn="false"
  6. @back="onClickBack"
  7. />
  8. </template>
  9. <script setup>
  10. import { ref, computed, watch, onMounted } from "vue"
  11. import { useRoute, useRouter } from "vue-router"
  12. import { useStore } from "vuex"
  13. import IframeWrap from '@/components/IframeWrap.vue'
  14. const route = useRoute()
  15. const router = useRouter()
  16. const store = useStore()
  17. const url = ref(`https://app.4dage.com/projects/wxcs/web/index.html?platform=h5&name=${store.state.userInfo.userName}&scene=0`)
  18. </script>
  19. <style lang="less" scoped>
  20. .cloud-school{
  21. }
  22. </style>