UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 4.98 kB
{ "id": "cssbuttons-io_tame-panda-59", "name": "tame-panda-59", "category": "buttons", "author": "cssbuttons-io", "description": "tame-panda-59 组件 (button, ukraine, animation, gradient, interactive)", "tags": [ "button", "ukraine", "animation", "gradient", "interactive" ], "original": { "html": "<button>\n <span class=\"button-content\">\n <svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 0H24V24H0z\" fill=\"none\"></path><path d=\"M12.001 4.529c2.349-2.109 5.979-2.039 8.242.228 2.262 2.268 2.34 5.88.236 8.236l-8.48 8.492-8.478-8.492c-2.104-2.356-2.025-5.974.236-8.236 2.265-2.264 5.888-2.34 8.244-.228z\" fill=\"currentColor\"></path></svg> Ukraine\n </span>\n</button>", "css": "/* From Uiverse.io by cssbuttons-io - Tags: button, ukraine */\nbutton {\n font-size: 17px;\n font-family: inherit;\n font-weight: 700;\n padding: 4px;\n border-radius: 20px;\n border: none;\n color: black;\n box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;\n background: linear-gradient(0deg, rgba(255,213,0,1) 0%, rgba(255,213,0,1) 47%, rgba(0,91,187,1) 47%, rgba(0,91,187,1) 100%);\n}\n\nbutton .button-content {\n display: flex;\n align-items: center;\n background: white;\n padding: 0.7em 1.5em;\n padding-left: 1.2em;\n border-radius: 16px;\n}\n\nbutton svg {\n width: 22px;\n height: 22px;\n margin-right: 6px;\n color: #ff0000;\n transition: transform 0.3s;\n}\n\nbutton:hover svg {\n transform: scale(1.2);\n}", "file_path": "/mnt/persist/workspace/Buttons/cssbuttons-io_tame-panda-59.html" }, "uniapp": { "template": "<button></button>\n <text class=\"button-content\"></text>\n <view viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 0H24V24H0z\" fill=\"none\"></path><path d=\"M12.001 4.529c2.349-2.109 5.979-2.039 8.242.228 2.262 2.268 2.34 5.88.236 8.236l-8.48 8.492-8.478-8.492c-2.104-2.356-2.025-5.974.236-8.236 2.265-2.264 5.888-2.34 8.244-.228z\" fill=\"currentColor\"></path></view> Ukraine\n </span>\n</button>", "script": "export default {\n name: 'GalaxyTamePanda59',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by cssbuttons-io - Tags: button, ukraine */\nbutton {\n font-size: 34rpx;\n font-family: inherit;\n font-weight: 700;\n padding: 8rpx;\n border-radius: 40rpx;\n border: none;\n color: black;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: rgba(0, 0, 0, 0.1) 0rpx 40rpx 50rpx -10rpx, rgba(0, 0, 0, 0.04) 0rpx 20rpx 20rpx -10rpx;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n background: linear-gradient(0deg, rgba(255,213,0,1) 0%, rgba(255,213,0,1) 47%, rgba(0,91,187,1) 47%, rgba(0,91,187,1) 100%);\n}\n\nbutton .button-content {\n display: flex;\n align-items: center;\n background: white;\n padding: 0.7em 1.5em;\n padding-left: 1.2em;\n border-radius: 32rpx;\n}\n\nbutton svg {\n width: 44rpx;\n height: 44rpx;\n margin-right: 12rpx;\n color: #ff0000;\n transition: transform 0.3s;\n}\n\nbutton:hover svg {\n transform: scale(1.2);\n}\n\n\n", "component_name": "GalaxyTamePanda59" }, "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": "medium", "bundle_size": 1127, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.231Z", "updated_at": "2025-07-31T07:55:36.231Z" }