UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 4.51 kB
{ "id": "abassj1_popular-panda-42", "name": "popular-panda-42", "category": "buttons", "author": "abassj1", "description": "popular-panda-42 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button class=\"button\"> Button\n</button>", "css": "/* From Uiverse.io by abassj1 - Tags: button */\n/* Modified code from @gagan-gv */\n.button {\n padding: 1em 2em;\n font-size: 17px;\n background: transparent;\n border: none;\n position: relative;\n color: yellow;\n z-index: 1;\n}\n\n.button::after,\n .button::before {\n content: '';\n position: absolute;\n bottom: 0;\n right: 0;\n z-index: -99999;\n transition: all .4s;\n}\n\n.button::before {\n transform: translate(0%, 0%);\n width: 100%;\n height: 100%;\n background: darkslategray;\n border-radius: 50px;\n}\n\n.button::after {\n transform: translate(0px, 0px);\n width: 10px;\n height: 10px;\n background: #ffffff15;\n backdrop-filter: blur(5px);\n border-radius: 50px;\n}\n\n.button:hover::before {\n transform: translate(5%, 20%);\n width: 10px;\n height: 10px;\n}\n\n.button:hover::after {\n border-radius: 50px;\n transform: translate(0, 0);\n width: 100%;\n height: 100%;\n}\n\n.button:active::after {\n transition: 0s;\n transform: translate(0, 5%);\n}", "file_path": "/mnt/persist/workspace/Buttons/abassj1_popular-panda-42.html" }, "uniapp": { "template": "<button class=\"button\"></button> Button\n</button>", "script": "export default {\n name: 'GalaxyPopularPanda42',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by abassj1 - Tags: button */\n/* Modified code from @gagan-gv */\n.button {\n padding: 1em 2em;\n font-size: 34rpx;\n background: transparent;\n border: none;\n position: relative;\n color: yellow;\n z-index: 1;\n}\n\n.button::after,\n .button::before {\n content: '';\n position: absolute;\n bottom: 0;\n right: 0;\n z-index: -99999;\n transition: all .4s;\n}\n\n.button::before {\n transform: translate(0%, 0%);\n width: 100%;\n height: 100%;\n background: darkslategray;\n border-radius: 100rpx;\n}\n\n.button::after {\n transform: translate(0rpx, 0rpx);\n width: 20rpx;\n height: 20rpx;\n background: #ffffff15;\n backdrop-\n border-radius: 100rpx;\n}\n\n.button:hover::before {\n transform: translate(5%, 20%);\n width: 20rpx;\n height: 20rpx;\n}\n\n.button:hover::after {\n border-radius: 100rpx;\n transform: translate(0, 0);\n width: 100%;\n height: 100%;\n}\n\n.button:active::after {\n transition: 0s;\n transform: translate(0, 5%);\n}\n", "component_name": "GalaxyPopularPanda42" }, "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": [ "不支持 filter 属性", "不支持 backdrop-filter 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 filter 属性", "不支持 backdrop-filter 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 958, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.359Z", "updated_at": "2025-07-31T07:55:35.359Z" }