|
@@ -207,6 +207,7 @@ export default defineComponent({
|
|
url:
|
|
url:
|
|
item.type === 'SONG'
|
|
item.type === 'SONG'
|
|
? 'https://oss.dayaedu.com/ktqy/1698420034679a22d3f7a.png'
|
|
? 'https://oss.dayaedu.com/ktqy/1698420034679a22d3f7a.png'
|
|
|
|
+ : item.type === 'PPT' ? 'https://oss.dayaedu.com/ktqy/12/1701914331665.png'
|
|
: item.coverImg
|
|
: item.coverImg
|
|
};
|
|
};
|
|
});
|
|
});
|
|
@@ -811,6 +812,7 @@ export default defineComponent({
|
|
activeData.nowTime = Date.now();
|
|
activeData.nowTime = Date.now();
|
|
}}>
|
|
}}>
|
|
{m.type === 'IMG' && <img src={m.content} />}
|
|
{m.type === 'IMG' && <img src={m.content} />}
|
|
|
|
+ {m.type === 'PPT' && <iframe src={`https://view.officeapps.live.com/op/embed.aspx?src=${encodeURIComponent(m.content)}`} width='100%' height='100%' frameborder='1'></iframe>}
|
|
{m.type === 'VIDEO' && (
|
|
{m.type === 'VIDEO' && (
|
|
<img
|
|
<img
|
|
src={m.coverImg}
|
|
src={m.coverImg}
|