UNPKG

galaxy-uniapp-mcp-server

Version:

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

119 lines 5.44 kB
{ "id": "SelfMadeSystem_tough-fireant-47", "name": "tough-fireant-47", "category": "buttons", "author": "SelfMadeSystem", "description": "tough-fireant-47 组件 (simple, neumorphism, animation, blue, minimalist, button, gradient, interactive)", "tags": [ "simple", "neumorphism", "animation", "blue", "minimalist", "button", "gradient", "interactive" ], "original": { "html": "<button class=\"btn btn-primary\">\n <span class=\"btn-txt\">Get started</span>\n <kbd class=\"btn-kbd\">G</kbd>\n</button>", "css": "/* From Uiverse.io by SelfMadeSystem - Tags: simple, neumorphism, animation, blue, minimalist, button */\n.btn {\n margin: 0.5rem;\n padding: 0.5rem 0.75rem;\n border-radius: 0.5rem;\n border: none;\n font-weight: 600;\n cursor: pointer;\n}\n\n.btn kbd {\n margin: 0.25rem;\n padding: 0.125rem 0.5rem;\n border-radius: 0.25rem;\n}\n\n.btn-primary {\n background: linear-gradient(#1f5afe, #0f4cf5);\n color: white;\n box-shadow: inset 0pt 4pt 3pt -2pt #386fff, 0pt 4pt 5pt -3pt #0009;\n border-bottom: 2pt solid #083acd;\n transition: all 0.5s ease;\n}\n\n.btn-primary:hover {\n border-bottom: 4pt solid #083acd;\n translate: 0pt -1pt;\n}\n\n.btn-primary:active {\n box-shadow: inset 0pt 4pt 3pt -2pt #386fff, 0pt 4pt 5pt -3pt #0000;\n border-bottom: 1pt solid #083acd;\n translate: 0pt 0pt;\n}\n\n.btn-primary kbd {\n background-color: #3e6eff;\n box-shadow: inset 0pt -3pt 3pt -2pt #1f54f0, inset 0pt 3pt 3pt -2pt #658dff,\n 0pt 2pt 2pt -2pt #0005, 0pt 0pt 0pt 2pt #0d47f0;\n}\n\n.btn-base {\n background: #386fff;\n}", "file_path": "/mnt/persist/workspace/Buttons/SelfMadeSystem_tough-fireant-47.html" }, "uniapp": { "template": "<button class=\"btn btn-primary\"></button>\n <text class=\"btn-txt\">Get started</text>\n <kbd class=\"btn-kbd\">G</kbd>\n</button>", "script": "export default {\n name: 'GalaxyToughFireant47',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by SelfMadeSystem - Tags: simple, neumorphism, animation, blue, minimalist, button */\n.btn {\n margin: 0.5rem;\n padding: 0.5rem 0.75rem;\n border-radius: 0.5rem;\n border: none;\n font-weight: 600;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.btn kbd {\n margin: 0.25rem;\n padding: 0.125rem 0.5rem;\n border-radius: 0.25rem;\n}\n\n.btn-primary {\n background: linear-gradient(#1f5afe, #0f4cf5);\n color: white;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0pt 4pt 3pt -2pt #386fff, 0pt 4pt 5pt -3pt #0009;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border-bottom: 2pt solid #083acd;\n transition: all 0.5s ease;\n}\n\n.btn-primary:hover {\n border-bottom: 4pt solid #083acd;\n translate: 0pt -1pt;\n}\n\n.btn-primary:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0pt 4pt 3pt -2pt #386fff, 0pt 4pt 5pt -3pt #0000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border-bottom: 1pt solid #083acd;\n translate: 0pt 0pt;\n}\n\n.btn-primary kbd {\n background-color: #3e6eff;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0pt -3pt 3pt -2pt #1f54f0, inset 0pt 3pt 3pt -2pt #658dff,\n 0pt 2pt 2pt -2pt #0005, 0pt 0pt 0pt 2pt #0d47f0;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.btn-base {\n background: #386fff;\n}\n\n", "component_name": "GalaxyToughFireant47" }, "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 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1127, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.595Z", "updated_at": "2025-07-31T07:55:34.595Z" }