UNPKG

galaxy-uniapp-mcp-server

Version:

Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成

114 lines 4.42 kB
{ "id": "Bodyhc_itchy-dragonfly-35", "name": "itchy-dragonfly-35", "category": "buttons", "author": "Bodyhc", "description": "itchy-dragonfly-35 组件 (button, bootsrap button, business, 3d button, interactive)", "tags": [ "button", "bootsrap button", "business", "3d button", "interactive" ], "original": { "html": "<button class=\"button\">\n CLICK ME\n</button>", "css": "/* From Uiverse.io by Bodyhc - Tags: button, bootsrap button, business, 3d button */\nbutton {\n --color: #560bad;\n background-color: #fff;\n font-family: inherit;\n display: inline-block;\n width: 8em;\n height: 2.6em;\n line-height: 2.5em;\n margin: 20px;\n position: relative;\n overflow: hidden;\n border: 2px solid var(--color);\n transition: color .5s;\n z-index: 1;\n font-size: 17px;\n border-radius: 6px;\n font-weight: 500;\n cursor: pointer;\n color: var(--color);\n}\n\nbutton:before {\n content: \"\";\n position: absolute;\n z-index: -1;\n background: var(--color);\n height: 150px;\n width: 200px;\n border-radius: 50px;\n bottom: 100%;\n right: 100%;\n transition: .8s ease;\n}\n\nbutton:hover {\n color: #fff;\n}\n\nbutton:hover:before {\n bottom: -30px;\n left: -30px;\n}\n\nbutton:active:before {\n background: #3a0ca3;\n transition: background 2s;\n}", "file_path": "/mnt/persist/workspace/Buttons/Bodyhc_itchy-dragonfly-35.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n CLICK ME\n</button>", "script": "export default {\n name: 'GalaxyItchyDragonfly35',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Bodyhc - Tags: button, bootsrap button, business, 3d button */\nbutton {\n --color: #560bad;\n background-color: #fff;\n font-family: inherit;\n display: inline-block;\n width: 8em;\n height: 2.6em;\n line-height: 2.5em;\n margin: 40rpx;\n position: relative;\n overflow: hidden;\n border: 4rpx solid var(--color);\n transition: color .5s;\n z-index: 1;\n font-size: 34rpx;\n border-radius: 12rpx;\n font-weight: 500;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n color: var(--color);\n}\n\nbutton:before {\n content: \"\";\n position: absolute;\n z-index: -1;\n background: var(--color);\n height: 300rpx;\n width: 400rpx;\n border-radius: 100rpx;\n bottom: 100%;\n right: 100%;\n transition: .8s ease;\n}\n\nbutton:hover {\n color: #fff;\n}\n\nbutton:hover:before {\n bottom: -60rpx;\n left: -60rpx;\n}\n\nbutton:active:before {\n background: #3a0ca3;\n transition: background 2s;\n}\n", "component_name": "GalaxyItchyDragonfly35" }, "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": "low", "bundle_size": 903, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.779Z", "updated_at": "2025-07-31T07:55:32.779Z" }