From 66c1a4a0c979d532c851939572d9945bad0e3eaf Mon Sep 17 00:00:00 2001 From: 15820893422 <1978476055@qq.com> Date: Fri, 10 May 2024 17:40:38 +0800 Subject: [PATCH] edit --- src/components/uploadPicture/index.vue | 3 ++ .../uploadPicture/uploadFrom/index.js | 4 +- .../uploadPicture/uploadFrom/index.vue | 7 ++-- src/components/uploadVideo/index.vue | 4 +- src/views/order/orderInvoice/index.vue | 18 ++++----- src/views/product/addProduct/index.vue | 7 ---- src/views/product/productList/index.vue | 4 +- src/views/product/productList/proDetails.vue | 37 +++++++++++++++++-- .../systemForm/setSystem/modifyStoreInfo.vue | 6 +-- 9 files changed, 60 insertions(+), 30 deletions(-) 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 @@ - +