UNPKG

galaxy-uniapp-mcp-server

Version:

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

115 lines 5.33 kB
{ "id": "mi-series_fat-rabbit-79", "name": "fat-rabbit-79", "category": "buttons", "author": "mi-series", "description": "fat-rabbit-79 组件 (button, spin, animation, interactive)", "tags": [ "button", "spin", "animation", "interactive" ], "original": { "html": "<button>\n Hover Me\n</button>", "css": "/* From Uiverse.io by mi-series - Tags: button, spin */\nbutton {\n width: 150px;\n height: 50px;\n border: 2px solid #000;\n font-family: 'Lato', sans-serif;\n font-size: 17px;\n text-decoration: none;\n text-transform: uppercase;\n letter-spacing: 2px;\n font-weight: 500;\n background: transparent;\n cursor: pointer;\n position: relative;\n display: inline-block;\n margin: 20px;\n outline: none;\n text-align: center;\n z-index: 2;\n transition: all 0.3s ease;\n overflow: hidden;\n}\n\nbutton::after {\n position: absolute;\n content: \" \";\n z-index: -1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n transition: all 0.3s ease;\n}\n\nbutton:hover {\n box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),\n -4px -4px 6px 0 rgba(116, 125, 136, .2), \n inset -4px -4px 6px 0 rgba(255,255,255,.5),\n inset 4px 4px 6px 0 rgba(116, 125, 136, .3);\n color: #fff;\n}\n\nbutton:hover::after {\n transform: scale(2) rotate(180deg);\n background: #000;\n box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),\n -4px -4px 6px 0 rgba(116, 125, 136, .2), \n inset -4px -4px 6px 0 rgba(255,255,255,.5),\n inset 4px 4px 6px 0 rgba(116, 125, 136, .3);\n}", "file_path": "/mnt/persist/workspace/Buttons/mi-series_fat-rabbit-79.html" }, "uniapp": { "template": "<button></button>\n Hover Me\n</button>", "script": "export default {\n name: 'GalaxyFatRabbit79',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by mi-series - Tags: button, spin */\nbutton {\n width: 300rpx;\n height: 100rpx;\n border: 4rpx solid #000;\n font-family: 'Lato', sans-serif;\n font-size: 34rpx;\n text-decoration: none;\n text-transform: uppercase;\n letter-spacing: 4rpx;\n font-weight: 500;\n background: transparent;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n position: relative;\n display: inline-block;\n margin: 40rpx;\n outline: none;\n text-align: center;\n z-index: 2;\n transition: all 0.3s ease;\n overflow: hidden;\n}\n\nbutton::after {\n position: absolute;\n content: \" \";\n z-index: -1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n transition: all 0.3s ease;\n}\n\nbutton:hover {\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 8rpx 8rpx 12rpx 0 rgba(255,255,255,.5),\n -8rpx -8rpx 12rpx 0 rgba(116, 125, 136, .2), \n inset -8rpx -8rpx 12rpx 0 rgba(255,255,255,.5),\n inset 8rpx 8rpx 12rpx 0 rgba(116, 125, 136, .3);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n color: #fff;\n}\n\nbutton:hover::after {\n transform: scale(2) rotate(180deg);\n background: #000;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 8rpx 8rpx 12rpx 0 rgba(255,255,255,.5),\n -8rpx -8rpx 12rpx 0 rgba(116, 125, 136, .2), \n inset -8rpx -8rpx 12rpx 0 rgba(255,255,255,.5),\n inset 8rpx 8rpx 12rpx 0 rgba(116, 125, 136, .3);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n", "component_name": "GalaxyFatRabbit79" }, "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": 1194, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:37.234Z", "updated_at": "2025-07-31T07:55:37.234Z" }