UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 5.58 kB
{ "id": "vinodjangid07_horrible-husky-70", "name": "horrible-husky-70", "category": "buttons", "author": "vinodjangid07", "description": "horrible-husky-70 组件 (button, jelly, hover effect, animation, interactive)", "tags": [ "button", "jelly", "hover effect", "animation", "interactive" ], "original": { "html": "<button class=\"Btn\">\n Jelly Button\n</button>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: button, jelly, hover effect */\n.Btn {\n position: relative;\n width: 150px;\n height: 55px;\n border-radius: 45px;\n border: none;\n background-color: rgb(151, 95, 255);\n color: white;\n box-shadow: 0px 10px 10px rgb(210, 187, 253) inset,\n 0px 5px 10px rgba(5, 5, 5, 0.212),\n 0px -10px 10px rgb(124, 54, 255) inset;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.Btn::before {\n width: 70%;\n height: 2px;\n position: absolute;\n background-color: rgba(250, 250, 250, 0.678);\n content: \"\";\n filter: blur(1px);\n top: 7px;\n border-radius: 50%;\n}\n\n.Btn::after {\n width: 70%;\n height: 2px;\n position: absolute;\n background-color: rgba(250, 250, 250, 0.137);\n content: \"\";\n filter: blur(1px);\n bottom: 7px;\n border-radius: 50%;\n}\n\n.Btn:hover {\n animation: jello-horizontal 0.9s both;\n}\n\n@keyframes jello-horizontal {\n 0% {\n transform: scale3d(1, 1, 1);\n }\n\n 30% {\n transform: scale3d(1.25, 0.75, 1);\n }\n\n 40% {\n transform: scale3d(0.75, 1.25, 1);\n }\n\n 50% {\n transform: scale3d(1.15, 0.85, 1);\n }\n\n 65% {\n transform: scale3d(0.95, 1.05, 1);\n }\n\n 75% {\n transform: scale3d(1.05, 0.95, 1);\n }\n\n 100% {\n transform: scale3d(1, 1, 1);\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_horrible-husky-70.html" }, "uniapp": { "template": "<button class=\"Btn\"></button>\n Jelly Button\n</button>", "script": "export default {\n name: 'GalaxyHorribleHusky70',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by vinodjangid07 - Tags: button, jelly, hover effect */\n.Btn {\n position: relative;\n width: 300rpx;\n height: 110rpx;\n border-radius: 90rpx;\n border: none;\n background-color: rgb(151, 95, 255);\n color: white;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 20rpx 20rpx rgb(210, 187, 253) inset,\n 0rpx 10rpx 20rpx rgba(5, 5, 5, 0.212),\n 0rpx -20rpx 20rpx rgb(124, 54, 255) inset;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.Btn::before {\n width: 70%;\n height: 4rpx;\n position: absolute;\n background-color: rgba(250, 250, 250, 0.678);\n content: \"\";\n \n top: 14rpx;\n border-radius: 50%;\n}\n\n.Btn::after {\n width: 70%;\n height: 4rpx;\n position: absolute;\n background-color: rgba(250, 250, 250, 0.137);\n content: \"\";\n \n bottom: 14rpx;\n border-radius: 50%;\n}\n\n.Btn:hover {\n animation: jello-horizontal 0.9s both;\n}\n\n@keyframes jello-horizontal {\n 0% {\n transform: scale3d(1, 1, 1);\n }\n\n 30% {\n transform: scale3d(1.25, 0.75, 1);\n }\n\n 40% {\n transform: scale3d(0.75, 1.25, 1);\n }\n\n 50% {\n transform: scale3d(1.15, 0.85, 1);\n }\n\n 65% {\n transform: scale3d(0.95, 1.05, 1);\n }\n\n 75% {\n transform: scale3d(1.05, 0.95, 1);\n }\n\n 100% {\n transform: scale3d(1, 1, 1);\n }\n}\n\n", "component_name": "GalaxyHorribleHusky70" }, "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 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1317, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.148Z", "updated_at": "2025-07-31T07:55:38.148Z" }