diff --git a/src/components/uploadPicture/index.vue b/src/components/uploadPicture/index.vue index 243d1ee..c913761 100644 --- a/src/components/uploadPicture/index.vue +++ b/src/components/uploadPicture/index.vue @@ -949,4 +949,7 @@ export default { font-size: 12px; white-space: nowrap; } +::v-deep.el-radio-group{ + vertical-align: top; +} diff --git a/src/components/uploadPicture/uploadFrom/index.js b/src/components/uploadPicture/uploadFrom/index.js index e412d3c..b30fb36 100644 --- a/src/components/uploadPicture/uploadFrom/index.js +++ b/src/components/uploadPicture/uploadFrom/index.js @@ -14,10 +14,12 @@ uploadFrom.install = function (Vue, options) { const instance = new ToastConstructor() instance.$mount(document.createElement('div')) document.body.appendChild(instance.$el) - Vue.prototype.$modalUpload = function (callback, isMore) { + Vue.prototype.$modalUpload = function (callback, isMore, isPage) { instance.visible = true + console.log(instance); instance.callback = callback instance.isMore = isMore + instance.isPage = isPage } } export default uploadFrom diff --git a/src/components/uploadPicture/uploadFrom/index.vue b/src/components/uploadPicture/uploadFrom/index.vue index 0c59d33..83186a9 100644 --- a/src/components/uploadPicture/uploadFrom/index.vue +++ b/src/components/uploadPicture/uploadFrom/index.vue @@ -3,10 +3,10 @@ - + @@ -21,7 +21,8 @@ export default { return { visible: false, callback: function() {}, - isMore: '' + isMore: '', + isPage:false } }, watch: { diff --git a/src/components/uploadVideo/index.vue b/src/components/uploadVideo/index.vue index 5c81e2c..666c470 100644 --- a/src/components/uploadVideo/index.vue +++ b/src/components/uploadVideo/index.vue @@ -92,8 +92,10 @@ export default { if(this.isDiy){ this.$emit('getVideo',this.formValidate.video_link) }else if(nowEditor){ + let video_html = `

` nowEditor.dialog.close(true) - nowEditor.editor.setContent("", true) + nowEditor.editor.execCommand("insertHtml", video_html); + // nowEditor.editor.setContent(`


`, true) } } diff --git a/src/views/order/orderInvoice/index.vue b/src/views/order/orderInvoice/index.vue index d74d670..4e9ea9c 100644 --- a/src/views/order/orderInvoice/index.vue +++ b/src/views/order/orderInvoice/index.vue @@ -1,7 +1,7 @@ - +