UNPKG

galaxy-uniapp-mcp-server

Version:

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

112 lines 3.67 kB
{ "id": "adamgiebl_big-moose-23", "name": "big-moose-23", "category": "buttons", "author": "adamgiebl", "description": "big-moose-23 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button> Button\n</button>", "css": "/* From Uiverse.io by adamgiebl - Tags: button */\nbutton {\n position: relative;\n padding: 10px 40px;\n margin: 0px 10px 10px 0px;\n float: left;\n border-radius: 3px;\n font-size: 20px;\n color: #FFF;\n text-decoration: none;\n background-color: #2ecc71;\n border: none;\n border-bottom: 5px solid #27ae60;\n text-shadow: 0px -2px #27ae60;\n -webkit-transition: all 0.1s;\n transition: all 0.1s;\n}\n\nbutton:hover, button:active {\n -webkit-transform: translate(0px,5px);\n -ms-transform: translate(0px,5px);\n transform: translate(0px,5px);\n border-bottom: 1px solid #2ecc71;\n}", "file_path": "/mnt/persist/workspace/Buttons/adamgiebl_big-moose-23.html" }, "uniapp": { "template": "<button></button> Button\n</button>", "script": "export default {\n name: 'GalaxyBigMoose23',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by adamgiebl - Tags: button */\nbutton {\n position: relative;\n padding: 20rpx 80rpx;\n margin: 0rpx 20rpx 20rpx 0rpx;\n float: left;\n border-radius: 6rpx;\n font-size: 40rpx;\n color: #FFF;\n text-decoration: none;\n background-color: #2ecc71;\n border: none;\n border-bottom: 10rpx solid #27ae60;\n /* #ifdef H5 */\n text-shadow: 0rpx -4rpx #27ae60;\n /* #endif */\n -webkit-transition: all 0.1s;\n transition: all 0.1s;\n}\n\nbutton:hover, button:active {\n -webkit-transform: translate(0rpx,10rpx);\n -ms-transform: translate(0rpx,10rpx);\n transform: translate(0rpx,10rpx);\n border-bottom: 2rpx solid #2ecc71;\n}\n", "component_name": "GalaxyBigMoose23" }, "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": [ "不支持 text-shadow 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 text-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 590, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.418Z", "updated_at": "2025-07-31T07:55:35.418Z" }