UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 4.65 kB
{ "id": "Gaurav-WebDev_tall-mayfly-60", "name": "tall-mayfly-60", "category": "buttons", "author": "Gaurav-WebDev", "description": "tall-mayfly-60 组件 (black, button, dark, animated, hover effect, animation, interactive)", "tags": [ "black", "button", "dark", "animated", "hover effect", "animation", "interactive" ], "original": { "html": "<button class=\"button type1\">\n <span class=\"btn-txt\">Hello</span>\n</button>", "css": "/* From Uiverse.io by Gaurav-WebDev - Tags: black, button, dark, animated, hover effect */\n.button {\n height: 50px;\n width: 200px;\n position: relative;\n background-color: transparent;\n cursor: pointer;\n border: 2px solid #252525;\n overflow: hidden;\n border-radius: 30px;\n color: #333;\n transition: all 0.5s ease-in-out;\n}\n\n.btn-txt {\n z-index: 1;\n font-weight: 800;\n letter-spacing: 4px;\n}\n\n.type1::after {\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n transition: all 0.5s ease-in-out;\n background-color: #333;\n border-radius: 30px;\n visibility: hidden;\n height: 10px;\n width: 10px;\n z-index: -1;\n}\n\n.button:hover {\n box-shadow: 1px 1px 200px #252525;\n color: #fff;\n border: none;\n}\n\n.type1:hover::after {\n visibility: visible;\n transform: scale(100) translateX(2px);\n}", "file_path": "/mnt/persist/workspace/Buttons/Gaurav-WebDev_tall-mayfly-60.html" }, "uniapp": { "template": "<button class=\"button type1\"></button>\n <text class=\"btn-txt\">Hello</text>\n</button>", "script": "export default {\n name: 'GalaxyTallMayfly60',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Gaurav-WebDev - Tags: black, button, dark, animated, hover effect */\n.button {\n height: 100rpx;\n width: 400rpx;\n position: relative;\n background-color: transparent;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n border: 4rpx solid #252525;\n overflow: hidden;\n border-radius: 60rpx;\n color: #333;\n transition: all 0.5s ease-in-out;\n}\n\n.btn-txt {\n z-index: 1;\n font-weight: 800;\n letter-spacing: 8rpx;\n}\n\n.type1::after {\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n transition: all 0.5s ease-in-out;\n background-color: #333;\n border-radius: 60rpx;\n visibility: hidden;\n height: 20rpx;\n width: 20rpx;\n z-index: -1;\n}\n\n.button:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 2rpx 2rpx 400rpx #252525;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n color: #fff;\n border: none;\n}\n\n.type1:hover::after {\n visibility: visible;\n transform: scale(100) translateX(4rpx);\n}\n\n", "component_name": "GalaxyTallMayfly60" }, "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": 895, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.258Z", "updated_at": "2025-07-31T07:55:33.258Z" }