UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 4.21 kB
{ "id": "RaspberryBee_warm-mouse-87", "name": "warm-mouse-87", "category": "buttons", "author": "RaspberryBee", "description": "warm-mouse-87 组件 (send, button, rounded, animation, interactive)", "tags": [ "send", "button", "rounded", "animation", "interactive" ], "original": { "html": "<button class=\"button\">\n Send\n</button>", "css": "/* From Uiverse.io by RaspberryBee - Tags: send, button, rounded */\n.button {\n height: 2em;\n width: 5em;\n border-radius: 1em;\n border: 0.1rem solid transparent;\n background-color: rgb(64, 146, 239);\n transition: 0.3s;\n font-size: 1em;\n}\n\n.button:hover {\n cursor: pointer;\n transform: scale(1.05) rotate(3deg);\n}\n\n.button:active {\n animation: borderMove 0.5s forwards;\n transform: scale(0.9) rotate(-3deg);\n background-color: rgb(0, 0, 0);\n color: rgb(64, 146, 239);\n border: 0.1rem solid rgb(38, 103, 224);\n}\n\n@keyframes borderMove {\n 0% {\n border-width: 0.1rem;\n transform: scale(1) rotate(0deg);\n }\n\n 50% {\n border-width: 0.4rem;\n transform: scale(0.9) rotate(-3deg);\n }\n\n 100% {\n border-width: 0.15rem;\n transform: scale(1) rotate(0deg);\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/RaspberryBee_warm-mouse-87.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n Send\n</button>", "script": "export default {\n name: 'GalaxyWarmMouse87',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by RaspberryBee - Tags: send, button, rounded */\n.button {\n height: 2em;\n width: 5em;\n border-radius: 1em;\n border: 0.1rem solid transparent;\n background-color: rgb(64, 146, 239);\n transition: 0.3s;\n font-size: 1em;\n}\n\n.button:hover {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transform: scale(1.05) rotate(3deg);\n}\n\n.button:active {\n animation: borderMove 0.5s forwards;\n transform: scale(0.9) rotate(-3deg);\n background-color: rgb(0, 0, 0);\n color: rgb(64, 146, 239);\n border: 0.1rem solid rgb(38, 103, 224);\n}\n\n@keyframes borderMove {\n 0% {\n border-width: 0.1rem;\n transform: scale(1) rotate(0deg);\n }\n\n 50% {\n border-width: 0.4rem;\n transform: scale(0.9) rotate(-3deg);\n }\n\n 100% {\n border-width: 0.15rem;\n transform: scale(1) rotate(0deg);\n }\n}\n\n", "component_name": "GalaxyWarmMouse87" }, "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": [ "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 828, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.417Z", "updated_at": "2025-07-31T07:55:34.417Z" }