From 20dc7796cc5e8bf10aa9e00e396ea559d759b651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9A=E5=95=A6b=E6=A2=A6?= <1715109585@qq.com> Date: Wed, 13 Dec 2023 21:34:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83,=E5=A2=9E=E5=8A=A0=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E7=BB=84=E4=BB=B6=E7=82=AB=E5=BD=A9=E6=96=87?= =?UTF-8?q?=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ColorfulText/ColorfulText.js" | 18 +++ .../ColorfulText/ColorfulText.vue" | 107 ++++++++++++++++++ .../ColorfulText/ColorfulTextAttr.vue" | 36 ++++++ GoEasyDesigner/frontend/src/main.js | 6 + 4 files changed, 167 insertions(+) create mode 100644 "GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/ColorfulText/ColorfulText.js" create mode 100644 "GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/ColorfulText/ColorfulText.vue" create mode 100644 "GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/ColorfulText/ColorfulTextAttr.vue" diff --git "a/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/ColorfulText/ColorfulText.js" "b/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/ColorfulText/ColorfulText.js" new file mode 100644 index 0000000..f9ed358 --- /dev/null +++ "b/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/ColorfulText/ColorfulText.js" @@ -0,0 +1,18 @@ + +export default { + top: "150", + left: "440", + width: "400", + height: "80", + no_place: true, + visible: true, + disable: false, + zIndex: 0, + customListening:true, + + fontSize: "48px", + data:{ + title: "Go Easy Designer", + }, + html:"" +} diff --git "a/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/ColorfulText/ColorfulText.vue" "b/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/ColorfulText/ColorfulText.vue" new file mode 100644 index 0000000..9c03b05 --- /dev/null +++ "b/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/ColorfulText/ColorfulText.vue" @@ -0,0 +1,107 @@ + + + + \ No newline at end of file diff --git "a/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/ColorfulText/ColorfulTextAttr.vue" "b/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/ColorfulText/ColorfulTextAttr.vue" new file mode 100644 index 0000000..78c2f2b --- /dev/null +++ "b/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/ColorfulText/ColorfulTextAttr.vue" @@ -0,0 +1,36 @@ + + + diff --git a/GoEasyDesigner/frontend/src/main.js b/GoEasyDesigner/frontend/src/main.js index e17d95e..0476be2 100644 --- a/GoEasyDesigner/frontend/src/main.js +++ b/GoEasyDesigner/frontend/src/main.js @@ -64,6 +64,12 @@ let 自定义组件名称列表 = [] 组件默认属性: "./自定义组件/TimeProgressBar/TimeProgressBar.js", 组件属性框: "./自定义组件/TimeProgressBar/TimeProgressBarAttr.vue", }) +自定义组件名称列表.push({ + componentName: "ColorfulText", + 组件路径: "./自定义组件/ColorfulText/ColorfulText.vue", + 组件默认属性: "./自定义组件/ColorfulText/ColorfulText.js", + 组件属性框: "./自定义组件/ColorfulText/ColorfulTextAttr.vue", +}) console.log("自定义组件名称列表", JSON.stringify(自定义组件名称列表)) app.config.globalProperties.自定义组件名称列表 = 自定义组件名称列表