UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 5.01 kB
{ "id": "e-coders_new-shrimp-32", "name": "new-shrimp-32", "category": "buttons", "author": "e-coders", "description": "new-shrimp-32 组件 (simple, minimalist, button, animation, interactive)", "tags": [ "simple", "minimalist", "button", "animation", "interactive" ], "original": { "html": "<button>Button</button>", "css": "/* From Uiverse.io by e-coders - Tags: simple, minimalist, button */\nbutton {\n appearance: none;\n background-color: transparent;\n border: 0.125em solid #1A1A1A;\n border-radius: 0.9375em;\n box-sizing: border-box;\n color: #3B3B3B;\n cursor: pointer;\n display: inline-block;\n font-family: Roobert,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\";\n font-size: 16px;\n font-weight: 600;\n line-height: normal;\n margin: 0;\n min-height: 3.75em;\n min-width: 0;\n outline: none;\n padding: 1em 2.3em;\n text-align: center;\n text-decoration: none;\n transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);\n user-select: none;\n -webkit-user-select: none;\n touch-action: manipulation;\n will-change: transform;\n}\n\nbutton:disabled {\n pointer-events: none;\n}\n\nbutton:hover {\n color: #fff;\n background-color: #1A1A1A;\n box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;\n transform: translateY(-2px);\n}\n\nbutton:active {\n box-shadow: none;\n transform: translateY(0);\n}", "file_path": "/mnt/persist/workspace/Buttons/e-coders_new-shrimp-32.html" }, "uniapp": { "template": "<button></button>Button</button>", "script": "export default {\n name: 'GalaxyNewShrimp32',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by e-coders - Tags: simple, minimalist, button */\nbutton {\n appearance: none;\n background-color: transparent;\n border: 0.125em solid #1A1A1A;\n border-radius: 0.9375em;\n box-sizing: border-box;\n color: #3B3B3B;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n display: inline-block;\n font-family: Roobert,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\";\n font-size: 32rpx;\n font-weight: 600;\n line-height: normal;\n margin: 0;\n min-height: 3.75em;\n min-width: 0;\n outline: none;\n padding: 1em 2.3em;\n text-align: center;\n text-decoration: none;\n transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);\n user-select: none;\n -webkit-user-select: none;\n touch-action: manipulation;\n will-change: transform;\n}\n\nbutton:disabled {\n pointer-events: none;\n}\n\nbutton:hover {\n color: #fff;\n background-color: #1A1A1A;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, 0.25) 0 16rpx 30rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translateY(-4rpx);\n}\n\nbutton:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: none;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translateY(0);\n}\n", "component_name": "GalaxyNewShrimp32" }, "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": "medium", "bundle_size": 1037, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.458Z", "updated_at": "2025-07-31T07:55:36.458Z" }