UNPKG

galaxy-uniapp-mcp-server

Version:

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

113 lines 3.84 kB
{ "id": "gksckt_moody-dragonfly-90", "name": "moody-dragonfly-90", "category": "buttons", "author": "gksckt", "description": "moody-dragonfly-90 组件 (button, interactive)", "tags": [ "button", "interactive" ], "original": { "html": "<button class=\"btn\">Hover Me</button>", "css": "/* From Uiverse.io by gksckt - Tags: button */\n.main {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.btn {\n width: 170px;\n height: 60px;\n font-size: 18px;\n background: #fff;\n border: none;\n border-radius: 50px;\n color: #000;\n outline: none;\n cursor: pointer;\n transition: all 0.4s;\n}\n\n.btn:hover {\n box-shadow: inset 0 0 0 4px #ef476f, \n inset 0 0 0 8px #ffd166, \n inset 0 0 0 12px #06d6a0,\n inset 0 0 0 16px #118ab2;\n background: #073b4c;\n color: #fff;\n}", "file_path": "/mnt/persist/workspace/Buttons/gksckt_moody-dragonfly-90.html" }, "uniapp": { "template": "<button class=\"btn\"></button>Hover Me</button>", "script": "export default {\n name: 'GalaxyMoodyDragonfly90',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by gksckt - Tags: button */\n.main {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.btn {\n width: 340rpx;\n height: 120rpx;\n font-size: 36rpx;\n background: #fff;\n border: none;\n border-radius: 100rpx;\n color: #000;\n outline: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.4s;\n}\n\n.btn:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 0 8rpx #ef476f, \n inset 0 0 0 16rpx #ffd166, \n inset 0 0 0 24rpx #06d6a0,\n inset 0 0 0 32rpx #118ab2;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background: #073b4c;\n color: #fff;\n}\n", "component_name": "GalaxyMoodyDragonfly90" }, "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": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "low", "bundle_size": 573, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.885Z", "updated_at": "2025-07-31T07:55:36.885Z" }