UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 4.89 kB
{ "id": "watchakorn-18k_chilly-cow-66", "name": "chilly-cow-66", "category": "buttons", "author": "watchakorn-18k", "description": "chilly-cow-66 组件 (gradient, button, transition, animation, interactive)", "tags": [ "gradient", "button", "transition", "animation", "interactive" ], "original": { "html": "<button class=\"btn-space space\">\n Button\n</button>", "css": "/* From Uiverse.io by watchakorn-18k - Tags: gradient, button, transition */\n.btn-space {\n padding: 15px 45px;\n text-align: center;\n text-transform: uppercase;\n -webkit-transition: 0.5s;\n transition: 0.5s;\n background-size: 500% auto;\n font-weight: bold;\n font-size: 1rem;\n color: rgba(255, 255, 255, 0.103);\n border-radius: 10px;\n}\n\n.btn-space:hover {\n background-position: right center;\n border-image-source: linear-gradient(90deg, #d53a9d,#743ad5 );\n -webkit-box-shadow: 0 0 20px #743ad5;\n box-shadow: 0 0 20px #743ad5;\n color: rgb(255, 255, 255);\n text-shadow: 1px 1px 10px #d53a9d;\n}\n\n.space {\n background-image: -webkit-gradient(linear, left top, right top, from(#743ad5), color-stop(51%, #d53a9d), to(#743ad5));\n background-image: linear-gradient(to right, #743ad5 0%, #d53a9d 51%, #743ad5 100%);\n border-image-source: linear-gradient(45deg, #743ad5, #d53a9d );\n border-image-outset: 1em;\n}", "file_path": "/mnt/persist/workspace/Buttons/watchakorn-18k_chilly-cow-66.html" }, "uniapp": { "template": "<button class=\"btn-space space\"></button>\n Button\n</button>", "script": "export default {\n name: 'GalaxyChillyCow66',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by watchakorn-18k - Tags: gradient, button, transition */\n.btn-space {\n padding: 30rpx 90rpx;\n text-align: center;\n text-transform: uppercase;\n -webkit-transition: 0.5s;\n transition: 0.5s;\n background-size: 500% auto;\n font-weight: bold;\n font-size: 1rem;\n color: rgba(255, 255, 255, 0.103);\n border-radius: 20rpx;\n}\n\n.btn-space:hover {\n background-position: right center;\n border-image-source: linear-gradient(90deg, #d53a9d,#743ad5 );\n -webkit-/* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 40rpx #743ad5;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 40rpx #743ad5;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n color: rgb(255, 255, 255);\n /* #ifdef H5 */\n text-shadow: 2rpx 2rpx 20rpx #d53a9d;\n /* #endif */\n}\n\n.space {\n background-image: -webkit-gradient(linear, left top, right top, from(#743ad5), color-stop(51%, #d53a9d), to(#743ad5));\n background-image: linear-gradient(to right, #743ad5 0%, #d53a9d 51%, #743ad5 100%);\n border-image-source: linear-gradient(45deg, #743ad5, #d53a9d );\n border-image-outset: 1em;\n}\n\n\n\n\n", "component_name": "GalaxyChillyCow66" }, "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 属性", "不支持 text-shadow 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 text-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 976, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.353Z", "updated_at": "2025-07-31T07:55:38.353Z" }