UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 5.24 kB
{ "id": "ercnersoy_good-fly-51", "name": "good-fly-51", "category": "buttons", "author": "ercnersoy", "description": "good-fly-51 组件 (simple, purple, minimalist, button, interactive)", "tags": [ "simple", "purple", "minimalist", "button", "interactive" ], "original": { "html": "<button class=\"button\">hover me !</button>", "css": "/* From Uiverse.io by ercnersoy - Tags: simple, purple, minimalist, button */\n.button {\n cursor: pointer;\n padding: 1rem 4rem;\n border: 0;\n background-color: rebeccapurple;\n color: white;\n box-shadow: 0px 10px 0px 0px rgb(68, 37, 99);\n transition: all 0.9s ease-in-out;\n font-weight: 600;\n font-family: \"Lucida Sans\", \"Lucida Sans Regular\", \"Lucida Grande\",\n \"Lucida Sans Unicode\", Geneva, Verdana, sans-serif;\n font-size: 1rem;\n position: relative;\n}\n.button:hover {\n box-shadow: 0px 10px 0px 0px rgb(122, 71, 173);\n background-color: rgb(80, 31, 129);\n}\n.button:active {\n box-shadow: 0px 5px 0px 0px rgb(122, 71, 173);\n text-shadow: 0 0px 0px #000;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n left: 0;\n bottom: 0px;\n box-shadow: 0px 10px 0px 0px rgb(229, 104, 9);\n width: 0;\n height: 10px;\n transition: all 0.9s ease-in-out;\n}\n.button:hover::before {\n width: 100%;\n}", "file_path": "/mnt/persist/workspace/Buttons/ercnersoy_good-fly-51.html" }, "uniapp": { "template": "<button class=\"button\"></button>hover me !</button>", "script": "export default {\n name: 'GalaxyGoodFly51',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by ercnersoy - Tags: simple, purple, minimalist, button */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n padding: 1rem 4rem;\n border: 0;\n background-color: rebeccapurple;\n color: white;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 20rpx 0rpx 0rpx rgb(68, 37, 99);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.9s ease-in-out;\n font-weight: 600;\n font-family: \"Lucida Sans\", \"Lucida Sans Regular\", \"Lucida Grande\",\n \"Lucida Sans Unicode\", Geneva, Verdana, sans-serif;\n font-size: 1rem;\n position: relative;\n}\n.button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 20rpx 0rpx 0rpx rgb(122, 71, 173);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-color: rgb(80, 31, 129);\n}\n.button:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 10rpx 0rpx 0rpx rgb(122, 71, 173);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n text-shadow: 0 0rpx 0rpx #000;\n /* #endif */\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n left: 0;\n bottom: 0rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 20rpx 0rpx 0rpx rgb(229, 104, 9);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n width: 0;\n height: 20rpx;\n transition: all 0.9s ease-in-out;\n}\n.button:hover::before {\n width: 100%;\n}\n\n", "component_name": "GalaxyGoodFly51" }, "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 属性", "不支持 text-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 text-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "low", "bundle_size": 961, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.596Z", "updated_at": "2025-07-31T07:55:36.596Z" }