UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 4.45 kB
{ "id": "ozgeozkaraa01_jolly-squid-49", "name": "jolly-squid-49", "category": "buttons", "author": "ozgeozkaraa01", "description": "jolly-squid-49 组件 (button, buttons, desined Button, animation, interactive)", "tags": [ "button", "buttons", "desined Button", "animation", "interactive" ], "original": { "html": "<button>\n <span>Next</span>\n <svg width=\"15\" height=\"15\" stroke=\"currentColor\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>\n</svg>\n</button>", "css": "/* From Uiverse.io by ozgeozkaraa01 - Tags: button, buttons, desined Button */\nbutton {\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: all 0.3s linear;\n border-radius: 10px;\n border: 1px solid #F2BED1;\n padding: 10px 20px;\n}\n\nbutton > svg {\n margin-left: 5px;\n transition: all 0.4s ease-in;\n}\n\nbutton:hover > svg {\n font-size: 1.2em;\n transform: translateX(6px);\n}\n\nbutton:hover {\n box-shadow: 10px 10px 40px #d1d1d1;\n transform: translateY(-5px);\n}", "file_path": "/mnt/persist/workspace/Buttons/ozgeozkaraa01_jolly-squid-49.html" }, "uniapp": { "template": "<button></button>\n <text>Next</text>\n <view width=\"15\" height=\"15\" stroke=\"currentColor\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>\n</svg>\n</button>", "script": "export default {\n name: 'GalaxyJollySquid49',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by ozgeozkaraa01 - Tags: button, buttons, desined Button */\nbutton {\n display: flex;\n align-items: center;\n justify-content: center;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.3s linear;\n border-radius: 20rpx;\n border: 2rpx solid #F2BED1;\n padding: 20rpx 40rpx;\n}\n\nbutton > svg {\n margin-left: 10rpx;\n transition: all 0.4s ease-in;\n}\n\nbutton:hover > svg {\n font-size: 1.2em;\n transform: translateX(12rpx);\n}\n\nbutton:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 20rpx 20rpx 80rpx #d1d1d1;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translateY(-10rpx);\n}\n", "component_name": "GalaxyJollySquid49" }, "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 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 803, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:37.533Z", "updated_at": "2025-07-31T07:55:37.533Z" }