UNPKG

galaxy-uniapp-mcp-server

Version:

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

117 lines 4.93 kB
{ "id": "gharsh11032000_cuddly-turkey-5", "name": "cuddly-turkey-5", "category": "buttons", "author": "gharsh11032000", "description": "cuddly-turkey-5 组件 (gradient, button, dark, hover effect, animation, interactive)", "tags": [ "gradient", "button", "dark", "hover effect", "animation", "interactive" ], "original": { "html": "<button class=\"button\">\n Button\n</button>", "css": "/* From Uiverse.io by gharsh11032000 - Tags: gradient, button, dark, hover effect */\n.button {\n position: relative;\n width: 120px;\n height: 40px;\n background-color: #000;\n display: flex;\n align-items: center;\n color: white;\n flex-direction: column;\n justify-content: center;\n border: none;\n padding: 12px;\n gap: 12px;\n border-radius: 8px;\n cursor: pointer;\n}\n\n.button::before {\n content: '';\n position: absolute;\n inset: 0;\n left: -4px;\n top: -1px;\n margin: auto;\n width: 128px;\n height: 48px;\n border-radius: 10px;\n background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100% );\n z-index: -10;\n pointer-events: none;\n transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);\n}\n\n.button::after {\n content: \"\";\n z-index: -1;\n position: absolute;\n inset: 0;\n background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100% );\n transform: translate3d(0, 0, 0) scale(0.95);\n filter: blur(20px);\n}\n\n.button:hover::after {\n filter: blur(30px);\n}\n\n.button:hover::before {\n transform: rotate(-180deg);\n}\n\n.button:active::before {\n scale: 0.7;\n}", "file_path": "/mnt/persist/workspace/Buttons/gharsh11032000_cuddly-turkey-5.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n Button\n</button>", "script": "export default {\n name: 'GalaxyCuddlyTurkey5',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by gharsh11032000 - Tags: gradient, button, dark, hover effect */\n.button {\n position: relative;\n width: 240rpx;\n height: 80rpx;\n background-color: #000;\n display: flex;\n align-items: center;\n color: white;\n flex-direction: column;\n justify-content: center;\n border: none;\n padding: 24rpx;\n gap: 24rpx;\n border-radius: 16rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.button::before {\n content: '';\n position: absolute;\n inset: 0;\n left: -8rpx;\n top: -2rpx;\n margin: auto;\n width: 256rpx;\n height: 96rpx;\n border-radius: 20rpx;\n background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100% );\n z-index: -10;\n pointer-events: none;\n transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);\n}\n\n.button::after {\n content: \"\";\n z-index: -1;\n position: absolute;\n inset: 0;\n background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100% );\n transform: translate3d(0, 0, 0) scale(0.95);\n \n}\n\n.button:hover::after {\n \n}\n\n.button:hover::before {\n transform: rotate(-180deg);\n}\n\n.button:active::before {\n scale: 0.7;\n}\n\n\n", "component_name": "GalaxyCuddlyTurkey5" }, "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": [ "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1124, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.816Z", "updated_at": "2025-07-31T07:55:36.816Z" }