UNPKG

galaxy-uniapp-mcp-server

Version:

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

119 lines 5.06 kB
{ "id": "John-CFO_green-rabbit-93", "name": "green-rabbit-93", "category": "buttons", "author": "John-CFO", "description": "green-rabbit-93 组件 (button, glow, reflection, animation, gradient, interactive)", "tags": [ "button", "glow", "reflection", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"btn\">\n <span class=\"text\">Button</span>\n</button>", "css": "/* From Uiverse.io by John-CFO - Tags: button, glow, reflection */\n.btn {\n height: 3.5rem;\n width: 13.2rem;\n border-radius: 5px;\n border: 5px solid rgb(255, 255, 255);\n cursor: pointer;\n filter: drop-shadow(0px 0px 10px rgb(255, 255, 255));\n animation: flickering 2s linear infinite both;\n text-transform: uppercase;\n background-color: rgb(83, 82, 82);\n color: rgb(234, 234, 234);\n font-weight: 700;\n transition: 0.6s;\n box-shadow: 0px 0px 60px #1f4c65;\n -webkit-box-reflect: below 10px linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.4));\n}\n\n@keyframes flickering {\n 0%,\n 100% {\n opacity: 1;\n }\n\n 41.99% {\n opacity: 1;\n }\n\n 42% {\n opacity: 0;\n }\n\n 43% {\n opacity: 0;\n }\n\n 43.01% {\n opacity: 1;\n }\n\n 47.99% {\n opacity: 1;\n }\n\n 48% {\n opacity: 0;\n }\n\n 49% {\n opacity: 0;\n }\n\n 49.01% {\n opacity: 1;\n }\n}\n\n.text {\n font-size: 1.8rem;\n font-family: Arial, Helvetica, sans-serif;\n}\n\n.btn:hover {\n background-color: black;\n border-radius: 0;\n}", "file_path": "/mnt/persist/workspace/Buttons/John-CFO_green-rabbit-93.html" }, "uniapp": { "template": "<button class=\"btn\"></button>\n <text class=\"text\">Button</text>\n</button>", "script": "export default {\n name: 'GalaxyGreenRabbit93',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by John-CFO - Tags: button, glow, reflection */\n.btn {\n height: 3.5rem;\n width: 13.2rem;\n border-radius: 10rpx;\n border: 10rpx solid rgb(255, 255, 255);\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n \n animation: flickering 2s linear infinite both;\n text-transform: uppercase;\n background-color: rgb(83, 82, 82);\n color: rgb(234, 234, 234);\n font-weight: 700;\n transition: 0.6s;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 120rpx #1f4c65;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n -webkit-box-reflect: below 20rpx linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.4));\n}\n\n@keyframes flickering {\n 0%,\n 100% {\n opacity: 1;\n }\n\n 41.99% {\n opacity: 1;\n }\n\n 42% {\n opacity: 0;\n }\n\n 43% {\n opacity: 0;\n }\n\n 43.01% {\n opacity: 1;\n }\n\n 47.99% {\n opacity: 1;\n }\n\n 48% {\n opacity: 0;\n }\n\n 49% {\n opacity: 0;\n }\n\n 49.01% {\n opacity: 1;\n }\n}\n\n.text {\n font-size: 1.8rem;\n font-family: Arial, Helvetica, sans-serif;\n}\n\n.btn:hover {\n background-color: black;\n border-radius: 0;\n}\n\n\n\n\n\n\n", "component_name": "GalaxyGreenRabbit93" }, "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 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1085, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.577Z", "updated_at": "2025-07-31T07:55:33.577Z" }