Commit 83a966f9 authored by wangwei's avatar wangwei

Revert: Merge branch 'master' into my

parent 60402fb4
...@@ -26,12 +26,7 @@ ...@@ -26,12 +26,7 @@
<div class="dialog-card"> <div class="dialog-card">
序号:{{index}} 序号:{{index}}
</div> </div>
<img :src="moIMG.lookUrl" v-if="data.key === 'look1'" class="image"> <img :src="data.imgUrl" class="image">
<img :src="moIMG.playRadioUrl" v-if="data.key === 'radio1'" class="image">
<img :src="moIMG.playVideoUrl" v-if="data.key === 'play1'" class="image">
<img :src="moIMG.RefuelingUrl" v-if="data.key === 'refueling1'" class="image">
<img :src="moIMG.showBabyUrl" v-if="data.key === 'show1'" class="image">
<img :src="moIMG.RefuelingUrl2" v-if="data.key === 'refueling2'" class="image">
</el-card> </el-card>
</div> </div>
</div> </div>
...@@ -794,12 +789,7 @@ ...@@ -794,12 +789,7 @@
<script> <script>
import mouldImg from '../../util/mouldImgUrl' import mouldImg from '../../util/mouldImgUrl'
import {uploadFileApi} from "../../service/api"; import {uploadFileApi} from "../../service/api";
import lookUrl from '../../assets/mould/example/look.png'
import playRadioUrl from '../../assets/mould/example/playRadio.png'
import playVideoUrl from '../../assets/mould/example/playVideo.png'
import RefuelingUrl from '../../assets/mould/example/Refueling.png'
import showBabyUrl from '../../assets/mould/example/showBaby.png'
import RefuelingUrl2 from '../../assets/mould/example/RefuelingUrl2.png'
export default { export default {
name: "editor", name: "editor",
props:[ props:[
...@@ -808,14 +798,6 @@ ...@@ -808,14 +798,6 @@
], ],
data(){ data(){
return { return {
moIMG:{
lookUrl:lookUrl,
playRadioUrl:playRadioUrl,
playVideoUrl:playVideoUrl,
RefuelingUrl:RefuelingUrl,
showBabyUrl:showBabyUrl,
RefuelingUrl2:RefuelingUrl2
},
// 放大缩小参数 // 放大缩小参数
bigNum:50, bigNum:50,
// 弹窗参数 // 弹窗参数
......
This diff is collapsed.
...@@ -180,6 +180,7 @@ ...@@ -180,6 +180,7 @@
}); });
return false return false
} }
let str = `<p style="text-align: center"><img class="mce-object mce-object-audio" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="280" height="55" data-mce-p-controls="controls" data-mce-html="%0A%3Csource%20src%3D%22https%3A//cdn.singsingenglish.com/${this.radio[0].url}%22%20type%3D%22audio/mpeg%22%20/%3E" data-mce-object="audio"></p>`; let str = `<p style="text-align: center"><img class="mce-object mce-object-audio" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="280" height="55" data-mce-p-controls="controls" data-mce-html="%0A%3Csource%20src%3D%22https%3A//cdn.singsingenglish.com/${this.radio[0].url}%22%20type%3D%22audio/mpeg%22%20/%3E" data-mce-object="audio"></p>`;
console.log(str); console.log(str);
this.insertContent(str); this.insertContent(str);
......
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