UNPKG

galaxy-uniapp-mcp-server

Version:

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

119 lines 5.58 kB
{ "id": "AlimurtuzaCodes_average-liger-0", "name": "average-liger-0", "category": "buttons", "author": "AlimurtuzaCodes", "description": "average-liger-0 组件 (gradient, button, stars, css effect, css button, generate, animation, interactive)", "tags": [ "gradient", "button", "stars", "css effect", "css button", "generate", "animation", "interactive" ], "original": { "html": "<button class=\"btn\">\n <svg height=\"24\" width=\"24\" fill=\"#FFFFFF\" viewBox=\"0 0 24 24\" data-name=\"Layer 1\" id=\"Layer_1\" class=\"sparkle\">\n <path d=\"M10,21.236,6.755,14.745.264,11.5,6.755,8.255,10,1.764l3.245,6.491L19.736,11.5l-6.491,3.245ZM18,21l1.5,3L21,21l3-1.5L21,18l-1.5-3L18,18l-3,1.5ZM19.333,4.667,20.5,7l1.167-2.333L24,3.5,21.667,2.333,20.5,0,19.333,2.333,17,3.5Z\"></path>\n </svg>\n\n <span class=\"text\">Generate</span>\n</button>", "css": "/* From Uiverse.io by AlimurtuzaCodes - Tags: gradient, button, stars, css effect, css button, generate */\n.btn {\n border: none;\n width: 15em;\n height: 5em;\n border-radius: 3em;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 12px;\n background: #1C1A1C;\n cursor: pointer;\n transition: all 450ms ease-in-out;\n}\n\n.sparkle {\n fill: #AAAAAA;\n transition: all 800ms ease;\n}\n\n.text {\n font-weight: 600;\n color: #AAAAAA;\n font-size: medium;\n}\n\n.btn:hover {\n background: linear-gradient(0deg,#A47CF3,#683FEA);\n box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4),\n inset 0px -4px 0px 0px rgba(0, 0, 0, 0.2),\n 0px 0px 0px 4px rgba(255, 255, 255, 0.2),\n 0px 0px 180px 0px #9917FF;\n transform: translateY(-2px);\n}\n\n.btn:hover .text {\n color: white;\n}\n\n.btn:hover .sparkle {\n fill: white;\n transform: scale(1.2);\n}", "file_path": "/mnt/persist/workspace/Buttons/AlimurtuzaCodes_average-liger-0.html" }, "uniapp": { "template": "<button class=\"btn\"></button>\n <view height=\"24\" width=\"24\" fill=\"#FFFFFF\" viewBox=\"0 0 24 24\" data-name=\"Layer 1\" id=\"Layer_1\" class=\"sparkle\"></view>\n <path d=\"M10,21.236,6.755,14.745.264,11.5,6.755,8.255,10,1.764l3.245,6.491L19.736,11.5l-6.491,3.245ZM18,21l1.5,3L21,21l3-1.5L21,18l-1.5-3L18,18l-3,1.5ZM19.333,4.667,20.5,7l1.167-2.333L24,3.5,21.667,2.333,20.5,0,19.333,2.333,17,3.5Z\"></path>\n </svg>\n\n <text class=\"text\">Generate</text>\n</button>", "script": "export default {\n name: 'GalaxyAverageLiger0',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by AlimurtuzaCodes - Tags: gradient, button, stars, css effect, css button, generate */\n.btn {\n border: none;\n width: 15em;\n height: 5em;\n border-radius: 3em;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 24rpx;\n background: #1C1A1C;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 450ms ease-in-out;\n}\n\n.sparkle {\n fill: #AAAAAA;\n transition: all 800ms ease;\n}\n\n.text {\n font-weight: 600;\n color: #AAAAAA;\n font-size: medium;\n}\n\n.btn:hover {\n background: linear-gradient(0deg,#A47CF3,#683FEA);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0rpx 2rpx 0rpx 0rpx rgba(255, 255, 255, 0.4),\n inset 0rpx -8rpx 0rpx 0rpx rgba(0, 0, 0, 0.2),\n 0rpx 0rpx 0rpx 8rpx rgba(255, 255, 255, 0.2),\n 0rpx 0rpx 360rpx 0rpx #9917FF;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: translateY(-4rpx);\n}\n\n.btn:hover .text {\n color: white;\n}\n\n.btn:hover .sparkle {\n fill: white;\n transform: scale(1.2);\n} \n", "component_name": "GalaxyAverageLiger0" }, "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": 1308, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.570Z", "updated_at": "2025-07-31T07:55:32.570Z" }