UNPKG

galaxy-uniapp-mcp-server

Version:

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

123 lines 5.55 kB
{ "id": "BurgiSimon_strange-hound-0", "name": "strange-hound-0", "category": "buttons", "author": "BurgiSimon", "description": "strange-hound-0 组件 (flashy, 3d, white, gradient, button, hover, smooth, neon, animation, interactive)", "tags": [ "flashy", "3d", "white", "gradient", "button", "hover", "smooth", "neon", "animation", "interactive" ], "original": { "html": "<div class=\"div\">\n <button class=\"button\">\n <span class=\"span\"> HOVER ME </span>\n </button>\n</div>", "css": "/* From Uiverse.io by BurgiSimon - Tags: flashy, 3d, white, gradient, button, hover, smooth, neon */\n.button {\n cursor: pointer;\n padding: 10px 20px;\n border-radius: 20px;\n background-color: #e8e8e8;\n border: 1.6px solid #e2e2e2;\n box-shadow: 6px 6px 10px #c5c5c5, -6px -6px 12px #ffffff;\n transform: skewX(-5deg);\n position: relative;\n overflow: hidden;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n top: -4px;\n left: -4px;\n right: -4px;\n bottom: -4px;\n z-index: -1;\n background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);\n background-size: 400%;\n border-radius: 30px;\n opacity: 0;\n transition: opacity 0.5s, filter 0.5s;\n}\n\n.button:hover::before {\n filter: blur(10px);\n opacity: 1;\n animation: animateBorder 8s linear infinite;\n border: 4px solid rgb(255, 255, 255);\n}\n\n@keyframes animateBorder {\n 0% {\n background-position: 0%;\n }\n 100% {\n background-position: 400%;\n }\n}\n\n.span {\n color: black;\n letter-spacing: 3px;\n font-size: 18px;\n}\n\n.button:active {\n box-shadow: 5px 5px 12px #cfcece, -4px -4px 12px #fcfcfc;\n}", "file_path": "/mnt/persist/workspace/Buttons/BurgiSimon_strange-hound-0.html" }, "uniapp": { "template": "<view class=\"div\"></view>\n <button class=\"button\"></button>\n <text class=\"span\"> HOVER ME </text>\n </button>\n</div>", "script": "export default {\n name: 'GalaxyStrangeHound0',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by BurgiSimon - Tags: flashy, 3d, white, gradient, button, hover, smooth, neon */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n padding: 20rpx 40rpx;\n border-radius: 40rpx;\n background-color: #e8e8e8;\n border: 3.2rpx solid #e2e2e2;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 12rpx 12rpx 20rpx #c5c5c5, -12rpx -12rpx 24rpx #ffffff;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transform: skewX(-5deg);\n position: relative;\n overflow: hidden;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n top: -8rpx;\n left: -8rpx;\n right: -8rpx;\n bottom: -8rpx;\n z-index: -1;\n background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);\n background-size: 400%;\n border-radius: 60rpx;\n opacity: 0;\n transition: opacity 0.5s, filter 0.5s;\n}\n\n.button:hover::before {\n \n opacity: 1;\n animation: animateBorder 8s linear infinite;\n border: 8rpx solid rgb(255, 255, 255);\n}\n\n@keyframes animateBorder {\n 0% {\n background-position: 0%;\n }\n 100% {\n background-position: 400%;\n }\n}\n\n.span {\n color: black;\n letter-spacing: 6rpx;\n font-size: 36rpx;\n}\n\n.button:active {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 10rpx 10rpx 24rpx #cfcece, -8rpx -8rpx 24rpx #fcfcfc;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n", "component_name": "GalaxyStrangeHound0" }, "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 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 filter 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1200, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.837Z", "updated_at": "2025-07-31T07:55:32.837Z" }