UNPKG

galaxy-uniapp-mcp-server

Version:

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

112 lines 4.29 kB
{ "id": "Navarog21_loud-bird-67", "name": "loud-bird-67", "category": "buttons", "author": "Navarog21", "description": "loud-bird-67 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button>\n Hover me\n</button>", "css": "/* From Uiverse.io by Navarog21 - Tags: button */\nbutton {\n width: 10em;\n position: relative;\n height: 3.5em;\n border: 3px ridge #149CEA;\n outline: none;\n background-color: transparent;\n color: white;\n transition: 1s;\n border-radius: 0.3em;\n font-size: 16px;\n font-weight: bold;\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n top: -10px;\n left: 3%;\n width: 95%;\n height: 40%;\n background-color: #212121;\n transition: 0.5s;\n transform-origin: center;\n}\n\nbutton::before {\n content: \"\";\n transform-origin: center;\n position: absolute;\n top: 80%;\n left: 3%;\n width: 95%;\n height: 40%;\n background-color: #212121;\n transition: 0.5s;\n}\n\nbutton:hover::before, button:hover::after {\n transform: scale(0)\n}\n\nbutton:hover {\n box-shadow: inset 0px 0px 25px #1479EA;\n}", "file_path": "/mnt/persist/workspace/Buttons/Navarog21_loud-bird-67.html" }, "uniapp": { "template": "<button></button>\n Hover me\n</button>", "script": "export default {\n name: 'GalaxyLoudBird67',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Navarog21 - Tags: button */\nbutton {\n width: 10em;\n position: relative;\n height: 3.5em;\n border: 6rpx ridge #149CEA;\n outline: none;\n background-color: transparent;\n color: white;\n transition: 1s;\n border-radius: 0.3em;\n font-size: 32rpx;\n font-weight: bold;\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n top: -20rpx;\n left: 3%;\n width: 95%;\n height: 40%;\n background-color: #212121;\n transition: 0.5s;\n transform-origin: center;\n}\n\nbutton::before {\n content: \"\";\n transform-origin: center;\n position: absolute;\n top: 80%;\n left: 3%;\n width: 95%;\n height: 40%;\n background-color: #212121;\n transition: 0.5s;\n}\n\nbutton:hover::before, button:hover::after {\n transform: scale(0)\n}\n\nbutton:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0rpx 0rpx 50rpx #1479EA;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n", "component_name": "GalaxyLoudBird67" }, "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": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 830, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.119Z", "updated_at": "2025-07-31T07:55:34.119Z" }