UNPKG

galaxy-uniapp-mcp-server

Version:

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

109 lines 4.83 kB
{ "id": "boryanakrasteva_tidy-falcon-17", "name": "tidy-falcon-17", "category": "buttons", "author": "boryanakrasteva", "description": "tidy-falcon-17 组件 (button, delete, animation, interactive)", "tags": [ "button", "delete", "animation", "interactive" ], "original": { "html": "<button class=\"btn\">\n <svg viewBox=\"0 0 15 17.5\" height=\"17.5\" width=\"15\" xmlns=\"http://www.w3.org/2000/svg\" class=\"icon\">\n <path transform=\"translate(-2.5 -1.25)\" d=\"M15,18.75H5A1.251,1.251,0,0,1,3.75,17.5V5H2.5V3.75h15V5H16.25V17.5A1.251,1.251,0,0,1,15,18.75ZM5,5V17.5H15V5Zm7.5,10H11.25V7.5H12.5V15ZM8.75,15H7.5V7.5H8.75V15ZM12.5,2.5h-5V1.25h5V2.5Z\" id=\"Fill\"></path>\n</svg>\n</button>", "css": "/* From Uiverse.io by boryanakrasteva - Tags: button, delete */\n.btn {\n background-color: transparent;\n position: relative;\n border: none;\n}\n\n.btn::after {\n content: 'delete';\n position: absolute;\n top: -130%;\n left: 50%;\n transform: translateX(-50%);\n width: fit-content;\n height: fit-content;\n background-color: rgb(168, 7, 7);\n padding: 4px 8px;\n border-radius: 5px;\n transition: .2s linear;\n transition-delay: .2s;\n color: white;\n text-transform: uppercase;\n font-size: 12px;\n opacity: 0;\n visibility: hidden;\n}\n\n.icon {\n transform: scale(1.2);\n transition: .2s linear;\n}\n\n.btn:hover > .icon {\n transform: scale(1.5);\n}\n\n.btn:hover > .icon path {\n fill: rgb(168, 7, 7);\n}\n\n.btn:hover::after {\n visibility: visible;\n opacity: 1;\n top: -160%;\n}", "file_path": "/mnt/persist/workspace/Buttons/boryanakrasteva_tidy-falcon-17.html" }, "uniapp": { "template": "<button class=\"btn\"></button>\n <view viewBox=\"0 0 15 17.5\" height=\"17.5\" width=\"15\" xmlns=\"http://www.w3.org/2000/svg\" class=\"icon\"></view>\n <path transform=\"translate(-2.5 -1.25)\" d=\"M15,18.75H5A1.251,1.251,0,0,1,3.75,17.5V5H2.5V3.75h15V5H16.25V17.5A1.251,1.251,0,0,1,15,18.75ZM5,5V17.5H15V5Zm7.5,10H11.25V7.5H12.5V15ZM8.75,15H7.5V7.5H8.75V15ZM12.5,2.5h-5V1.25h5V2.5Z\" id=\"Fill\"></path>\n</svg>\n</button>", "script": "export default {\n name: 'GalaxyTidyFalcon17',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by boryanakrasteva - Tags: button, delete */\n.btn {\n background-color: transparent;\n position: relative;\n border: none;\n}\n\n.btn::after {\n content: 'delete';\n position: absolute;\n top: -130%;\n left: 50%;\n transform: translateX(-50%);\n width: fit-content;\n height: fit-content;\n background-color: rgb(168, 7, 7);\n padding: 8rpx 16rpx;\n border-radius: 10rpx;\n transition: .2s linear;\n transition-delay: .2s;\n color: white;\n text-transform: uppercase;\n font-size: 24rpx;\n opacity: 0;\n visibility: hidden;\n}\n\n.icon {\n transform: scale(1.2);\n transition: .2s linear;\n}\n\n.btn:hover > .icon {\n transform: scale(1.5);\n}\n\n.btn:hover > .icon path {\n fill: rgb(168, 7, 7);\n}\n\n.btn:hover::after {\n visibility: visible;\n opacity: 1;\n top: -160%;\n}\n\n", "component_name": "GalaxyTidyFalcon17" }, "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": [], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1167, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.045Z", "updated_at": "2025-07-31T07:55:36.045Z" }