UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 4.03 kB
{ "id": "Mike11jr_soft-mayfly-11", "name": "soft-mayfly-11", "category": "buttons", "author": "Mike11jr", "description": "soft-mayfly-11 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button class=\"btn\">Hover Me!\n</button>", "css": "/* From Uiverse.io by Mike11jr - Tags: button */\n.btn {\n width: 130px;\n height: 40px;\n font-size: 1.1em;\n cursor: pointer;\n background-color: #171717;\n color: #fff;\n border: none;\n border-radius: 5px;\n transition: all .4s;\n}\n\n.btn:hover {\n border-radius: 5px;\n transform: translateY(-10px);\n box-shadow: 0 7px 0 -2px #f85959,\n 0 15px 0 -4px #39a2db,\n 0 16px 10px -3px #39a2db;\n}\n\n.btn:active {\n transition: all 0.2s;\n transform: translateY(-5px);\n box-shadow: 0 2px 0 -2px #f85959,\n 0 8px 0 -4px #39a2db,\n 0 12px 10px -3px #39a2db;\n}", "file_path": "/mnt/persist/workspace/Buttons/Mike11jr_soft-mayfly-11.html" }, "uniapp": { "template": "<button class=\"btn\"></button>Hover Me!\n</button>", "script": "export default {\n name: 'GalaxySoftMayfly11',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Mike11jr - Tags: button */\n.btn {\n width: 260rpx;\n height: 80rpx;\n font-size: 1.1em;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n background-color: #171717;\n color: #fff;\n border: none;\n border-radius: 10rpx;\n transition: all .4s;\n}\n\n.btn:hover {\n border-radius: 10rpx;\n transform: translateY(-20rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 14rpx 0 -4rpx #f85959,\n 0 30rpx 0 -8rpx #39a2db,\n 0 32rpx 20rpx -6rpx #39a2db;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.btn:active {\n transition: all 0.2s;\n transform: translateY(-10rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 4rpx 0 -4rpx #f85959,\n 0 16rpx 0 -8rpx #39a2db,\n 0 24rpx 20rpx -6rpx #39a2db;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n", "component_name": "GalaxySoftMayfly11" }, "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": "medium", "bundle_size": 580, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.969Z", "updated_at": "2025-07-31T07:55:33.969Z" }