UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 3.83 kB
{ "id": "Praashoo7_brown-quail-45", "name": "brown-quail-45", "category": "buttons", "author": "Praashoo7", "description": "brown-quail-45 组件 (neumorphism, button, hover, animation, interactive)", "tags": [ "neumorphism", "button", "hover", "animation", "interactive" ], "original": { "html": "<button>\n BUTTON\n</button>", "css": "/* From Uiverse.io by Praashoo7 - Tags: neumorphism, button, hover */\nbutton {\n padding: 1em;\n padding-left: 2em;\n padding-right: 2em;\n border-radius: 15px;\n font-weight: bold;\n transition: .4s ease-in-out;\n box-shadow: inset 2px 5px 10px rgba(0,0,0,0.2);\n letter-spacing: 0.2em;\n border: none;\n}\n\nbutton:hover {\n letter-spacing: 0.5em;\n transform: translateY(-0.8em);\n background: #171717;\n color: white;\n}\n\nbutton:active {\n letter-spacing: 0.4em;\n transition: 0.1s all;\n transform: translateY(-0.6em);\n background: #171717;\n color: white;\n}", "file_path": "/mnt/persist/workspace/Buttons/Praashoo7_brown-quail-45.html" }, "uniapp": { "template": "<button></button>\n BUTTON\n</button>", "script": "export default {\n name: 'GalaxyBrownQuail45',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Praashoo7 - Tags: neumorphism, button, hover */\nbutton {\n padding: 1em;\n padding-left: 2em;\n padding-right: 2em;\n border-radius: 30rpx;\n font-weight: bold;\n transition: .4s ease-in-out;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 4rpx 10rpx 20rpx rgba(0,0,0,0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n letter-spacing: 0.2em;\n border: none;\n}\n\nbutton:hover {\n letter-spacing: 0.5em;\n transform: translateY(-0.8em);\n background: #171717;\n color: white;\n}\n\nbutton:active {\n letter-spacing: 0.4em;\n transition: 0.1s all;\n transform: translateY(-0.6em);\n background: #171717;\n color: white;\n}\n", "component_name": "GalaxyBrownQuail45" }, "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 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 591, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.251Z", "updated_at": "2025-07-31T07:55:34.251Z" }