UNPKG

galaxy-uniapp-mcp-server

Version:

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

115 lines 3.96 kB
{ "id": "niat786_moody-horse-75", "name": "moody-horse-75", "category": "buttons", "author": "niat786", "description": "moody-horse-75 组件 (button, animation, gradient, interactive)", "tags": [ "button", "animation", "gradient", "interactive" ], "original": { "html": "<button>\n GET STARTED\n</button>", "css": "/* From Uiverse.io by niat786 - Tags: button */\nbutton {\n border-radius: .25rem;\n text-transform: uppercase;\n font-style: normal;\n font-weight: 400;\n padding-left: 25px;\n padding-right: 25px;\n color: #fff;\n -webkit-clip-path: polygon(0 0,0 0,100% 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,15px 100%,0 100%);\n clip-path: polygon(0 0,0 0,100% 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,15px 100%,0 100%);\n height: 40px;\n font-size: 0.7rem;\n line-height: 14px;\n letter-spacing: 1.2px;\n transition: .2s .1s;\n background-image: linear-gradient(90deg,#1c1c1c,#6220fb);\n border: 0 solid;\n overflow: hidden;\n}\n\nbutton:hover {\n cursor: pointer;\n transition: all .3s ease-in;\n padding-right: 30px;\n padding-left: 30px;\n}", "file_path": "/mnt/persist/workspace/Buttons/niat786_moody-horse-75.html" }, "uniapp": { "template": "<button></button>\n GET STARTED\n</button>", "script": "export default {\n name: 'GalaxyMoodyHorse75',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by niat786 - Tags: button */\nbutton {\n border-radius: .25rem;\n text-transform: uppercase;\n font-style: normal;\n font-weight: 400;\n padding-left: 50rpx;\n padding-right: 50rpx;\n color: #fff;\n -webkit-\n \n height: 80rpx;\n font-size: 0.7rem;\n line-height: 28rpx;\n letter-spacing: 2.4rpx;\n transition: .2s .1s;\n background-image: linear-gradient(90deg,#1c1c1c,#6220fb);\n border: 0 solid;\n overflow: hidden;\n}\n\nbutton:hover {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all .3s ease-in;\n padding-right: 60rpx;\n padding-left: 60rpx;\n}\n", "component_name": "GalaxyMoodyHorse75" }, "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": [ "不支持 clip-path 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 clip-path 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 794, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:37.469Z", "updated_at": "2025-07-31T07:55:37.469Z" }