UNPKG

galaxy-uniapp-mcp-server

Version:

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

117 lines 6.09 kB
{ "id": "catraco_blue-bulldog-58", "name": "blue-bulldog-58", "category": "buttons", "author": "catraco", "description": "blue-bulldog-58 组件 (button, click, light&dark, startbutton, animation, interactive)", "tags": [ "button", "click", "light&dark", "startbutton", "animation", "interactive" ], "original": { "html": "<button class=\"btn\">\n <div>GET STARTED</div>\n <svg fill=\"none\" viewBox=\"0 0 24 24\" height=\"25px\" width=\"25px\" xmlns=\"http://www.w3.org/2000/svg\">\n<path stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" stroke=\"white\" d=\"M11.6801 14.62L14.2401 12.06L11.6801 9.5\"></path>\n<path stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" stroke=\"white\" d=\"M4 12.0601H14.17\"></path>\n<path stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" stroke=\"white\" d=\"M12 4C16.42 4 20 7 20 12C20 17 16.42 20 12 20\"></path>\n</svg>\n</button>", "css": "/* From Uiverse.io by catraco - Tags: button, click, light&dark, startbutton */\n.btn {\n --color: #de5c9d;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all .5s;\n border: none;\n background-color: transparent;\n}\n\n.btn div {\n letter-spacing: 2px;\n font-weight: bold;\n background: var(--color);\n border-radius: 2rem;\n color: white;\n padding: 1rem;\n}\n\n.btn::before {\n content: '';\n z-index: -1;\n background-color: var(--color);\n border: 2px solid white;\n border-radius: 2rem;\n width: 110%;\n height: 100%;\n position: absolute;\n transform: rotate(10deg);\n transition: .5s;\n opacity: 0.2;\n}\n\n.btn:hover {\n cursor: pointer;\n filter: brightness(1.2);\n transform: scale(1.1);\n}\n\n.btn:hover::before {\n transform: rotate(0deg);\n opacity: 1;\n}\n\n.btn svg {\n transform: translateX(-200%);\n transition: .5s;\n width: 0;\n opacity: 0;\n}\n\n.btn:hover svg {\n width: 25px;\n transform: translateX(0%);\n opacity: 1;\n}\n\n.btn:active {\n filter: brightness(1.4);\n}", "file_path": "/mnt/persist/workspace/Buttons/catraco_blue-bulldog-58.html" }, "uniapp": { "template": "<button class=\"btn\"></button>\n <view>GET STARTED</view>\n <view fill=\"none\" viewBox=\"0 0 24 24\" height=\"25px\" width=\"25px\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n<path stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" stroke=\"white\" d=\"M11.6801 14.62L14.2401 12.06L11.6801 9.5\"></path>\n<path stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" stroke=\"white\" d=\"M4 12.0601H14.17\"></path>\n<path stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" stroke=\"white\" d=\"M12 4C16.42 4 20 7 20 12C20 17 16.42 20 12 20\"></path>\n</svg>\n</button>", "script": "export default {\n name: 'GalaxyBlueBulldog58',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by catraco - Tags: button, click, light&dark, startbutton */\n.btn {\n --color: #de5c9d;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all .5s;\n border: none;\n background-color: transparent;\n}\n\n.btn div {\n letter-spacing: 4rpx;\n font-weight: bold;\n background: var(--color);\n border-radius: 2rem;\n color: white;\n padding: 1rem;\n}\n\n.btn::before {\n content: '';\n z-index: -1;\n background-color: var(--color);\n border: 4rpx solid white;\n border-radius: 2rem;\n width: 110%;\n height: 100%;\n position: absolute;\n transform: rotate(10deg);\n transition: .5s;\n opacity: 0.2;\n}\n\n.btn:hover {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n \n transform: scale(1.1);\n}\n\n.btn:hover::before {\n transform: rotate(0deg);\n opacity: 1;\n}\n\n.btn svg {\n transform: translateX(-200%);\n transition: .5s;\n width: 0;\n opacity: 0;\n}\n\n.btn:hover svg {\n width: 50rpx;\n transform: translateX(0%);\n opacity: 1;\n}\n\n.btn:active {\n \n}\n", "component_name": "GalaxyBlueBulldog58" }, "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": [ "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1657, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:36.062Z", "updated_at": "2025-07-31T07:55:36.062Z" }