UNPKG

galaxy-uniapp-mcp-server

Version:

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

112 lines 4.25 kB
{ "id": "Rodrypaladin_ordinary-vampirebat-21", "name": "ordinary-vampirebat-21", "category": "buttons", "author": "Rodrypaladin", "description": "ordinary-vampirebat-21 组件 (simple, animation, blue, button, css, css effect, interactive)", "tags": [ "simple", "animation", "blue", "button", "css", "css effect", "interactive" ], "original": { "html": "<button class=\"button\">\n Button\n</button>", "css": "/* From Uiverse.io by Rodrypaladin - Tags: simple, animation, blue, button, css, css effect */\n.button {\n padding: 10px 20px;\n font-size: 1.1rem;\n background-color: rgb(74, 153, 255);\n border: none;\n color: white;\n position: relative;\n width: 120px;\n height: 45px;\n transition: background-color 0.2s ease-in, all 0.15s ease-in;\n}\n\nbutton::after {\n display: flex;\n align-items: center;\n justify-content: center;\n content: \"Button\";\n width: 120px;\n height: 45px;\n position: absolute;\n top: 0;\n left: 0;\n transform: translate(5px, 5px);\n background-color: rgb(1, 111, 255);\n transition: all 0.15s ease-in;\n}\n\nbutton:hover::after {\n transform: translate(-5px, -6px);\n}\n\nbutton:hover {\n transform: translate(5px, 5px);\n}\n\nbutton:active::after {\n background-color: rgb(0, 83, 192);\n}", "file_path": "/mnt/persist/workspace/Buttons/Rodrypaladin_ordinary-vampirebat-21.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n Button\n</button>", "script": "export default {\n name: 'GalaxyOrdinaryVampirebat21',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Rodrypaladin - Tags: simple, animation, blue, button, css, css effect */\n.button {\n padding: 20rpx 40rpx;\n font-size: 1.1rem;\n background-color: rgb(74, 153, 255);\n border: none;\n color: white;\n position: relative;\n width: 240rpx;\n height: 90rpx;\n transition: background-color 0.2s ease-in, all 0.15s ease-in;\n}\n\nbutton::after {\n display: flex;\n align-items: center;\n justify-content: center;\n content: \"Button\";\n width: 240rpx;\n height: 90rpx;\n position: absolute;\n top: 0;\n left: 0;\n transform: translate(10rpx, 10rpx);\n background-color: rgb(1, 111, 255);\n transition: all 0.15s ease-in;\n}\n\nbutton:hover::after {\n transform: translate(-10rpx, -12rpx);\n}\n\nbutton:hover {\n transform: translate(10rpx, 10rpx);\n}\n\nbutton:active::after {\n background-color: rgb(0, 83, 192);\n}\n", "component_name": "GalaxyOrdinaryVampirebat21" }, "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": [], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 847, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.455Z", "updated_at": "2025-07-31T07:55:34.455Z" }