2022年5月29日 从svn移到git

This commit is contained in:
daihh
2022-05-29 18:59:24 +08:00
parent 9580ff8c9b
commit faa7afb65f
897 changed files with 171836 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
<template>
<!-- 自主学习详情 -->
<view class="myAssdetail-box">
<page-title :showBack="true">课程学习</page-title>
<iframe :src="urlEE" style="width: 100%;height: 100%;" :style="{'height':pageHeight}" frameborder="0"></iframe>
</view>
</template>
<script>
export default {
data(){
return{
id:'',
urlEE:'',
type:'',
pageHeight:'100%'
}
},
onLoad(options) {
//console.log(options.id)
this.id = options.id
this.type = options.type
},
mounted(){
//此页面因为没有ajax请求也没有对token的检查
this.pageHeight=(this.$height-40)+'px';
console.log('页面的高度:'+this.pageHeight);
let urlPre=window.location.protocol+'//'+window.location.host;
// if(this.type = 10){
this.urlEE= `${urlPre}/m/cdetail?id=${this.id}&type=${this.type}&inner=1`
// }
}
}
</script>
<style>
.myAssdetail-box{
width: 100%;
height: 100%;
}
body{
width: 100%;
height: 100%;
}
uni-page-body{
height: 100%;
}
</style>