UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 5.87 kB
{ "id": "gharsh11032000_massive-yak-100", "name": "massive-yak-100", "category": "buttons", "author": "gharsh11032000", "description": "massive-yak-100 组件 (gradient, button, hover effect, animation, interactive)", "tags": [ "gradient", "button", "hover effect", "animation", "interactive" ], "original": { "html": "<button class=\"button\">\n <span class=\"span\">About us</span>\n <span class=\"span\">Hello!</span>\n</button>", "css": "/* From Uiverse.io by gharsh11032000 - Tags: gradient, button, hover effect */\n.button {\n position: relative;\n border: none;\n color: #e8e8e8;\n background: #333333;\n font-weight: 600;\n font-size: 20px;\n text-transform: uppercase;\n height: 60px;\n padding: 10px;\n border-radius: 10px;\n cursor: pointer;\n box-shadow: 0 10px 20px rgba(0, 0, 0,0.2);\n transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);\n overflow: hidden;\n}\n\n.button .span {\n position: relative;\n width: 100%;\n height: 100%;\n padding: 10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);\n transition-delay: 0.6s;\n}\n\n.button:hover .span:nth-child(1) {\n transform: translateY(-100%);\n transition-delay: 0s;\n}\n\n.button:hover .span:nth-child(2) {\n transform: translateY(-100%);\n transition-delay: 0s;\n}\n\n.button:before {\n position: absolute;\n content: \"\";\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100% );\n transform: scaleX(0);\n transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);\n transition-delay: 0;\n transform-origin: left;\n}\n\n.button:hover::before {\n transform: scaleX(1);\n transition-delay: 0.6s;\n}\n\n.button:active {\n box-shadow: none;\n}", "file_path": "/mnt/persist/workspace/Buttons/gharsh11032000_massive-yak-100.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <text class=\"span\">About us</text>\n <text class=\"span\">Hello!</text>\n</button>", "script": "export default {\n name: 'GalaxyMassiveYak100',\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, hover effect */\n.button {\n position: relative;\n border: none;\n color: #e8e8e8;\n background: #333333;\n font-weight: 600;\n font-size: 40rpx;\n text-transform: uppercase;\n height: 120rpx;\n padding: 20rpx;\n border-radius: 20rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 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 transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);\n overflow: hidden;\n}\n\n.button .span {\n position: relative;\n width: 100%;\n height: 100%;\n padding: 20rpx;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);\n transition-delay: 0.6s;\n}\n\n.button:hover .span:nth-child(1) {\n transform: translateY(-100%);\n transition-delay: 0s;\n}\n\n.button:hover .span:nth-child(2) {\n transform: translateY(-100%);\n transition-delay: 0s;\n}\n\n.button:before {\n position: absolute;\n content: \"\";\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100% );\n transform: scaleX(0);\n transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);\n transition-delay: 0;\n transform-origin: left;\n}\n\n.button:hover::before {\n transform: scaleX(1);\n transition-delay: 0.6s;\n}\n\n.button:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n\n\n \n", "component_name": "GalaxyMassiveYak100" }, "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 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1427, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.851Z", "updated_at": "2025-07-31T07:55:36.851Z" }