UNPKG

galaxy-uniapp-mcp-server

Version:

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

109 lines 4.91 kB
{ "id": "mateusneves_stupid-husky-53", "name": "stupid-husky-53", "category": "buttons", "author": "mateusneves", "description": "stupid-husky-53 组件 (button, animation, gradient, interactive)", "tags": [ "button", "animation", "gradient", "interactive" ], "original": { "html": "<button>\n <span class=\"label\">Next</span>\n <span class=\"icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\"><path fill=\"none\" d=\"M0 0h24v24H0z\"></path><path fill=\"currentColor\" d=\"M16.172 11l-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2z\"></path></svg>\n </span>\n</button>", "css": "/* From Uiverse.io by mateusneves - Tags: button */\nbutton {\n position: relative;\n font-size: 14px;\n letter-spacing: 3px;\n height: 3em;\n padding: 0 3em;\n border: none;\n background-color: #c41b54;\n color: #fff;\n text-transform: uppercase;\n overflow: hidden;\n border-radius: 5px\n}\n\nbutton::before {\n content: '';\n display: block;\n position: absolute;\n z-index: 0;\n bottom: 0;\n left: 0;\n height: 0px;\n width: 100%;\n background: rgb(196,27,84);\n background: linear-gradient(90deg, rgba(196,27,84,1) 20%, rgba(124,7,46,1) 100%);\n transition: 0.2s;\n}\n\nbutton .label {\n position: relative;\n}\n\nbutton .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 3em;\n width: 3em;\n position: absolute;\n top: 3em;\n right: 0;\n opacity: 0;\n transition: 0.4s;\n}\n\nbutton:hover::before {\n height: 100%;\n}\n\nbutton:hover .icon {\n top: 0;\n opacity: 1;\n}", "file_path": "/mnt/persist/workspace/Buttons/mateusneves_stupid-husky-53.html" }, "uniapp": { "template": "<button></button>\n <text class=\"label\">Next</text>\n <text class=\"icon\"></text>\n <view xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\"><path fill=\"none\" d=\"M0 0h24v24H0z\"></path><path fill=\"currentColor\" d=\"M16.172 11l-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2z\"></path></view>\n </span>\n</button>", "script": "export default {\n name: 'GalaxyStupidHusky53',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by mateusneves - Tags: button */\nbutton {\n position: relative;\n font-size: 28rpx;\n letter-spacing: 6rpx;\n height: 3em;\n padding: 0 3em;\n border: none;\n background-color: #c41b54;\n color: #fff;\n text-transform: uppercase;\n overflow: hidden;\n border-radius: 10rpx\n}\n\nbutton::before {\n content: '';\n display: block;\n position: absolute;\n z-index: 0;\n bottom: 0;\n left: 0;\n height: 0rpx;\n width: 100%;\n background: rgb(196,27,84);\n background: linear-gradient(90deg, rgba(196,27,84,1) 20%, rgba(124,7,46,1) 100%);\n transition: 0.2s;\n}\n\nbutton .label {\n position: relative;\n}\n\nbutton .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 3em;\n width: 3em;\n position: absolute;\n top: 3em;\n right: 0;\n opacity: 0;\n transition: 0.4s;\n}\n\nbutton:hover::before {\n height: 100%;\n}\n\nbutton:hover .icon {\n top: 0;\n opacity: 1;\n}\n", "component_name": "GalaxyStupidHusky53" }, "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": 1200, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:37.200Z", "updated_at": "2025-07-31T07:55:37.200Z" }