mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
提交scorm修改
This commit is contained in:
@@ -85,8 +85,8 @@
|
|||||||
<div v-if="resType == 41">
|
<div v-if="resType == 41">
|
||||||
<div style="padding: 20px;" v-html="contentData.content"></div>
|
<div style="padding: 20px;" v-html="contentData.content"></div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="resType == 50">
|
<div v-if="resType == 50" style="min-height: 500px;">
|
||||||
<iframe v-if="scormUrl" :src="scormUrl" frameborder="0" border="0px" style="width:100%;height:400px;border:0px"></iframe>
|
<iframe v-if="scormUrl" :src="scormUrl" frameborder="0" scrolling="no" border="0px" style="width:100%;height:490px;border:0px;overflow:hidden;"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="resType == 52">
|
<div v-if="resType == 52">
|
||||||
<div v-if="contentData.content != ''">
|
<div v-if="contentData.content != ''">
|
||||||
@@ -601,7 +601,7 @@
|
|||||||
if(cfrs.status==200){
|
if(cfrs.status==200){
|
||||||
this.curCFile = cfrs.result;
|
this.curCFile = cfrs.result;
|
||||||
//this.scormUrl=cfrs
|
//this.scormUrl=cfrs
|
||||||
let pars='?mode=normal';
|
let pars='?mode=normal&r='+Math.random();
|
||||||
pars+='&scormId='+this.curCFile.id;
|
pars+='&scormId='+this.curCFile.id;
|
||||||
pars+='&courseId='+this.courseId;
|
pars+='&courseId='+this.courseId;
|
||||||
pars+='&contentId='+r.id;
|
pars+='&contentId='+r.id;
|
||||||
|
|||||||
Reference in New Issue
Block a user