UNPKG

galaxy-uniapp-mcp-server

Version:

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

118 lines 5.37 kB
{ "id": "vinodjangid07_tidy-ape-69", "name": "tidy-ape-69", "category": "buttons", "author": "vinodjangid07", "description": "tidy-ape-69 组件 (black, notification, button, hover effect, inbox, animation, interactive)", "tags": [ "black", "notification", "button", "hover effect", "inbox", "animation", "interactive" ], "original": { "html": "<button class=\"inbox-btn\">\n <svg viewBox=\"0 0 512 512\" height=\"16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z\"></path>\n </svg>\n <span class=\"msg-count\">99</span>\n</button>", "css": "/* From Uiverse.io by vinodjangid07 - Tags: black, notification, button, hover effect, inbox */\n.inbox-btn {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n border: none;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.082);\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n background-color: #464646;\n cursor: pointer;\n transition: all 0.3s;\n}\n.inbox-btn svg path {\n fill: white;\n}\n.inbox-btn svg {\n height: 17px;\n transition: all 0.3s;\n}\n.msg-count {\n position: absolute;\n top: -5px;\n right: -5px;\n background-color: rgb(255, 255, 255);\n border-radius: 50%;\n font-size: 0.7em;\n color: rgb(0, 0, 0);\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.inbox-btn:hover {\n transform: scale(1.1);\n}", "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_tidy-ape-69.html" }, "uniapp": { "template": "<button class=\"inbox-btn\"></button>\n <view viewBox=\"0 0 512 512\" height=\"16\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z\"></path>\n </svg>\n <text class=\"msg-count\">99</text>\n</button>", "script": "export default {\n name: 'GalaxyTidyApe69',\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: black, notification, button, hover effect, inbox */\n.inbox-btn {\n width: 100rpx;\n height: 100rpx;\n border-radius: 50%;\n border: none;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0rpx 0rpx 40rpx rgba(0, 0, 0, 0.082);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n background-color: #464646;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n transition: all 0.3s;\n}\n.inbox-btn svg path {\n fill: white;\n}\n.inbox-btn svg {\n height: 34rpx;\n transition: all 0.3s;\n}\n.msg-count {\n position: absolute;\n top: -10rpx;\n right: -10rpx;\n background-color: rgb(255, 255, 255);\n border-radius: 50%;\n font-size: 0.7em;\n color: rgb(0, 0, 0);\n width: 40rpx;\n height: 40rpx;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.inbox-btn:hover {\n transform: scale(1.1);\n}\n\n", "component_name": "GalaxyTidyApe69" }, "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": 1252, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:38.289Z", "updated_at": "2025-07-31T07:55:38.289Z" }