UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 4.49 kB
{ "id": "Gautammsharma_silent-turtle-50", "name": "silent-turtle-50", "category": "buttons", "author": "Gautammsharma", "description": "silent-turtle-50 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button class=\"comic-btn\">Click me!</button>", "css": "/* From Uiverse.io by Gautammsharma - Tags: button */\n.comic-btn {\n display: inline-block;\n padding: 1rem 2rem;\n border-radius: 2rem;\n border: none;\n background-color: #ff7675;\n color: #fff;\n font-size: 1.5rem;\n font-weight: bold;\n text-transform: uppercase;\n text-shadow: 2px 2px #000;\n box-shadow: 6px 6px 0px #d63031;\n cursor: pointer;\n transition: all 0.3s ease;\n}\n\n.comic-btn:hover {\n background-color: #fdcb6e;\n box-shadow: 4px 4px 0px #e17055;\n transform: translate(2px, 2px);\n}\n\n.comic-btn:active {\n background-color: #e17055;\n box-shadow: 0px 0px 0px #d63031;\n transform: translate(6px, 6px);\n}", "file_path": "/mnt/persist/workspace/Buttons/Gautammsharma_silent-turtle-50.html" }, "uniapp": { "template": "<button class=\"comic-btn\"></button>Click me!</button>", "script": "export default {\n name: 'GalaxySilentTurtle50',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Gautammsharma - Tags: button */\n.comic-btn {\n display: inline-block;\n padding: 1rem 2rem;\n border-radius: 2rem;\n border: none;\n background-color: #ff7675;\n color: #fff;\n font-size: 1.5rem;\n font-weight: bold;\n text-transform: uppercase;\n /* #ifdef H5 */\n text-shadow: 4rpx 4rpx #000;\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 12rpx 12rpx 0rpx #d63031;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.3s ease;\n}\n\n.comic-btn:hover {\n background-color: #fdcb6e;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 8rpx 8rpx 0rpx #e17055;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translate(4rpx, 4rpx);\n}\n\n.comic-btn:active {\n background-color: #e17055;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 0rpx #d63031;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translate(12rpx, 12rpx);\n}\n\n", "component_name": "GalaxySilentTurtle50" }, "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 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 text-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 672, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.273Z", "updated_at": "2025-07-31T07:55:33.273Z" }