stylus 语法换成 saas 语法

This commit is contained in:
GeekMaster
2025-08-01 17:32:06 +08:00
parent 068b5ddeef
commit 54f8494b5c
145 changed files with 8445 additions and 8446 deletions

View File

@@ -10,34 +10,34 @@
</div>
</template>
<script setup>
import { useRouter } from "vue-router";
import { computed, ref, onMounted } from "vue";
import { computed, ref } from 'vue'
import { useRouter } from 'vue-router'
const loading = ref(true);
const router = useRouter();
const loading = ref(true)
const router = useRouter()
const externalUrl = computed(() => {
loading.value = true;
return router.currentRoute.value.query.url || "about:blank";
});
loading.value = true
return router.currentRoute.value.query.url || 'about:blank'
})
// 设置标题
document.title = router.currentRoute.value.query.title;
document.title = router.currentRoute.value.query.title
const onIframeLoad = () => {
loading.value = false;
};
loading.value = false
}
</script>
<style scoped lang="stylus">
<style scoped lang="scss">
.page-iframe {
width 100%
height 100vh
overflow hidden
width: 100%;
height: 100vh;
overflow: hidden;
.iframe {
width 100%
height 100%
border none
width: 100%;
height: 100%;
border: none;
}
}
</style>