课程说明云点播

This commit is contained in:
@fawn-nine
2024-06-19 16:10:36 +08:00
parent 93dd4dfd41
commit de7e4fb7d7
11 changed files with 4291 additions and 261 deletions

View File

@@ -112,7 +112,12 @@
this.$emit('support',{index1,index,val})
},
getBackGround(src){
// console.log(src,'src')
if(src == '' || src == null){
return `background: url(./static/icon/morenAvavter.png); background-size: cover;`
}else{
return `background: url(${src});background-size: cover;`
}
},
formatRichText(html) { //控制图片大小
let newContent = html.replace(/<img[^>]*>/gi, function(match, capture) {