UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 5.99 kB
{ "id": "andrew-demchenk0_strange-starfish-32", "name": "strange-starfish-32", "category": "buttons", "author": "andrew-demchenk0", "description": "strange-starfish-32 组件 (animation, blue, button, message, interactive)", "tags": [ "animation", "blue", "button", "message", "interactive" ], "original": { "html": "<button class=\"button\">\n <svg class=\"svg-icon\" fill=\"none\" height=\"22\" viewBox=\"0 0 20 20\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\"><g stroke=\"#fff\" stroke-linecap=\"round\" stroke-width=\"1.5\"><path d=\"m6.66669 6.66667h6.66671\"></path><path clip-rule=\"evenodd\" d=\"m3.33331 5.00001c0-.92047.74619-1.66667 1.66667-1.66667h10.00002c.9205 0 1.6666.7462 1.6666 1.66667v6.66669c0 .9205-.7461 1.6666-1.6666 1.6666h-4.8274c-.1105 0-.21654.044-.29462.122l-2.50004 2.5c-.26249.2625-.71129.0766-.71129-.2945v-1.9108c0-.2301-.18655-.4167-.41667-.4167h-1.25c-.92048 0-1.66667-.7461-1.66667-1.6666z\" fill-rule=\"evenodd\"></path><path d=\"m6.66669 10h2.5\"></path></g></svg>\n <span class=\"lable\">Message</span>\n</button>", "css": "/* From Uiverse.io by andrew-demchenk0 - Tags: animation, blue, button, message */\n.button {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 6px 12px;\n gap: 8px;\n height: 32px;\n width: 124px;\n border: none;\n background: #056bfae0;\n border-radius: 20px;\n cursor: pointer;\n}\n\n.lable {\n line-height: 20px;\n font-size: 17px;\n color: #fff;\n font-family: sans-serif;\n letter-spacing: 1px;\n}\n\n.button:hover {\n background: #056DFA;\n}\n\n.button:hover .svg-icon {\n animation: msg 2s linear infinite;\n}\n\n@keyframes msg {\n 0% {\n transform: translate(0, 0) scale(1);\n }\n\n 15% {\n transform: translateX(1px);\n }\n\n 30% {\n transform: scale(1.1);\n }\n\n 45% {\n transform: translateY(1px);\n }\n\n 60% {\n transform: translateY(0px);\n }\n\n 75% {\n transform: scale(1);\n }\n\n 90% {\n transform: translateX(-px);\n }\n\n 100% {\n transform: translate(0, 0) scale(1);\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/andrew-demchenk0_strange-starfish-32.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n <view class=\"svg-icon\" fill=\"none\" height=\"22\" viewBox=\"0 0 20 20\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\"><g stroke=\"#fff\" stroke-linecap=\"round\" stroke-width=\"1.5\"><path d=\"m6.66669 6.66667h6.66671\"></path><path clip-rule=\"evenodd\" d=\"m3.33331 5.00001c0-.92047.74619-1.66667 1.66667-1.66667h10.00002c.9205 0 1.6666.7462 1.6666 1.66667v6.66669c0 .9205-.7461 1.6666-1.6666 1.6666h-4.8274c-.1105 0-.21654.044-.29462.122l-2.50004 2.5c-.26249.2625-.71129.0766-.71129-.2945v-1.9108c0-.2301-.18655-.4167-.41667-.4167h-1.25c-.92048 0-1.66667-.7461-1.66667-1.6666z\" fill-rule=\"evenodd\"></path><path d=\"m6.66669 10h2.5\"></path></g></view>\n <text class=\"lable\">Message</text>\n</button>", "script": "export default {\n name: 'GalaxyStrangeStarfish32',\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: animation, blue, button, message */\n.button {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 12rpx 24rpx;\n gap: 16rpx;\n height: 64rpx;\n width: 248rpx;\n border: none;\n background: #056bfae0;\n border-radius: 40rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.lable {\n line-height: 40rpx;\n font-size: 34rpx;\n color: #fff;\n font-family: sans-serif;\n letter-spacing: 2rpx;\n}\n\n.button:hover {\n background: #056DFA;\n}\n\n.button:hover .svg-icon {\n animation: msg 2s linear infinite;\n}\n\n@keyframes msg {\n 0% {\n transform: translate(0, 0) scale(1);\n }\n\n 15% {\n transform: translateX(2rpx);\n }\n\n 30% {\n transform: scale(1.1);\n }\n\n 45% {\n transform: translateY(2rpx);\n }\n\n 60% {\n transform: translateY(0rpx);\n }\n\n 75% {\n transform: scale(1);\n }\n\n 90% {\n transform: translateX(-px);\n }\n\n 100% {\n transform: translate(0, 0) scale(1);\n }\n}\n", "component_name": "GalaxyStrangeStarfish32" }, "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": 1630, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:35.709Z", "updated_at": "2025-07-31T07:55:35.709Z" }