UNPKG

galaxy-uniapp-mcp-server

Version:

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

116 lines 5.56 kB
{ "id": "vinodjangid07_calm-bobcat-18", "name": "calm-bobcat-18", "category": "buttons", "author": "vinodjangid07", "description": "calm-bobcat-18 组件 (facebook, button, hover effect, animation, interactive)", "tags": [ "facebook", "button", "hover effect", "animation", "interactive" ], "original": { "html": "<button class=\"button\">\n</button>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: facebook, button, hover effect */\n.button {\n width: 45px;\n height: 45px;\n background-color: #3b5998;\n border: none;\n border-radius: 50%;\n position: relative;\n z-index: 1;\n overflow: hidden;\n box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.185),\n 0px 3px 3px rgba(255, 255, 255, 0.178) inset,\n 0px -3px 3px rgba(0, 0, 0, 0.281) inset;\n transition: all .3s;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n padding-bottom: 3px;\n}\n\n.button::before {\n background-color: transparent;\n content: \"f\";\n font-size: 1.6em;\n font-weight: 700;\n color: white;\n z-index: 5;\n transition: all .3s;\n font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;\n}\n\n.button::after {\n content: \"acebook\";\n background-color: transparent;\n font-size: 0;\n opacity: 0;\n font-weight: 700;\n color: white;\n z-index: 5;\n transition: all .3s;\n transform: translateX(60px);\n font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;\n}\n\n.button:hover {\n width: 160px;\n border-radius: 30px;\n}\n\n.button:hover::after {\n opacity: 1;\n font-size: 1.6em;\n transform: translateX(0px);\n}\n\n.button:hover .shine {\n transform: translate(-70px ,10px);\n}", "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_calm-bobcat-18.html" }, "uniapp": { "template": "<button class=\"button\"></button>\n</button>", "script": "export default {\n name: 'GalaxyCalmBobcat18',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by vinodjangid07 - Tags: facebook, button, hover effect */\n.button {\n width: 90rpx;\n height: 90rpx;\n background-color: #3b5998;\n border: none;\n border-radius: 50%;\n position: relative;\n z-index: 1;\n overflow: hidden;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 20rpx rgba(0, 0, 0, 0.185),\n 0rpx 6rpx 6rpx rgba(255, 255, 255, 0.178) inset,\n 0rpx -6rpx 6rpx rgba(0, 0, 0, 0.281) inset;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: all .3s;\n display: flex;\n align-items: center;\n justify-content: center;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n padding-bottom: 6rpx;\n}\n\n.button::before {\n background-color: transparent;\n content: \"f\";\n font-size: 1.6em;\n font-weight: 700;\n color: white;\n z-index: 5;\n transition: all .3s;\n font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;\n}\n\n.button::after {\n content: \"acebook\";\n background-color: transparent;\n font-size: 0;\n opacity: 0;\n font-weight: 700;\n color: white;\n z-index: 5;\n transition: all .3s;\n transform: translateX(120rpx);\n font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;\n}\n\n.button:hover {\n width: 320rpx;\n border-radius: 60rpx;\n}\n\n.button:hover::after {\n opacity: 1;\n font-size: 1.6em;\n transform: translateX(0rpx);\n}\n\n.button:hover .shine {\n transform: translate(-140rpx ,20rpx);\n}\n", "component_name": "GalaxyCalmBobcat18" }, "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": 1347, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.061Z", "updated_at": "2025-07-31T07:55:38.061Z" }