UNPKG

galaxy-uniapp-mcp-server

Version:

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

112 lines 4.7 kB
{ "id": "Satwinder04_big-pug-95", "name": "big-pug-95", "category": "buttons", "author": "Satwinder04", "description": "big-pug-95 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button class=\"complex-button\">HOVER ME</button>", "css": "/* From Uiverse.io by Satwinder04 - Tags: button */\n.complex-button {\n background-color: #fa4545;\n /* Green */\n border: none;\n color: white;\n padding: 15px 32px;\n text-align: center;\n text-decoration: none;\n display: inline-block;\n font-size: 16px;\n margin: 4px 2px;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n /* border-radius: 10px; */\n}\n\n.complex-button::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: -100%;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.2);\n transform: skewX(-30deg);\n transition: all 1s ease-in-out;\n}\n\n.complex-button:hover::before {\n left: 100%;\n}\n\n.complex-button::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 0%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.5);\n transition: all 0.5s ease-in-out;\n}\n\n.complex-button:hover::after {\n width: 100%;\n}\n\n.complex-button span {\n position: relative;\n z-index: 1;\n}\n\n.complex-button:hover {\n color: #ffffff;\n background-color: #fa4545;\n}", "file_path": "/mnt/persist/workspace/Buttons/Satwinder04_big-pug-95.html" }, "uniapp": { "template": "<button class=\"complex-button\"></button>HOVER ME</button>", "script": "export default {\n name: 'GalaxyBigPug95',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Satwinder04 - Tags: button */\n.complex-button {\n background-color: #fa4545;\n /* Green */\n border: none;\n color: white;\n padding: 30rpx 64rpx;\n text-align: center;\n text-decoration: none;\n display: inline-block;\n font-size: 32rpx;\n margin: 8rpx 4rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n overflow: hidden;\n /* border-radius: 20rpx; */\n}\n\n.complex-button::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: -100%;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.2);\n transform: skewX(-30deg);\n transition: all 1s ease-in-out;\n}\n\n.complex-button:hover::before {\n left: 100%;\n}\n\n.complex-button::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 0%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.5);\n transition: all 0.5s ease-in-out;\n}\n\n.complex-button:hover::after {\n width: 100%;\n}\n\n.complex-button span {\n position: relative;\n z-index: 1;\n}\n\n.complex-button:hover {\n color: #ffffff;\n background-color: #fa4545;\n}\n\n", "component_name": "GalaxyBigPug95" }, "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": 1082, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.543Z", "updated_at": "2025-07-31T07:55:34.543Z" }