UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 3.68 kB
{ "id": "Rodrypaladin_smart-puma-20", "name": "smart-puma-20", "category": "buttons", "author": "Rodrypaladin", "description": "smart-puma-20 组件 (simple, animation, minimalist, black, button, creative, hover effect, click animation, interactive)", "tags": [ "simple", "animation", "minimalist", "black", "button", "creative", "hover effect", "click animation", "interactive" ], "original": { "html": "<button class=\"button\">\n Button\n</button>", "css": "/* From Uiverse.io by Rodrypaladin - Tags: simple, animation, minimalist, black, button, creative, hover effect, click animation */\n.button {\n color: #202020;\n background-color: #2d2d2d;\n letter-spacing: .1em;\n text-shadow: -1px -1px 1px #111111, \n 2px 2px 1px #363636;\n border: 3px solid #363636;\n font-size: 2em;\n padding: 10px 20px;\n transition: all 0.1s ease-in;\n}\n\n.button:active {\n border-color: #111111;\n color: #111111;\n padding: 10px 30px;\n}", "file_path": "/mnt/persist/workspace/Buttons/Rodrypaladin_smart-puma-20.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n Button\n</button>", "script": "export default {\n name: 'GalaxySmartPuma20',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by Rodrypaladin - Tags: simple, animation, minimalist, black, button, creative, hover effect, click animation */\n.button {\n color: #202020;\n background-color: #2d2d2d;\n letter-spacing: .1em;\n /* #ifdef H5 */\n text-shadow: -2rpx -2rpx 2rpx #111111, \n 4rpx 4rpx 2rpx #363636;\n /* #endif */\n border: 6rpx solid #363636;\n font-size: 2em;\n padding: 20rpx 40rpx;\n transition: all 0.1s ease-in;\n}\n\n.button:active {\n border-color: #111111;\n color: #111111;\n padding: 20rpx 60rpx;\n}\n", "component_name": "GalaxySmartPuma20" }, "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": [ "不支持 text-shadow 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 text-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 512, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:34.468Z", "updated_at": "2025-07-31T07:55:34.468Z" }