UNPKG

galaxy-uniapp-mcp-server

Version:

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

115 lines 5.22 kB
{ "id": "Pruthvirajmunde_great-cheetah-48", "name": "great-cheetah-48", "category": "buttons", "author": "Pruthvirajmunde", "description": "great-cheetah-48 组件 (simple, button, smooth, animation, gradient, interactive)", "tags": [ "simple", "button", "smooth", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"button\">Hire Me</button>", "css": "/* From Uiverse.io by Pruthvirajmunde - Tags: simple, button, smooth */\n.button {\n position: relative;\n transition: all 0.3s ease-in-out;\n box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);\n padding-block: 0.5rem;\n padding-inline: 1.25rem;\n background-color: rgb(153, 174, 187);\n border-radius: 9999px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #ffff;\n gap: 10px;\n font-weight: bold;\n border: 3px solid #ffffff4d;\n outline: none;\n overflow: hidden;\n font-size: 15px;\n}\n\n.icon {\n width: 24px;\n height: 24px;\n transition: all 0.3s ease-in-out;\n}\n\n.button:hover {\n transform: scale(1.05);\n border-color: #fff9;\n}\n\n.button:hover .icon {\n transform: translate(4px);\n}\n\n.button:hover::before {\n animation: shine 1.5s ease-out infinite;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n width: 100px;\n height: 100%;\n background-image: linear-gradient(\n 120deg,\n rgba(255, 255, 255, 0) 30%,\n rgba(255, 255, 255, 0.8),\n rgba(255, 255, 255, 0) 70%\n );\n top: 0;\n left: -100px;\n opacity: 0.6;\n}\n\n@keyframes shine {\n 0% {\n left: -100px;\n }\n\n 60% {\n left: 100%;\n }\n\n to {\n left: 100%;\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/Pruthvirajmunde_great-cheetah-48.html" }, "uniapp": { "template": "<button class=\"button\"></button>Hire Me</button>", "script": "export default {\n name: 'GalaxyGreatCheetah48',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Pruthvirajmunde - Tags: simple, button, smooth */\n.button {\n position: relative;\n transition: all 0.3s ease-in-out;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 20rpx 40rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n padding-block: 0.5rem;\n padding-inline: 1.25rem;\n background-color: rgb(153, 174, 187);\n border-radius: 19998rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #ffff;\n gap: 20rpx;\n font-weight: bold;\n border: 6rpx solid #ffffff4d;\n outline: none;\n overflow: hidden;\n font-size: 30rpx;\n}\n\n.icon {\n width: 48rpx;\n height: 48rpx;\n transition: all 0.3s ease-in-out;\n}\n\n.button:hover {\n transform: scale(1.05);\n border-color: #fff9;\n}\n\n.button:hover .icon {\n transform: translate(8rpx);\n}\n\n.button:hover::before {\n animation: shine 1.5s ease-out infinite;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n width: 200rpx;\n height: 100%;\n background-image: linear-gradient(\n 120deg,\n rgba(255, 255, 255, 0) 30%,\n rgba(255, 255, 255, 0.8),\n rgba(255, 255, 255, 0) 70%\n );\n top: 0;\n left: -200rpx;\n opacity: 0.6;\n}\n\n@keyframes shine {\n 0% {\n left: -200rpx;\n }\n\n 60% {\n left: 100%;\n }\n\n to {\n left: 100%;\n }\n}\n\n", "component_name": "GalaxyGreatCheetah48" }, "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 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1217, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.387Z", "updated_at": "2025-07-31T07:55:34.387Z" }