UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 5.25 kB
{ "id": "BurgiSimon_cuddly-monkey-7", "name": "cuddly-monkey-7", "category": "buttons", "author": "BurgiSimon", "description": "cuddly-monkey-7 组件 (simple, 3d, white, button, rounded, light, css, 3d button, interactive)", "tags": [ "simple", "3d", "white", "button", "rounded", "light", "css", "3d button", "interactive" ], "original": { "html": "<button class=\"button-3d\">\n <span class=\"button-text\">CLICK ME</span>\n</button>", "css": "/* From Uiverse.io by BurgiSimon - Website: https://codepen.io/bepctak/pen/ojXjzR - Name: Artur - Tags: simple, 3d, white, button, rounded, light, css, 3d button */\n.button-3d {\n position: relative;\n top: -6px;\n border: 1.5px rgb(0, 0, 0) inset;\n border-radius: 10px;\n transition: all 40ms ease-out;\n margin-top: 1px;\n margin-bottom: 1px;\n margin-left: 2px;\n margin-right: 2px;\n padding-top: 10px;\n padding-bottom: 10px;\n padding-left: 10px;\n padding-right: 10px;\n color: #666666;\n\n box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.1) inset,\n 0 8px 0 0 #f5f5f5, 0 8px 8px 1px rgba(0, 0, 0, 0.2);\n background-color: #fff;\n}\n\n.button-text {\n font-family: sans-serif;\n font-weight: 0;\n font-size: 16px;\n letter-spacing: 3px;\n color: #000000;\n border-bottom: 0px solid;\n}\n\n.button-3d:hover {\n border: 2px rgb(0, 0, 0) inset;\n}\n\n.button-3d:active {\n top: 1px;\n color: #666666;\n box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset,\n 0 1px 3px 1px rgba(136, 136, 136, 0.479);\n background-color: #fff;\n}", "file_path": "/mnt/persist/workspace/Buttons/BurgiSimon_cuddly-monkey-7.html" }, "uniapp": { "template": "<button class=\"button-3d\"></button>\n <text class=\"button-text\">CLICK ME</text>\n</button>", "script": "export default {\n name: 'GalaxyCuddlyMonkey7',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by BurgiSimon - Website: https://codepen.io/bepctak/pen/ojXjzR - Name: Artur - Tags: simple, 3d, white, button, rounded, light, css, 3d button */\n.button-3d {\n position: relative;\n top: -12rpx;\n border: 3rpx rgb(0, 0, 0) inset;\n border-radius: 20rpx;\n transition: all 40ms ease-out;\n margin-top: 2rpx;\n margin-bottom: 2rpx;\n margin-left: 4rpx;\n margin-right: 4rpx;\n padding-top: 20rpx;\n padding-bottom: 20rpx;\n padding-left: 20rpx;\n padding-right: 20rpx;\n color: #666666;\n\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 2rpx #ebebeb inset, 0 0 0 4rpx rgba(255, 255, 255, 0.1) inset,\n 0 16rpx 0 0 #f5f5f5, 0 16rpx 16rpx 2rpx 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 background-color: #fff;\n}\n\n.button-text {\n font-family: sans-serif;\n font-weight: 0;\n font-size: 32rpx;\n letter-spacing: 6rpx;\n color: #000000;\n border-bottom: 0rpx solid;\n}\n\n.button-3d:hover {\n border: 4rpx rgb(0, 0, 0) inset;\n}\n\n.button-3d:active {\n top: 2rpx;\n color: #666666;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 0 0 2rpx #ebebeb inset, 0 0 0 2rpx rgba(255, 255, 255, 0.15) inset,\n 0 2rpx 6rpx 2rpx rgba(136, 136, 136, 0.479);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background-color: #fff;\n}\n\n", "component_name": "GalaxyCuddlyMonkey7" }, "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 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "low", "bundle_size": 1166, "render_cost": "low", "memory_usage": "low" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.831Z", "updated_at": "2025-07-31T07:55:32.831Z" }