UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 3.8 kB
{ "id": "hakemdamer222_funny-ape-73", "name": "funny-ape-73", "category": "buttons", "author": "hakemdamer222", "description": "funny-ape-73 组件 (simple, purple, button, animation, gradient)", "tags": [ "simple", "purple", "button", "animation", "gradient" ], "original": { "html": "<button>\n Click Me\n</button>", "css": "/* From Uiverse.io by hakemdamer222 - Tags: simple, purple, button */\nbutton, button:focus {\n font-size: 17px;\n padding: 10px 25px;\n border-radius: 0.7rem;\n background-image: linear-gradient(rgb(214, 202, 254), rgb(158, 129, 254));\n border: 2px solid rgb(50, 50, 50);\n border-bottom: 5px solid rgb(50, 50, 50);\n box-shadow: 0px 1px 6px 0px rgb(158, 129, 254);\n transform: translate(0, -3px);\n transition: 0.2s;\n transition-timing-function: linear;\n}\n\nbutton:active {\n transform: translate(0, 0);\n border-bottom: 2px solid rgb(50, 50, 50);\n}", "file_path": "/mnt/persist/workspace/Buttons/hakemdamer222_funny-ape-73.html" }, "uniapp": { "template": "<button></button>\n Click Me\n</button>", "script": "export default {\n name: 'GalaxyFunnyApe73',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by hakemdamer222 - Tags: simple, purple, button */\nbutton, button:focus {\n font-size: 34rpx;\n padding: 20rpx 50rpx;\n border-radius: 0.7rem;\n background-image: linear-gradient(rgb(214, 202, 254), rgb(158, 129, 254));\n border: 4rpx solid rgb(50, 50, 50);\n border-bottom: 10rpx solid rgb(50, 50, 50);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 2rpx 12rpx 0rpx rgb(158, 129, 254);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translate(0, -6rpx);\n transition: 0.2s;\n transition-timing-function: linear;\n}\n\nbutton:active {\n transform: translate(0, 0);\n border-bottom: 4rpx solid rgb(50, 50, 50);\n}\n", "component_name": "GalaxyFunnyApe73" }, "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 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 585, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.914Z", "updated_at": "2025-07-31T07:55:36.914Z" }