UNPKG

galaxy-uniapp-mcp-server

Version:

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

113 lines 4.79 kB
{ "id": "mrhyddenn_tall-goose-46", "name": "tall-goose-46", "category": "buttons", "author": "mrhyddenn", "description": "tall-goose-46 组件 (button, hover, animation, interactive)", "tags": [ "button", "hover", "animation", "interactive" ], "original": { "html": "<div class=\"button\">\n <div class=\"box\">H</div>\n <div class=\"box\">O</div>\n <div class=\"box\">V</div>\n <div class=\"box\">E</div>\n <div class=\"box\">R</div>\n</div>", "css": "/* From Uiverse.io by mrhyddenn - Tags: button, hover */\n.button {\n display: flex;\n}\n\n.box {\n width: 35px;\n height: 40px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 15px;\n font-weight: 700;\n color: #fff;\n transition: all .8s;\n cursor: pointer;\n position: relative;\n background: rgb(58, 165, 253);\n overflow: hidden;\n}\n\n.box:before {\n content: \"W\";\n position: absolute;\n top: 0;\n background: #0f0f0f;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n transform: translateY(100%);\n transition: transform .4s;\n}\n\n.box:nth-child(2)::before {\n transform: translateY(-100%);\n content: 'O';\n}\n\n.box:nth-child(3)::before {\n content: 'R';\n}\n\n.box:nth-child(4)::before {\n transform: translateY(-100%);\n content: 'L';\n}\n\n.box:nth-child(5)::before {\n content: 'D';\n}\n\n.button:hover .box:before {\n transform: translateY(0);\n}", "file_path": "/mnt/persist/workspace/Buttons/mrhyddenn_tall-goose-46.html" }, "uniapp": { "template": "<view class=\"button\"></view>\n <view class=\"box\">H</view>\n <view class=\"box\">O</view>\n <view class=\"box\">V</view>\n <view class=\"box\">E</view>\n <view class=\"box\">R</view>\n</div>", "script": "export default {\n name: 'GalaxyTallGoose46',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by mrhyddenn - Tags: button, hover */\n.button {\n display: flex;\n}\n\n.box {\n width: 70rpx;\n height: 80rpx;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 30rpx;\n font-weight: 700;\n color: #fff;\n transition: all .8s;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n background: rgb(58, 165, 253);\n overflow: hidden;\n}\n\n.box:before {\n content: \"W\";\n position: absolute;\n top: 0;\n background: #0f0f0f;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n transform: translateY(100%);\n transition: transform .4s;\n}\n\n.box:nth-child(2)::before {\n transform: translateY(-100%);\n content: 'O';\n}\n\n.box:nth-child(3)::before {\n content: 'R';\n}\n\n.box:nth-child(4)::before {\n transform: translateY(-100%);\n content: 'L';\n}\n\n.box:nth-child(5)::before {\n content: 'D';\n}\n\n.button:hover .box:before {\n transform: translateY(0);\n}\n", "component_name": "GalaxyTallGoose46" }, "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": 1097, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:37.372Z", "updated_at": "2025-07-31T07:55:37.372Z" }