UNPKG

galaxy-uniapp-mcp-server

Version:

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

117 lines 4.86 kB
{ "id": "andrew-demchenk0_angry-cow-54", "name": "angry-cow-54", "category": "buttons", "author": "andrew-demchenk0", "description": "angry-cow-54 组件 (icon, animation, red, button, opacity, pause, big, interactive)", "tags": [ "icon", "animation", "red", "button", "opacity", "pause", "big", "interactive" ], "original": { "html": "<button class=\"button\">\n <svg class=\"svg-icon\" fill=\"none\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\"><g stroke=\"#ff2849\" stroke-linecap=\"round\" stroke-width=\"2\"><rect height=\"14\" rx=\"1.5\" width=\"3\" x=\"15\" y=\"5\"></rect><rect height=\"14\" rx=\"1.5\" width=\"3\" x=\"6\" y=\"5\"></rect></g></svg>\n <span class=\"label\">Pause</span>\n</button>", "css": "/* From Uiverse.io by andrew-demchenk0 - Tags: icon, animation, red, button, opacity, pause, big */\n.button {\n width: 122px;\n height: 60px;\n padding: 18px 22px 18px 20px;\n gap: 1px;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #ff284818;\n border-radius: 16px;\n border: none;\n cursor: pointer;\n}\n\n.label {\n font-family: sans-serif;\n height: 23px;\n font-size: 19px;\n line-height: 24px;\n color: #FF2849;\n}\n\n.button:hover {\n background: #ff284839;\n}\n\n.button:hover .svg-icon {\n animation: pulse 0.7s linear infinite;\n}\n\n@keyframes pulse {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(1.13);\n }\n\n 100% {\n transform: scale(1);\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/andrew-demchenk0_angry-cow-54.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <view class=\"svg-icon\" fill=\"none\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\"><g stroke=\"#ff2849\" stroke-linecap=\"round\" stroke-width=\"2\"><rect height=\"14\" rx=\"1.5\" width=\"3\" x=\"15\" y=\"5\"></rect><rect height=\"14\" rx=\"1.5\" width=\"3\" x=\"6\" y=\"5\"></rect></g></view>\n <text class=\"label\">Pause</text>\n</button>", "script": "export default {\n name: 'GalaxyAngryCow54',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by andrew-demchenk0 - Tags: icon, animation, red, button, opacity, pause, big */\n.button {\n width: 244rpx;\n height: 120rpx;\n padding: 36rpx 44rpx 36rpx 40rpx;\n gap: 2rpx;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #ff284818;\n border-radius: 32rpx;\n border: none;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.label {\n font-family: sans-serif;\n height: 46rpx;\n font-size: 38rpx;\n line-height: 48rpx;\n color: #FF2849;\n}\n\n.button:hover {\n background: #ff284839;\n}\n\n.button:hover .svg-icon {\n animation: pulse 0.7s linear infinite;\n}\n\n@keyframes pulse {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(1.13);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n", "component_name": "GalaxyAngryCow54" }, "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": [ "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1072, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.621Z", "updated_at": "2025-07-31T07:55:35.621Z" }