UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 5.01 kB
{ "id": "Gautammsharma_funny-fly-33", "name": "funny-fly-33", "category": "buttons", "author": "Gautammsharma", "description": "funny-fly-33 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button class=\"comic-button\">Click me!</button>", "css": "/* From Uiverse.io by Gautammsharma - Tags: button */\n.comic-button {\n background-color: #ffed4b;\n border: none;\n color: #000;\n font-size: 1.2rem;\n font-weight: bold;\n padding: 0.5rem 1rem;\n text-transform: uppercase;\n text-shadow: 1px 1px 0 #fff;\n box-shadow: 4px 4px 0 #000;\n position: relative;\n overflow: hidden;\n transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;\n}\n\n.comic-button:before {\n content: \"\";\n position: absolute;\n top: -20%;\n left: -20%;\n width: 150%;\n height: 150%;\n background-color: rgba(0,0,0,0.2);\n transform: rotate(45deg);\n z-index: -1;\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n}\n\n.comic-button:hover {\n transform: translate(2px, 2px);\n box-shadow: 6px 6px 0 #000;\n}\n\n.comic-button:hover:before {\n opacity: 1;\n}\n\n.comic-button:active {\n transform: translate(0px, 0px);\n box-shadow: 4px 4px 0 #000;\n}\n\n.comic-button:active:before {\n opacity: 0;\n}", "file_path": "/mnt/persist/workspace/Buttons/Gautammsharma_funny-fly-33.html" }, "uniapp": { "template": "<button class=\"comic-button\"></button>Click me!</button>", "script": "export default {\n name: 'GalaxyFunnyFly33',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Gautammsharma - Tags: button */\n.comic-button {\n background-color: #ffed4b;\n border: none;\n color: #000;\n font-size: 1.2rem;\n font-weight: bold;\n padding: 0.5rem 1rem;\n text-transform: uppercase;\n /* #ifdef H5 */\n text-shadow: 2rpx 2rpx 0 #fff;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 8rpx 8rpx 0 #000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n position: relative;\n overflow: hidden;\n transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;\n}\n\n.comic-button:before {\n content: \"\";\n position: absolute;\n top: -20%;\n left: -20%;\n width: 150%;\n height: 150%;\n background-color: rgba(0,0,0,0.2);\n transform: rotate(45deg);\n z-index: -1;\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n}\n\n.comic-button:hover {\n transform: translate(4rpx, 4rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 12rpx 12rpx 0 #000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.comic-button:hover:before {\n opacity: 1;\n}\n\n.comic-button:active {\n transform: translate(0rpx, 0rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 8rpx 8rpx 0 #000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.comic-button:active:before {\n opacity: 0;\n}\n\n", "component_name": "GalaxyFunnyFly33" }, "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 属性", "不支持 text-shadow 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 text-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 980, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.268Z", "updated_at": "2025-07-31T07:55:33.268Z" }