diff --git a/src/ibp/utils/parser.js b/src/ibp/utils/parser.js index fec9ab6f8..7f3aa3ee4 100644 --- a/src/ibp/utils/parser.js +++ b/src/ibp/utils/parser.js @@ -2,7 +2,6 @@ import * as zrUtil from 'zrender/src/core/util'; import * as matrix from 'zrender/src/core/matrix'; import deviceType from '../constant/deviceType'; import deviceRender from '../constant/deviceRender'; -import store from '@/store'; export function createTransform(opts) { let transform = matrix.create(); @@ -77,43 +76,3 @@ export function parser(data, config) { return ibpDevice; } - -export function updateIbpData(device, type) { - const ibpData = store.getters['ibp/ibp']; - switch (device.type) { - case deviceType.Background : { - ibpData.background = device; - break; - } - case deviceType.IbpText : { - if (ibpData.textList && ibpData.textList.length > 0) { - for (let i=0; i 0) { - for (let i=0; i +
+ + + + + + + + + 立即创建 + 取消 + + +
+ + + + diff --git a/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpAppendageBox.vue b/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpAppendageBox.vue new file mode 100644 index 000000000..5958b3a06 --- /dev/null +++ b/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpAppendageBox.vue @@ -0,0 +1,65 @@ + + + + diff --git a/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpArrow.vue b/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpArrow.vue new file mode 100644 index 000000000..c2944394d --- /dev/null +++ b/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpArrow.vue @@ -0,0 +1,78 @@ + + + + diff --git a/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpButton.vue b/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpButton.vue index 4a076a55c..c8c38b73a 100644 --- a/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpButton.vue +++ b/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpButton.vue @@ -30,18 +30,19 @@ data() { return { form: { - bgWidth: '', - bgHeight: '' + buttonColor: '', + buttonWidth: '', + buttonHeight: '' }, rules: { buttonColor: [ { required: true, message: '请选择按钮颜色', trigger: 'change'} ], buttonWidth: [ - { required: true, message: '请输入背景板宽度', trigger: 'blur' }, + { required: true, message: '请输入按钮宽度', trigger: 'blur' }, ], buttonHeight: [ - { required: true, message: '请输入背景板高度', trigger: 'blur' }, + { required: true, message: '请输入按钮高度', trigger: 'blur' }, ] } }; diff --git a/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpCLamp.vue b/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpCLamp.vue new file mode 100644 index 000000000..81032a2c0 --- /dev/null +++ b/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpCLamp.vue @@ -0,0 +1,78 @@ + + + + diff --git a/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpLamp.vue b/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpLamp.vue deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpRotatingButton.vue b/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpRotatingButton.vue new file mode 100644 index 000000000..d0d5643e4 --- /dev/null +++ b/src/views/ibp/ibpDraft/ibpEdit/ibpOperate/ibpRotatingButton.vue @@ -0,0 +1,65 @@ + + + +