UNPKG

galaxy-uniapp-mcp-server

Version:

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

119 lines 5.36 kB
{ "id": "vikas7754_calm-wombat-35", "name": "calm-wombat-35", "category": "buttons", "author": "vikas7754", "description": "calm-wombat-35 组件 (3d, button, 3d button, animation, gradient, interactive)", "tags": [ "3d", "button", "3d button", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"box\">\n Button\n</button>", "css": "/* From Uiverse.io by vikas7754 - Tags: 3d, button, 3d button */\n.box {\n background: linear-gradient(to right, gold, darkorange);\n color: white;\n --width: 200px;\n --height: calc(var(--width) / 3);\n width: var(--width);\n height: var(--height);\n text-align: center;\n line-height: var(--height);\n font-size: calc(var(--height) / 2.5);\n font-family: sans-serif;\n letter-spacing: 0.2em;\n border: 1px solid darkgoldenrod;\n border-radius: 2em;\n transform: perspective(500px) rotateY(-15deg);\n text-shadow: 6px 3px 2px rgba(0, 0, 0, 0.2);\n box-shadow: 2px 0 0 5px rgba(76, 255, 97, 0.8);\n transition: 0.5s;\n position: relative;\n overflow: hidden;\n cursor: pointer;\n}\n\n.box:hover {\n transform: perspective(500px) rotateY(15deg);\n text-shadow: -6px 3px 2px rgba(0, 0, 0, 0.2);\n box-shadow: -2px 0 0 5px rgba(35, 255, 218, 0.8);\n}\n\n.box::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n background: linear-gradient(to right, transparent, white, transparent);\n left: -100%;\n transition: 0.5s;\n}\n\n.box:hover::before {\n left: 100%;\n}", "file_path": "/mnt/persist/workspace/Buttons/vikas7754_calm-wombat-35.html" }, "uniapp": { "template": "<button class=\"box\"></button>\n Button\n</button>", "script": "export default {\n name: 'GalaxyCalmWombat35',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by vikas7754 - Tags: 3d, button, 3d button */\n.box {\n background: linear-gradient(to right, gold, darkorange);\n color: white;\n --width: 400rpx;\n --height: calc(var(--width) / 3);\n width: var(--width);\n height: var(--height);\n text-align: center;\n line-height: var(--height);\n font-size: calc(var(--height) / 2.5);\n font-family: sans-serif;\n letter-spacing: 0.2em;\n border: 2rpx solid darkgoldenrod;\n border-radius: 2em;\n transform: perspective(1000rpx) rotateY(-15deg);\n /* #ifdef H5 */\n text-shadow: 12rpx 6rpx 4rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 0 0 10rpx rgba(76, 255, 97, 0.8);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: 0.5s;\n position: relative;\n overflow: hidden;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.box:hover {\n transform: perspective(1000rpx) rotateY(15deg);\n /* #ifdef H5 */\n text-shadow: -12rpx 6rpx 4rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -4rpx 0 0 10rpx rgba(35, 255, 218, 0.8);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.box::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n background: linear-gradient(to right, transparent, white, transparent);\n left: -100%;\n transition: 0.5s;\n}\n\n.box:hover::before {\n left: 100%;\n}\n", "component_name": "GalaxyCalmWombat35" }, "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 属性", "不支持 text-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性", "不支持 text-shadow 属性", "不支持 cursor 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1118, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.001Z", "updated_at": "2025-07-31T07:55:38.001Z" }