UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 4.64 kB
{ "id": "mrhyddenn_slimy-jellyfish-95", "name": "slimy-jellyfish-95", "category": "buttons", "author": "mrhyddenn", "description": "slimy-jellyfish-95 组件 (gradient, button, circle, animation, interactive)", "tags": [ "gradient", "button", "circle", "animation", "interactive" ], "original": { "html": "<button>\n Hover me!\n</button>", "css": "/* From Uiverse.io by mrhyddenn - Tags: gradient, button, circle */\nbutton {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100px;\n position: relative;\n cursor: pointer;\n height: 100px;\n border-radius: 100px;\n border: none;\n background: #333;\n color: #e5e5e5;\n font-weight: 600;\n box-shadow: inset 20px 20px 39px #080a10,\n inset -20px -20px 39px #1b263e;\n font-size: 13px;\n}\n\nbutton::after {\n content: '';\n position: absolute;\n z-index: -1;\n left: -10px;\n top: -10px;\n border-radius: 50%;\n width: calc(100% + 20px);\n height: calc(100% + 20px);\n background: linear-gradient(35deg, rgb(47, 190, 238), rgb(218, 57, 143), rgb(139, 255, 23));\n filter: blur(10px);\n}\n\nbutton:hover::after {\n animation: rotcirclegr 1s linear infinite;\n}\n\n@keyframes rotcirclegr {\n to {\n transform: rotate(360deg);\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/mrhyddenn_slimy-jellyfish-95.html" }, "uniapp": { "template": "<button></button>\n Hover me!\n</button>", "script": "export default {\n name: 'GalaxySlimyJellyfish95',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by mrhyddenn - Tags: gradient, button, circle */\nbutton {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 200rpx;\n position: relative;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n height: 200rpx;\n border-radius: 200rpx;\n border: none;\n background: #333;\n color: #e5e5e5;\n font-weight: 600;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 40rpx 40rpx 78rpx #080a10,\n inset -40rpx -40rpx 78rpx #1b263e;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n font-size: 26rpx;\n}\n\nbutton::after {\n content: '';\n position: absolute;\n z-index: -1;\n left: -20rpx;\n top: -20rpx;\n border-radius: 50%;\n width: calc(100% + 40rpx);\n height: calc(100% + 40rpx);\n background: linear-gradient(35deg, rgb(47, 190, 238), rgb(218, 57, 143), rgb(139, 255, 23));\n \n}\n\nbutton:hover::after {\n animation: rotcirclegr 1s linear infinite;\n}\n\n@keyframes rotcirclegr {\n to {\n transform: rotate(360deg);\n }\n}\n", "component_name": "GalaxySlimyJellyfish95" }, "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 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 886, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:37.357Z", "updated_at": "2025-07-31T07:55:37.357Z" }