UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 4.62 kB
{ "id": "rrr63_ancient-eel-92", "name": "ancient-eel-92", "category": "buttons", "author": "rrr63", "description": "ancient-eel-92 组件 (button, hover, scale, animation, interactive)", "tags": [ "button", "hover", "scale", "animation", "interactive" ], "original": { "html": "<button class=\"button\">\n Click here ..\n</button>", "css": "/* From Uiverse.io by rrr63 - Tags: button, hover, scale */\n.button {\n padding: 10px 35px;\n background-color: #EBF5EE;\n font-weight: bolder;\n border: 0px;\n position: relative;\n cursor: pointer;\n overflow: hidden;\n border-radius: 5px;\n transition: all .2s ease-in-out .1s;\n}\n\n.button:hover {\n background-color: #EBF5EE;\n transform: scale(1.2) rotate(5deg);\n}\n\n.button:before {\n content: '';\n position: absolute;\n background-color: #78A1BB;\n height: 180%;\n top: -30%;\n left: -40%;\n transform: rotateZ(20deg);\n width: 40px;\n transition: left .2s ease-in-out, left 0s;\n}\n\n.button:after {\n content: '';\n position: absolute;\n background-color: #283044;\n height: 180%;\n top: -30%;\n left: -40%;\n transform: translateX(-40px) rotateZ(20deg);\n width: 40px;\n transition: left .2s ease-in-out, left 0s;\n}\n\n.button:hover:after {\n left: 150%;\n transition: left .3s ease-in-out;\n}\n\n.button:hover:before {\n left: 150%;\n transition: left .3s ease-in-out;\n}", "file_path": "/mnt/persist/workspace/Buttons/rrr63_ancient-eel-92.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n Click here ..\n</button>", "script": "export default {\n name: 'GalaxyAncientEel92',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by rrr63 - Tags: button, hover, scale */\n.button {\n padding: 20rpx 70rpx;\n background-color: #EBF5EE;\n font-weight: bolder;\n border: 0rpx;\n position: relative;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n overflow: hidden;\n border-radius: 10rpx;\n transition: all .2s ease-in-out .1s;\n}\n\n.button:hover {\n background-color: #EBF5EE;\n transform: scale(1.2) rotate(5deg);\n}\n\n.button:before {\n content: '';\n position: absolute;\n background-color: #78A1BB;\n height: 180%;\n top: -30%;\n left: -40%;\n transform: rotateZ(20deg);\n width: 80rpx;\n transition: left .2s ease-in-out, left 0s;\n}\n\n.button:after {\n content: '';\n position: absolute;\n background-color: #283044;\n height: 180%;\n top: -30%;\n left: -40%;\n transform: translateX(-80rpx) rotateZ(20deg);\n width: 80rpx;\n transition: left .2s ease-in-out, left 0s;\n}\n\n.button:hover:after {\n left: 150%;\n transition: left .3s ease-in-out;\n}\n\n.button:hover:before {\n left: 150%;\n transition: left .3s ease-in-out;\n}\n", "component_name": "GalaxyAncientEel92" }, "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": 1025, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:37.689Z", "updated_at": "2025-07-31T07:55:37.689Z" }