添加学习项目

This commit is contained in:
daihh
2022-12-19 15:19:07 +08:00
parent 284de8043f
commit c2185cb5af
3 changed files with 32 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
<template>
<!--学习项目-->
<div class="box">
<iframe id="studyPathFrame" src="/fe-student/projectManage" style="width: 100%;height: 800px;" frameborder="0"></iframe>
</div>
</template>
<script>
export default{
mounted() {
const oIframe = document.getElementById('studyPathFrame');
//const deviceWidth = document.documentElement.clientWidth;
const deviceHeight = document.documentElement.clientHeight;
//oIframe.style.width = (Number(deviceWidth)-220) + 'px'; //数字是页面布局宽度差值
//oIframe.style.height = (Number(deviceHeight)-300) + 'px'; //数字是页面布局高度差
}
}
</script>
<style lang="scss">
.box{
// width: 100%;
height: 100%;
}
</style>