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.自定义组件名称列表 = 自定义组件名称列表