UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 4.27 kB
{ "id": "bandirevanth_tame-fox-42", "name": "tame-fox-42", "category": "buttons", "author": "bandirevanth", "description": "tame-fox-42 组件 (button, gradient, interactive)", "tags": [ "button", "gradient", "interactive" ], "original": { "html": "<button class=\"custom-btn btn-1\">Hello!</button>", "css": "/* From Uiverse.io by bandirevanth - Tags: button */\n.custom-btn {\n width: 130px;\n height: 40px;\n color: #fff;\n border-radius: 5px;\n padding: 10px 25px;\n font-family: 'Lato', sans-serif;\n font-weight: 500;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n position: relative;\n display: inline-block;\n box-shadow: inset 2px 2px 2px 0px rgba(255,255,255,.5),\n 7px 7px 20px 0px rgba(0,0,0,.1),\n 4px 4px 5px 0px rgba(0,0,0,.1);\n outline: none;\n}\n\n.btn-1 {\n background: rgb(6,14,131);\n background: linear-gradient(0deg, rgba(6,14,131,1) 0%, rgba(12,25,180,1) 100%);\n border: none;\n}\n\n.btn-1:hover {\n background: rgb(0,3,255);\n background: linear-gradient(0deg, rgb(0, 17, 255) 0%, rgba(2,126,251,1) 100%);\n}", "file_path": "/mnt/persist/workspace/Buttons/bandirevanth_tame-fox-42.html" }, "uniapp": { "template": "<button class=\"custom-btn btn-1\"></button>Hello!</button>", "script": "export default {\n name: 'GalaxyTameFox42',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by bandirevanth - Tags: button */\n.custom-btn {\n width: 260rpx;\n height: 80rpx;\n color: #fff;\n border-radius: 10rpx;\n padding: 20rpx 50rpx;\n font-family: 'Lato', sans-serif;\n font-weight: 500;\n background: transparent;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.3s ease;\n position: relative;\n display: inline-block;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 4rpx 4rpx 4rpx 0rpx rgba(255,255,255,.5),\n 14rpx 14rpx 40rpx 0rpx rgba(0,0,0,.1),\n 8rpx 8rpx 10rpx 0rpx rgba(0,0,0,.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n outline: none;\n}\n\n.btn-1 {\n background: rgb(6,14,131);\n background: linear-gradient(0deg, rgba(6,14,131,1) 0%, rgba(12,25,180,1) 100%);\n border: none;\n}\n\n.btn-1:hover {\n background: rgb(0,3,255);\n background: linear-gradient(0deg, rgb(0, 17, 255) 0%, rgba(2,126,251,1) 100%);\n}\n", "component_name": "GalaxyTameFox42" }, "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": 781, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.825Z", "updated_at": "2025-07-31T07:55:35.825Z" }