galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
119 lines • 8.44 kB
JSON
{
"id": "Creatlydev_fresh-goose-83",
"name": "fresh-goose-83",
"category": "buttons",
"author": "Creatlydev",
"description": "fresh-goose-83 组件 (button, arrow, text, circular, modern, purple, interactive, css, awesome, animation)",
"tags": [
"button",
"arrow",
"text",
"circular",
"modern",
"purple",
"interactive",
"css",
"awesome",
"animation"
],
"original": {
"html": "<button class=\"button\">\n <p class=\"button__text\">\n <span style=\"--index: 0;\">A</span>\n <span style=\"--index: 1;\">W</span>\n <span style=\"--index: 2;\">E</span>\n <span style=\"--index: 3;\">S</span>\n <span style=\"--index: 4;\">O</span>\n <span style=\"--index: 5;\">M</span>\n <span style=\"--index: 6;\">E</span>\n <span style=\"--index: 7;\"> </span>\n <span style=\"--index: 8;\">C</span>\n <span style=\"--index: 9;\">S</span>\n <span style=\"--index: 10;\">S</span>\n <span style=\"--index: 11;\"> </span>\n <span style=\"--index: 12;\">B</span>\n <span style=\"--index: 13;\">U</span>\n <span style=\"--index: 14;\">T</span>\n <span style=\"--index: 15;\">T</span>\n <span style=\"--index: 16;\">O</span>\n <span style=\"--index: 17;\">N</span>\n </p>\n\n <div class=\"button__circle\">\n <svg viewBox=\"0 0 14 15\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" class=\"button__icon\" width=\"14\">\n <path d=\"M13.376 11.552l-.264-10.44-10.44-.24.024 2.28 6.96-.048L.2 12.56l1.488 1.488 9.432-9.432-.048 6.912 2.304.024z\" fill=\"currentColor\"></path>\n </svg>\n\n <svg viewBox=\"0 0 14 15\" fill=\"none\" width=\"14\" xmlns=\"http://www.w3.org/2000/svg\" class=\"button__icon button__icon--copy\">\n <path d=\"M13.376 11.552l-.264-10.44-10.44-.24.024 2.28 6.96-.048L.2 12.56l1.488 1.488 9.432-9.432-.048 6.912 2.304.024z\" fill=\"currentColor\"></path>\n </svg>\n </div>\n</button>",
"css": "/* From Uiverse.io by Creatlydev - Tags: button, arrow, button, text, circular, modern, purple, interactive, css, awesome */\n.button {\n cursor: pointer;\n border: none;\n background: #7808d0;\n color: #fff;\n width: 100px;\n height: 100px;\n border-radius: 50%;\n overflow: hidden;\n position: relative;\n display: grid;\n place-content: center;\n transition:\n background 300ms,\n transform 200ms;\n font-weight: 600;\n}\n\n.button__text {\n position: absolute;\n inset: 0;\n animation: text-rotation 8s linear infinite;\n\n > span {\n position: absolute;\n transform: rotate(calc(19deg * var(--index)));\n inset: 7px;\n }\n}\n\n.button__circle {\n position: relative;\n width: 40px;\n height: 40px;\n overflow: hidden;\n background: #fff;\n color: #7808d0;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.button__icon--copy {\n position: absolute;\n transform: translate(-150%, 150%);\n}\n\n.button:hover {\n background: #000;\n transform: scale(1.05);\n}\n\n.button:hover .button__icon {\n color: #000;\n}\n\n.button:hover .button__icon:first-child {\n transition: transform 0.3s ease-in-out;\n transform: translate(150%, -150%);\n}\n\n.button:hover .button__icon--copy {\n transition: transform 0.3s ease-in-out 0.1s;\n transform: translate(0);\n}\n\n@keyframes text-rotation {\n to {\n rotate: 360deg;\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/Creatlydev_fresh-goose-83.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <text class=\"button__text\"></text>\n <text style=\"--index: 0;\">A</text>\n <text style=\"--index: 1;\">W</text>\n <text style=\"--index: 2;\">E</text>\n <text style=\"--index: 3;\">S</text>\n <text style=\"--index: 4;\">O</text>\n <text style=\"--index: 5;\">M</text>\n <text style=\"--index: 6;\">E</text>\n <text style=\"--index: 7;\"> </text>\n <text style=\"--index: 8;\">C</text>\n <text style=\"--index: 9;\">S</text>\n <text style=\"--index: 10;\">S</text>\n <text style=\"--index: 11;\"> </text>\n <text style=\"--index: 12;\">B</text>\n <text style=\"--index: 13;\">U</text>\n <text style=\"--index: 14;\">T</text>\n <text style=\"--index: 15;\">T</text>\n <text style=\"--index: 16;\">O</text>\n <text style=\"--index: 17;\">N</text>\n </p>\n\n <view class=\"button__circle\"></view>\n <view viewBox=\"0 0 14 15\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" class=\"button__icon\" width=\"14\"></view>\n <path d=\"M13.376 11.552l-.264-10.44-10.44-.24.024 2.28 6.96-.048L.2 12.56l1.488 1.488 9.432-9.432-.048 6.912 2.304.024z\" fill=\"currentColor\"></path>\n </svg>\n\n <view viewBox=\"0 0 14 15\" fill=\"none\" width=\"14\" xmlns=\"http://www.w3.org/2000/svg\" class=\"button__icon button__icon--copy\"></view>\n <path d=\"M13.376 11.552l-.264-10.44-10.44-.24.024 2.28 6.96-.048L.2 12.56l1.488 1.488 9.432-9.432-.048 6.912 2.304.024z\" fill=\"currentColor\"></path>\n </svg>\n </div>\n</button>",
"script": "export default {\n name: 'GalaxyFreshGoose83',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Creatlydev - Tags: button, arrow, button, text, circular, modern, purple, interactive, css, awesome */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n border: none;\n background: #7808d0;\n color: #fff;\n width: 200rpx;\n height: 200rpx;\n border-radius: 50%;\n overflow: hidden;\n position: relative;\n display: grid;\n place-content: center;\n transition:\n background 300ms,\n transform 200ms;\n font-weight: 600;\n}\n\n.button__text {\n position: absolute;\n inset: 0;\n animation: text-rotation 8s linear infinite;\n\n > span {\n position: absolute;\n transform: rotate(calc(19deg * var(--index)));\n inset: 14rpx;\n }\n}\n\n.button__circle {\n position: relative;\n width: 80rpx;\n height: 80rpx;\n overflow: hidden;\n background: #fff;\n color: #7808d0;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.button__icon--copy {\n position: absolute;\n transform: translate(-150%, 150%);\n}\n\n.button:hover {\n background: #000;\n transform: scale(1.05);\n}\n\n.button:hover .button__icon {\n color: #000;\n}\n\n.button:hover .button__icon:first-child {\n transition: transform 0.3s ease-in-out;\n transform: translate(150%, -150%);\n}\n\n.button:hover .button__icon--copy {\n transition: transform 0.3s ease-in-out 0.1s;\n transform: translate(0);\n}\n\n@keyframes text-rotation {\n to {\n rotate: 360deg;\n }\n}\n\n",
"component_name": "GalaxyFreshGoose83"
},
"platforms": {
"h5": true,
"mp-weixin": true,
"mp-alipay": true,
"mp-baidu": true,
"mp-toutiao": true,
"app-plus": true
},
"props": [
{
"name": "disabled",
"type": "Boolean",
"default": false,
"required": false,
"description": "是否禁用"
},
{
"name": "text",
"type": "String",
"default": "按钮",
"required": false,
"description": "按钮文字"
},
{
"name": "type",
"type": "String",
"default": "primary",
"required": false,
"description": "按钮类型"
}
],
"events": [
{
"name": "click",
"description": "点击事件",
"parameters": [
"event"
]
}
],
"slots": [
{
"name": "",
"description": "",
"props": []
}
],
"compatibility": {
"h5": {
"supported": true,
"issues": [],
"alternatives": []
},
"mp-weixin": {
"supported": true,
"issues": [
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 2747,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.994Z",
"updated_at": "2025-07-31T07:55:32.994Z"
}