UNPKG

galaxy-uniapp-mcp-server

Version:

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

119 lines 6.04 kB
{ "id": "zebra76966_brown-emu-91", "name": "brown-emu-91", "category": "buttons", "author": "zebra76966", "description": "brown-emu-91 组件 (button, dark, 3d button, animation, gradient, interactive)", "tags": [ "button", "dark", "3d button", "animation", "gradient", "interactive" ], "original": { "html": "<button class=\"c-button\">\n <span class=\"c-main\">\n <span class=\"c-ico\"><span class=\"c-blur\"></span> <span class=\"ico-text\">+</span></span>\n button\n </span>\n</button>", "css": "/* From Uiverse.io by zebra76966 - Tags: button, dark, 3d button */\nbutton {\n border: none;\n}\n\n.c-button {\n background: linear-gradient(140deg, rgba(75, 118, 200, 1) 0%, rgba(31, 70, 145, 1) 100%);\n border-radius: 45px;\n font-size: 25px;\n text-align: left;\n padding: 11px 0px 11px 0px;\n border: 4px solid rgb(37, 37, 37) !important;\n border-style: outset;\n box-shadow: -6px -5px 18px rgba(255, 255, 255, 0.1);\n cursor: pointer;\n}\n\n.c-button .c-main {\n border-radius: 45px;\n color: rgba(255, 255, 255, 1);\n padding: 11px 25px 11px 2px;\n box-shadow: inset 0px 0px 5px rgba(17, 17, 17, 0);\n transition: all 0.5s ease-in-out;\n border: 1px solid transparent;\n}\n\n.c-ico .c-blur {\n background: linear-gradient(318deg, rgba(75, 118, 200, 1) 0%, rgba(31, 70, 145, 1) 100%);\n border-radius: 100%;\n margin-left: 0;\n padding: 8px 23px;\n filter: blur(1px);\n text-align: center;\n}\n\n.c-ico {\n position: relative;\n margin-right: 20px;\n}\n\n.c-ico .ico-text {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n\n/* Hovering */\n\n.c-button .c-main:hover {\n box-shadow: inset 0px 0px 5px rgba(17, 17, 17, 0.6);\n border: 1px solid rgba(26, 26, 26,0.5);\n color: rgba(255, 255, 255, 0.5);\n}", "file_path": "/mnt/persist/workspace/Buttons/zebra76966_brown-emu-91.html" }, "uniapp": { "template": "<button class=\"c-button\"></button>\n <text class=\"c-main\"></text>\n <text class=\"c-ico\"><text class=\"c-blur\"></text></text> <text class=\"ico-text\">+</text></span>\n button\n </span>\n</button>", "script": "export default {\n name: 'GalaxyBrownEmu91',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by zebra76966 - Tags: button, dark, 3d button */\nbutton {\n border: none;\n}\n\n.c-button {\n background: linear-gradient(140deg, rgba(75, 118, 200, 1) 0%, rgba(31, 70, 145, 1) 100%);\n border-radius: 90rpx;\n font-size: 50rpx;\n text-align: left;\n padding: 22rpx 0rpx 22rpx 0rpx;\n border: 8rpx solid rgb(37, 37, 37) !important;\n border-style: outset;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -12rpx -10rpx 36rpx rgba(255, 255, 255, 0.1);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.c-button .c-main {\n border-radius: 90rpx;\n color: rgba(255, 255, 255, 1);\n padding: 22rpx 50rpx 22rpx 4rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0rpx 0rpx 10rpx rgba(17, 17, 17, 0);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all 0.5s ease-in-out;\n border: 2rpx solid transparent;\n}\n\n.c-ico .c-blur {\n background: linear-gradient(318deg, rgba(75, 118, 200, 1) 0%, rgba(31, 70, 145, 1) 100%);\n border-radius: 100%;\n margin-left: 0;\n padding: 16rpx 46rpx;\n \n text-align: center;\n}\n\n.c-ico {\n position: relative;\n margin-right: 40rpx;\n}\n\n.c-ico .ico-text {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n\n/* Hovering */\n\n.c-button .c-main:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: inset 0rpx 0rpx 10rpx rgba(17, 17, 17, 0.6);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n border: 2rpx solid rgba(26, 26, 26,0.5);\n color: rgba(255, 255, 255, 0.5);\n}\n\n", "component_name": "GalaxyBrownEmu91" }, "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": 1404, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.431Z", "updated_at": "2025-07-31T07:55:38.431Z" }