UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 7.23 kB
{ "id": "Fadhilmagass_proud-quail-48", "name": "proud-quail-48", "category": "buttons", "author": "Fadhilmagass", "description": "proud-quail-48 组件 (icon, animation, button, gradient, interactive)", "tags": [ "icon", "animation", "button", "gradient", "interactive" ], "original": { "html": "<button class=\"space-button\">\n <span class=\"space-button-text\">Explore Space</span>\n <svg class=\"space-button-icon\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M12 0C8.411 0 5.418 2.993 5.418 6.582c0 3.153 2.443 5.792 5.595 6.473v2.526c0 .748.603 1.352 1.352 1.352s1.352-.604 1.352-1.352V13.05c3.152-.68 5.595-3.32 5.595-6.473C18.582 2.993 15.589 0 12 0zm0 9.288a3.706 3.706 0 1 1 0-7.412 3.706 3.706 0 0 1 0 7.412zM7.292 6.582c0-2.129 1.733-3.862 3.862-3.862s3.862 1.733 3.862 3.862c0 2.129-1.733 3.862-3.862 3.862s-3.862-1.733-3.862-3.862z\"></path>\n </svg>\n</button>", "css": "/* From Uiverse.io by Fadhilmagass - Tags: icon, animation, button */\n.space-button {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n padding: 1rem 1.5rem;\n font-size: 1.25rem;\n color: #fff;\n background: -webkit-gradient(linear, left top, right bottom, from(#0a192f), to(#1c3548));\n background: linear-gradient(to bottom right, #0a192f, #1c3548);\n border: none;\n border-radius: 0.5rem;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n}\n\n.space-button:before {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n width: 0;\n height: 0;\n background-color: rgba(255, 255, 255, 0.2);\n border-radius: 50%;\n -webkit-transition: width 0.3s ease, height 0.3s ease;\n transition: width 0.3s ease, height 0.3s ease;\n}\n\n.space-button:hover:before {\n width: 500px;\n height: 500px;\n}\n\n.space-button:hover .space-button-icon {\n -webkit-transform: rotate(360deg);\n -ms-transform: rotate(360deg);\n transform: rotate(360deg);\n}\n\n.space-button:hover {\n background: -webkit-gradient(linear, left top, right bottom, from(#0b5ed7), to(#1c3548));\n background: linear-gradient(to bottom right, #0b5ed7, #1c3548);\n}\n\n.space-button:active {\n background-color: #0642ab;\n}\n\n.space-button-text {\n margin-right: 0.5rem;\n}\n\n.space-button-icon {\n width: 1.25rem;\n height: 1.25rem;\n fill: currentColor;\n margin-right: 0.5rem;\n}", "file_path": "/mnt/persist/workspace/Buttons/Fadhilmagass_proud-quail-48.html" }, "uniapp": { "template": "<button class=\"space-button\"></button>\n <text class=\"space-button-text\">Explore Space</text>\n <view class=\"space-button-icon\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"></view>\n <path fill=\"currentColor\" d=\"M12 0C8.411 0 5.418 2.993 5.418 6.582c0 3.153 2.443 5.792 5.595 6.473v2.526c0 .748.603 1.352 1.352 1.352s1.352-.604 1.352-1.352V13.05c3.152-.68 5.595-3.32 5.595-6.473C18.582 2.993 15.589 0 12 0zm0 9.288a3.706 3.706 0 1 1 0-7.412 3.706 3.706 0 0 1 0 7.412zM7.292 6.582c0-2.129 1.733-3.862 3.862-3.862s3.862 1.733 3.862 3.862c0 2.129-1.733 3.862-3.862 3.862s-3.862-1.733-3.862-3.862z\"></path>\n </svg>\n</button>", "script": "export default {\n name: 'GalaxyProudQuail48',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Fadhilmagass - Tags: icon, animation, button */\n.space-button {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n padding: 1rem 1.5rem;\n font-size: 1.25rem;\n color: #fff;\n background: -webkit-gradient(linear, left top, right bottom, from(#0a192f), to(#1c3548));\n background: linear-gradient(to bottom right, #0a192f, #1c3548);\n border: none;\n border-radius: 0.5rem;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n overflow: hidden;\n}\n\n.space-button:before {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n width: 0;\n height: 0;\n background-color: rgba(255, 255, 255, 0.2);\n border-radius: 50%;\n -webkit-transition: width 0.3s ease, height 0.3s ease;\n transition: width 0.3s ease, height 0.3s ease;\n}\n\n.space-button:hover:before {\n width: 1000rpx;\n height: 1000rpx;\n}\n\n.space-button:hover .space-button-icon {\n -webkit-transform: rotate(360deg);\n -ms-transform: rotate(360deg);\n transform: rotate(360deg);\n}\n\n.space-button:hover {\n background: -webkit-gradient(linear, left top, right bottom, from(#0b5ed7), to(#1c3548));\n background: linear-gradient(to bottom right, #0b5ed7, #1c3548);\n}\n\n.space-button:active {\n background-color: #0642ab;\n}\n\n.space-button-text {\n margin-right: 0.5rem;\n}\n\n.space-button-icon {\n width: 1.25rem;\n height: 1.25rem;\n fill: currentColor;\n margin-right: 0.5rem;\n}\n\n", "component_name": "GalaxyProudQuail48" }, "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": [ "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 2287, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.216Z", "updated_at": "2025-07-31T07:55:33.216Z" }