UNPKG

galaxy-uniapp-mcp-server

Version:

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

117 lines 4.9 kB
{ "id": "NomNomcats_angry-firefox-98", "name": "angry-firefox-98", "category": "buttons", "author": "NomNomcats", "description": "angry-firefox-98 组件 (simple, flashy, button, hover, animation, interactive)", "tags": [ "simple", "flashy", "button", "hover", "animation", "interactive" ], "original": { "html": "<button class=\"button10\">Button</button>", "css": "/* From Uiverse.io by NomNomcats - Tags: simple, flashy, button, hover */\n.button10 {\n display: inline-block;\n transition: all 0.3s ease;\n position: relative;\n overflow: hidden;\n z-index: 1;\n color: #ffffff;\n padding: 0.8em 2em;\n cursor: pointer;\n font-size: 16px;\n border-radius: 0.5em;\n background: #000;\n border: 2px solid #00ffea;\n box-shadow: 0 0 20px rgba(0, 255, 234, 0.5);\n}\n\n.button10:active {\n color: #ffffff;\n box-shadow: inset 0 0 10px rgba(0, 255, 234, 0.7);\n}\n\n.button10:before,\n.button10:after {\n content: \"\";\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background: rgba(0, 255, 234, 0.2);\n z-index: -1;\n transform: scale(0);\n transition: transform 0.5s;\n border-radius: inherit;\n}\n\n.button10:before {\n transition-delay: 0s;\n}\n\n.button10:after {\n transition-delay: 0.25s;\n}\n\n.button10:hover:before,\n.button10:hover:after {\n transform: scale(1.2);\n}", "file_path": "/mnt/persist/workspace/Buttons/NomNomcats_angry-firefox-98.html" }, "uniapp": { "template": "<button class=\"button10\"></button>Button</button>", "script": "export default {\n name: 'GalaxyAngryFirefox98',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by NomNomcats - Tags: simple, flashy, button, hover */\n.button10 {\n display: inline-block;\n transition: all 0.3s ease;\n position: relative;\n overflow: hidden;\n z-index: 1;\n color: #ffffff;\n padding: 0.8em 2em;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n font-size: 32rpx;\n border-radius: 0.5em;\n background: #000;\n border: 4rpx solid #00ffea;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 40rpx rgba(0, 255, 234, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button10:active {\n color: #ffffff;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0 0 20rpx rgba(0, 255, 234, 0.7);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button10:before,\n.button10:after {\n content: \"\";\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background: rgba(0, 255, 234, 0.2);\n z-index: -1;\n transform: scale(0);\n transition: transform 0.5s;\n border-radius: inherit;\n}\n\n.button10:before {\n transition-delay: 0s;\n}\n\n.button10:after {\n transition-delay: 0.25s;\n}\n\n.button10:hover:before,\n.button10:hover:after {\n transform: scale(1.2);\n}\n\n", "component_name": "GalaxyAngryFirefox98" }, "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 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 969, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.165Z", "updated_at": "2025-07-31T07:55:34.165Z" }