UNPKG

galaxy-uniapp-mcp-server

Version:

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

109 lines 4.11 kB
{ "id": "chethan025_loud-goat-75", "name": "loud-goat-75", "category": "buttons", "author": "chethan025", "description": "loud-goat-75 组件 (button, scroll snap, animation, interactive)", "tags": [ "button", "scroll snap", "animation", "interactive" ], "original": { "html": "<button class=\"button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 97 162\" height=\"162\" width=\"97\" class=\"svg\">\n<path fill=\"#262626\" d=\"M47.2124 0H54.0796V151.644L86.6991 128.712H97L50.646 162L0 128.712H10.3009L47.2124 151.644V0Z\"></path>\n</svg>\n\n</button>", "css": "/* From Uiverse.io by chethan025 - Tags: button, scroll snap */\n.button {\n width: 38px;\n height: 82px;\n padding: 2px;\n border: 1px solid #474747;\n border-radius: 50px;\n background: rgba(141, 141, 141, 0.18);\n transition: all 0.3s ease-in-out;\n transform: rotate(180deg);\n}\n\n.svg {\n width: 22px;\n height: 62px;\n transform: rotate(180deg);\n}\n\n.button:hover {\n transform: scale(-1.2);\n}\n\n.button:focus {\n height: 0px;\n width: 0px;\n padding: 0px;\n border: 0px;\n}\n\n.button:focus > .svg {\n display: none;\n height: 0px;\n}", "file_path": "/mnt/persist/workspace/Buttons/chethan025_loud-goat-75.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <view xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 97 162\" height=\"162\" width=\"97\" class=\"svg\"></view>\n<path fill=\"#262626\" d=\"M47.2124 0H54.0796V151.644L86.6991 128.712H97L50.646 162L0 128.712H10.3009L47.2124 151.644V0Z\"></path>\n</svg>\n\n</button>", "script": "export default {\n name: 'GalaxyLoudGoat75',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by chethan025 - Tags: button, scroll snap */\n.button {\n width: 76rpx;\n height: 164rpx;\n padding: 4rpx;\n border: 2rpx solid #474747;\n border-radius: 100rpx;\n background: rgba(141, 141, 141, 0.18);\n transition: all 0.3s ease-in-out;\n transform: rotate(180deg);\n}\n\n.svg {\n width: 44rpx;\n height: 124rpx;\n transform: rotate(180deg);\n}\n\n.button:hover {\n transform: scale(-1.2);\n}\n\n.button:focus {\n height: 0rpx;\n width: 0rpx;\n padding: 0rpx;\n border: 0rpx;\n}\n\n.button:focus > .svg {\n display: none;\n height: 0rpx;\n}\n \n \n \n \n", "component_name": "GalaxyLoudGoat75" }, "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": 828, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.106Z", "updated_at": "2025-07-31T07:55:36.106Z" }