UNPKG

galaxy-uniapp-mcp-server

Version:

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

112 lines 5.02 kB
{ "id": "satyamchaudharydev_chatty-chipmunk-42", "name": "chatty-chipmunk-42", "category": "buttons", "author": "satyamchaudharydev", "description": "chatty-chipmunk-42 组件 (button, animation, interactive)", "tags": [ "button", "animation", "interactive" ], "original": { "html": "<button>\n <p>Submit</p>\n</button>", "css": "/* From Uiverse.io by satyamchaudharydev - Tags: button */\nbutton {\n border: none;\n width: 140px;\n height: 55px;\n color: #fff;\n font-family: \"Arial\";\n letter-spacing: 1.2px;\n font-weight: bold;\n z-index: 1;\n display: flex;\n background: #000;\n position: relative;\n}\n\nbutton p {\n margin: 0 auto;\n align-self: center;\n font-size: 1.5em;\n text-align: center;\n}\n\nbutton::after, button::before {\n position: absolute;\n content: \"\";\n width: 100%;\n z-index: -1;\n height: 10%;\n clip-path: polygon(0% 74%, 4% 75%, 8% 76%, 11% 77%, 15% 78%, 20% 78%, 25% 77%, 32% 77%, 37% 75%, 40% 74%, 43% 74%, 46% 73%, 52% 72%, 57% 72%, 65% 74%, 66% 75%, 71% 78%, 75% 82%, 81% 86%, 83% 88%, 88% 91%, 90% 94%, 94% 96%, 98% 98%, 100% 100%, 82% 100%, 0 100%);\n background: #97c45d;\n transition: 0.2s cubic-bezier(.02,.02,.23,.73);\n}\n\nbutton::after {\n bottom: 0;\n}\n\nbutton::before {\n transform: rotate(180deg);\n}\n\nbutton:hover::after {\n clip-path: path('M0 199.88C8.33 270.71 16.67 306.13 25 306.13C37.5 306.13 35.91 231.4 50 231.13C64.09 230.85 62.5 284.25 75 284.25C87.5 284.25 87.17 208.05 100 212.38C112.83 216.7 112.71 300.8 125 300.47C137.29 300.13 137.76 239.04 150.48 237.38C163.19 235.71 162.16 293.63 174.54 293.63C182.79 293.63 191.28 262.38 200 199.88L200 0.13L0 0.13L0 199.88Z');\n height: 30%;\n}\n\nbutton:hover::before {\n clip-path: path('M0 199.88C8.33 270.71 16.67 306.13 25 306.13C37.5 306.13 35.91 231.4 50 231.13C64.09 230.85 62.5 284.25 75 284.25C87.5 284.25 87.17 208.05 100 212.38C112.83 216.7 112.71 300.8 125 300.47C137.29 300.13 137.76 239.04 150.48 237.38C163.19 235.71 162.16 293.63 174.54 293.63C182.79 293.63 191.28 262.38 200 199.88L200 0.13L0 0.13L0 199.88Z');\n height: 100%;\n}", "file_path": "/mnt/persist/workspace/Buttons/satyamchaudharydev_chatty-chipmunk-42.html" }, "uniapp": { "template": "<button></button>\n <text>Submit</text>\n</button>", "script": "export default {\n name: 'GalaxyChattyChipmunk42',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by satyamchaudharydev - Tags: button */\nbutton {\n border: none;\n width: 280rpx;\n height: 110rpx;\n color: #fff;\n font-family: \"Arial\";\n letter-spacing: 2.4rpx;\n font-weight: bold;\n z-index: 1;\n display: flex;\n background: #000;\n position: relative;\n}\n\nbutton p {\n margin: 0 auto;\n align-self: center;\n font-size: 1.5em;\n text-align: center;\n}\n\nbutton::after, button::before {\n position: absolute;\n content: \"\";\n width: 100%;\n z-index: -1;\n height: 10%;\n \n background: #97c45d;\n transition: 0.2s cubic-bezier(.02,.02,.23,.73);\n}\n\nbutton::after {\n bottom: 0;\n}\n\nbutton::before {\n transform: rotate(180deg);\n}\n\nbutton:hover::after {\n \n height: 30%;\n}\n\nbutton:hover::before {\n \n height: 100%;\n}\n\n", "component_name": "GalaxyChattyChipmunk42" }, "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": [ "不支持 clip-path 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 clip-path 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "medium", "bundle_size": 1714, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:37.746Z", "updated_at": "2025-07-31T07:55:37.746Z" }