UNPKG

galaxy-uniapp-mcp-server

Version:

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

117 lines 4.92 kB
{ "id": "JaydipPrajapati1910_wonderful-walrus-87", "name": "wonderful-walrus-87", "category": "buttons", "author": "JaydipPrajapati1910", "description": "wonderful-walrus-87 组件 (gradient, button, gradients, effects, css effect, animation)", "tags": [ "gradient", "button", "gradients", "effects", "css effect", "animation" ], "original": { "html": "<button class=\"button\">\n Button\n</button>", "css": "/* From Uiverse.io by JaydipPrajapati1910 - Tags: gradient, button, gradients, effects, css effect */\n.button {\n width: 140px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 10px;\n padding: 0px 15px;\n background-color: red;\n border-radius: 10px;\n border: none;\n color: white;\n position: relative;\n cursor: pointer;\n font-weight: 900;\n transition-duration: .2s;\n background: linear-gradient(0deg, #000, #272727);\n}\n\n.button:before, .button:after {\n content: '';\n position: absolute;\n left: -2px;\n top: -2px;\n border-radius: 10px;\n background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00,#ffff00, #ff0000, #fb0094, \n\t\t#0000ff, #00ff00,#ffff00, #ff0000);\n background-size: 400%;\n width: calc(100% + 4px);\n height: calc(100% + 4px);\n z-index: -1;\n animation: steam 20s linear infinite;\n}\n\n@keyframes steam {\n 0% {\n background-position: 0 0;\n }\n\n 50% {\n background-position: 400% 0;\n }\n\n 100% {\n background-position: 0 0;\n }\n}\n\n.button:after {\n filter: blur(50px);\n}", "file_path": "/mnt/persist/workspace/Buttons/JaydipPrajapati1910_wonderful-walrus-87.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n Button\n</button>", "script": "export default {\n name: 'GalaxyWonderfulWalrus87',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by JaydipPrajapati1910 - Tags: gradient, button, gradients, effects, css effect */\n.button {\n width: 280rpx;\n height: 80rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 20rpx;\n padding: 0rpx 30rpx;\n background-color: red;\n border-radius: 20rpx;\n border: none;\n color: white;\n position: relative;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n font-weight: 900;\n transition-duration: .2s;\n background: linear-gradient(0deg, #000, #272727);\n}\n\n.button:before, .button:after {\n content: '';\n position: absolute;\n left: -4rpx;\n top: -4rpx;\n border-radius: 20rpx;\n background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00,#ffff00, #ff0000, #fb0094, \n\t\t#0000ff, #00ff00,#ffff00, #ff0000);\n background-size: 400%;\n width: calc(100% + 8rpx);\n height: calc(100% + 8rpx);\n z-index: -1;\n animation: steam 20s linear infinite;\n}\n\n@keyframes steam {\n 0% {\n background-position: 0 0;\n }\n\n 50% {\n background-position: 400% 0;\n }\n\n 100% {\n background-position: 0 0;\n }\n}\n\n.button:after {\n \n}\n\n\n", "component_name": "GalaxyWonderfulWalrus87" }, "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": 1095, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.499Z", "updated_at": "2025-07-31T07:55:33.499Z" }