UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 5.54 kB
{ "id": "Cobp_wet-mayfly-67", "name": "wet-mayfly-67", "category": "buttons", "author": "Cobp", "description": "wet-mayfly-67 组件 (material design, 3d, button, rounded, light)", "tags": [ "material design", "3d", "button", "rounded", "light" ], "original": { "html": "<button class=\"button\">\n <span class=\"text\">\n <svg viewBox=\"0 0 24 24\" height=\"22px\" width=\"22px\">\n <g fill=\"none\">\n <path d=\"m18.636 15.67l1.716-5.15c1.5-4.498 2.25-6.747 1.062-7.934c-1.187-1.187-3.436-.438-7.935 1.062L8.33 5.364C4.7 6.574 2.885 7.18 2.37 8.067a2.717 2.717 0 0 0 0 2.73c.515.888 2.33 1.493 5.96 2.704c.584.194.875.291 1.119.454c.236.158.439.361.597.597c.163.244.26.535.454 1.118c1.21 3.63 1.816 5.446 2.703 5.962a2.72 2.72 0 0 0 2.731 0c.887-.516 1.492-2.331 2.703-5.962Z\" stroke-width=\"1.5\" stroke=\"currentColor\"></path>\n <path d=\"M16.212 8.848a.75.75 0 0 0-1.055-1.066zm-5.55 5.488l5.55-5.488l-1.055-1.066l-5.55 5.488z\" fill=\"currentColor\"></path>\n </g>\n </svg>\n Send Message\n </span>\n</button>", "css": "/* From Uiverse.io by Cobp - Tags: material design, 3d, button, rounded, light */\n.button {\n cursor: pointer;\n font-size: 18px;\n font-weight: 600;\n outline: 2px solid rgba(225, 225, 225, 0.9);\n padding: 4px;\n border: 3px solid #bfbfbf;\n border-radius: 12px;\n box-shadow: 0px 30px 50px 10px rgba(0, 0, 0, 0.2);\n}\n.text {\n padding: 16px 10px;\n display: flex;\n aling-items: center;\n justify-content: center;\n gap: 8px;\n border-radius: 50px;\n box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1),\n inset 0px 5px 20px rgba(0, 0, 0, 0.1);\n}", "file_path": "/mnt/persist/workspace/Buttons/Cobp_wet-mayfly-67.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <text class=\"text\"></text>\n <view viewBox=\"0 0 24 24\" height=\"22px\" width=\"22px\"></view>\n <g fill=\"none\">\n <path d=\"m18.636 15.67l1.716-5.15c1.5-4.498 2.25-6.747 1.062-7.934c-1.187-1.187-3.436-.438-7.935 1.062L8.33 5.364C4.7 6.574 2.885 7.18 2.37 8.067a2.717 2.717 0 0 0 0 2.73c.515.888 2.33 1.493 5.96 2.704c.584.194.875.291 1.119.454c.236.158.439.361.597.597c.163.244.26.535.454 1.118c1.21 3.63 1.816 5.446 2.703 5.962a2.72 2.72 0 0 0 2.731 0c.887-.516 1.492-2.331 2.703-5.962Z\" stroke-width=\"1.5\" stroke=\"currentColor\"></path>\n <path d=\"M16.212 8.848a.75.75 0 0 0-1.055-1.066zm-5.55 5.488l5.55-5.488l-1.055-1.066l-5.55 5.488z\" fill=\"currentColor\"></path>\n </g>\n </svg>\n Send Message\n </span>\n</button>", "script": "export default {\n name: 'GalaxyWetMayfly67',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Cobp - Tags: material design, 3d, button, rounded, light */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n font-size: 36rpx;\n font-weight: 600;\n outline: 4rpx solid rgba(225, 225, 225, 0.9);\n padding: 8rpx;\n border: 6rpx solid #bfbfbf;\n border-radius: 24rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 60rpx 100rpx 20rpx 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}\n.text {\n padding: 32rpx 20rpx;\n display: flex;\n aling-items: center;\n justify-content: center;\n gap: 16rpx;\n border-radius: 100rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 20rpx 40rpx rgba(0, 0, 0, 0.1),\n inset 0rpx 10rpx 40rpx rgba(0, 0, 0, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n", "component_name": "GalaxyWetMayfly67" }, "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": "low", "bundle_size": 1304, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.918Z", "updated_at": "2025-07-31T07:55:32.918Z" }