UNPKG

galaxy-uniapp-mcp-server

Version:

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

108 lines 4.2 kB
{ "id": "MuhammadHasann_calm-quail-31", "name": "calm-quail-31", "category": "buttons", "author": "MuhammadHasann", "description": "calm-quail-31 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button>\n Button\n</button>", "css": "/* From Uiverse.io by MuhammadHasann - Tags: button */\nbutton {\n position: relative;\n padding: 13px 35px;\n background: #6d7973;\n font-size: 17px;\n font-weight: 900;\n color: #ffffff;\n border: 2px solid #6d7973;\n border-radius: 25px;\n transition: all .3s ease-in-out;\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 124px;\n height: 45px;\n border: 3px solid #6d7973;\n border-radius: 25px;\n transition: all .3s ease-in-out;\n z-index: 2;\n}\n\nbutton:hover::after {\n animation: radar_45011 1s ease infinite .3s;\n}\n\n@keyframes radar_45011 {\n from {\n opacity: 1;\n width: 124px;\n height: 45px;\n border-radius: 25px;\n }\n\n to {\n opacity: 0;\n width: 470px;\n height: 220px;\n border-radius: 150px;\n }\n}\n\nbutton:active {\n transform: scale(.9);\n}", "file_path": "/mnt/persist/workspace/Buttons/MuhammadHasann_calm-quail-31.html" }, "uniapp": { "template": "<button></button>\n Button\n</button>", "script": "export default {\n name: 'GalaxyCalmQuail31',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by MuhammadHasann - Tags: button */\nbutton {\n position: relative;\n padding: 26rpx 70rpx;\n background: #6d7973;\n font-size: 34rpx;\n font-weight: 900;\n color: #ffffff;\n border: 4rpx solid #6d7973;\n border-radius: 50rpx;\n transition: all .3s ease-in-out;\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 248rpx;\n height: 90rpx;\n border: 6rpx solid #6d7973;\n border-radius: 50rpx;\n transition: all .3s ease-in-out;\n z-index: 2;\n}\n\nbutton:hover::after {\n animation: radar_45011 1s ease infinite .3s;\n}\n\n@keyframes radar_45011 {\n from {\n opacity: 1;\n width: 248rpx;\n height: 90rpx;\n border-radius: 50rpx;\n }\n\n to {\n opacity: 0;\n width: 940rpx;\n height: 440rpx;\n border-radius: 300rpx;\n }\n}\n\nbutton:active {\n transform: scale(.9);\n}\n", "component_name": "GalaxyCalmQuail31" }, "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": [], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 881, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.014Z", "updated_at": "2025-07-31T07:55:34.014Z" }