Commit 481f10f4 authored by Mac's avatar Mac

1

parent ceb991ee
......@@ -134,12 +134,15 @@
//音频
fileArray.forEach(item => {
// html += '<p style="text-align:center"><iframe frameborder="0" src="' + item.fileUrl + '" allowFullScreen="true" align="center"></iframe></p>';
html += '<p><iframe height="auto" width="100%" frameborder="0" allowtransparency="true" ' +
' style="background-color:transparent;border-radius: 3px;overflow: hidden;z-index: 0;" scrolling="no" ' +
' src="http://localhost:8181/#/teacher/contribution/graphicType?fileName=' + item.fileName + '&url=' +
item.fileUrl + '&fileType=3' +
'" class="ans-insertaudio-module" module="_insertaudio">' + ' </iframe></p>';;
// html += '<p><iframe height="auto" width="100%" frameborder="0" allowtransparency="true" ' +
// ' style="background-color:transparent;border-radius: 3px;overflow: hidden;z-index: 0;" scrolling="no" ' +
// ' src="http://localhost:8181/#/teacher/contribution/graphicType?fileName=' + item.fileName + '&url=' +
// item.fileUrl + '&fileType=3' +
// '" class="ans-insertaudio-module" module="_insertaudio">' + ' </iframe></p>';
html+='<p style="text-align:center"><iframe height="62px" width="auto" frameborder="0" allowtransparency="true" ' +
' style="background-color:transparent;border-radius: 3px;overflow: hidden;z-index: 0;" scrolling="no" ' +
' src="' + this.ViewDomain + '/index.html?fileName=' + item.fileName + '&url=' + item.fileUrl +
'" class="ans-insertaudio-module" module="_insertaudio">' + ' </iframe></p>'
})
console.log(html)
if (html && html != '') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment