UNPKG

galaxy-uniapp-mcp-server

Version:

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

114 lines 13.5 kB
{ "id": "HauNTH_dull-donkey-56", "name": "dull-donkey-56", "category": "buttons", "author": "HauNTH", "description": "dull-donkey-56 组件 (social, social media, social lincks, animation, interactive)", "tags": [ "social", "social media", "social lincks", "animation", "interactive" ], "original": { "html": "<ul class=\"social\">\n <li class=\"social-item\">\n <a class=\"social-link\" href=\"/\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M9.19795 21.5H13.198V13.4901H16.8021L17.198 9.50977H13.198V7.5C13.198 6.94772 13.6457 6.5 14.198 6.5H17.198V2.5H14.198C11.4365 2.5 9.19795 4.73858 9.19795 7.5V9.50977H7.19795L6.80206 13.4901H9.19795V21.5Z\" fill=\"currentColor\"></path>\n </svg>\n </a>\n </li>\n <li class=\"social-item\">\n <a class=\"social-link\" href=\"/\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8 3C9.10457 3 10 3.89543 10 5V8H16C17.1046 8 18 8.89543 18 10C18 11.1046 17.1046 12 16 12H10V14C10 15.6569 11.3431 17 13 17H16C17.1046 17 18 17.8954 18 19C18 20.1046 17.1046 21 16 21H13C9.13401 21 6 17.866 6 14V5C6 3.89543 6.89543 3 8 3Z\" fill=\"currentColor\"></path>\n </svg>\n </a>\n </li>\n <li class=\"social-item\">\n <a class=\"social-link\" href=\"/\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M6 12C6 15.3137 8.68629 18 12 18C14.6124 18 16.8349 16.3304 17.6586 14H12V10H21.8047V14H21.8C20.8734 18.5645 16.8379 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C15.445 2 18.4831 3.742 20.2815 6.39318L17.0039 8.68815C15.9296 7.06812 14.0895 6 12 6C8.68629 6 6 8.68629 6 12Z\" fill=\"currentColor\"></path>\n </svg>\n </a>\n </li>\n <li class=\"social-item\">\n <a class=\"social-link\" href=\"/\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 7C9.23858 7 7 9.23858 7 12C7 14.7614 9.23858 17 12 17C14.7614 17 17 14.7614 17 12C17 9.23858 14.7614 7 12 7ZM9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12Z\" fill=\"currentColor\"></path>\n <path d=\"M18 5C17.4477 5 17 5.44772 17 6C17 6.55228 17.4477 7 18 7C18.5523 7 19 6.55228 19 6C19 5.44772 18.5523 5 18 5Z\" fill=\"currentColor\"></path>\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 1C2.79086 1 1 2.79086 1 5V19C1 21.2091 2.79086 23 5 23H19C21.2091 23 23 21.2091 23 19V5C23 2.79086 21.2091 1 19 1H5ZM19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3Z\" fill=\"currentColor\"></path>\n </svg>\n </a>\n </li>\n</ul>", "css": "/* From Uiverse.io by HauNTH - Source: https://www.youtube.com/@OnlineTutorialsYT - Tags: social, social media, social lincks */\n.social {\n margin: 0;\n list-style: none;\n padding-left: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n}\n\n.social .social-item {\n margin: 0 30px;\n width: 40px;\n height: 40px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.social .social-item .social-link {\n position: relative;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #fff;\n text-align: center;\n transform: perspective(1000px) rotate(-30deg) skew(25deg)\n translate(0, 0);\n transition: all 0.4s ease;\n}\n\n.social .social-item .social-link::before {\n content: \"\";\n position: absolute;\n top: 5px;\n left: -10px;\n height: 100%;\n width: 10px;\n background: #b1b1b1;\n transition: all 0.4s ease;\n transform: rotate(0deg) skewY(-45deg);\n}\n\n.social .social-item .social-link::after {\n content: \"\";\n position: absolute;\n top: 40px;\n left: -5px;\n height: 10px;\n width: 100%;\n background: #b1b1b1;\n transition: all 0.4s ease;\n transform: rotate(0deg) skewX(-45deg);\n}\n\n.social .social-item .social-link:hover {\n transform: perspective(1000px) rotate(-30deg) skew(25deg) translate(5px, -5px);\n box-shadow: -20px 20px 10px rgba(0, 0, 0, 0.5);\n}\n\n.social .social-item:nth-child(1) a {\n color: #3b5999;\n}\n\n.social .social-item:nth-child(1):hover a {\n background: #3b5999;\n}\n\n.social .social-item:nth-child(1):hover a::before {\n background: #3b5999;\n}\n\n.social .social-item:nth-child(1):hover a::after {\n background: #3b5999;\n}\n\n.social .social-item:nth-child(2) a {\n color: #55acee;\n}\n\n.social .social-item:nth-child(2):hover a {\n background: #55acee;\n}\n\n.social .social-item:nth-child(2):hover a::before {\n background: #55acee;\n}\n\n.social .social-item:nth-child(2):hover a::after {\n background: #55acee;\n}\n\n.social .social-item:nth-child(3) a {\n color: #dd4b39;\n}\n\n.social .social-item:nth-child(3):hover a {\n background: #dd4b39;\n}\n\n.social .social-item:nth-child(3):hover a::before {\n background: #dd4b39;\n}\n\n.social .social-item:nth-child(3):hover a::after {\n background: #dd4b39;\n}\n\n.social .social-item:nth-child(4) a {\n color: #e4405f;\n}\n\n.social .social-item:nth-child(4):hover a {\n background: #e4405f;\n}\n\n.social .social-item:nth-child(4):hover a::before {\n background: #e4405f;\n}\n\n.social .social-item:nth-child(4):hover a::after {\n background: #e4405f;\n}\n\n.social .social-item .social-link:hover {\n color: #ffffff;\n}", "file_path": "/mnt/persist/workspace/Buttons/HauNTH_dull-donkey-56.html" }, "uniapp": { "template": "<view class=\"social\"></view>\n <view class=\"social-item\"></view>\n <navigator class=\"social-link\" href=\"/\"></navigator>\n <view width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M9.19795 21.5H13.198V13.4901H16.8021L17.198 9.50977H13.198V7.5C13.198 6.94772 13.6457 6.5 14.198 6.5H17.198V2.5H14.198C11.4365 2.5 9.19795 4.73858 9.19795 7.5V9.50977H7.19795L6.80206 13.4901H9.19795V21.5Z\" fill=\"currentColor\"></path>\n </svg>\n </a>\n </li>\n <view class=\"social-item\"></view>\n <navigator class=\"social-link\" href=\"/\"></navigator>\n <view width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8 3C9.10457 3 10 3.89543 10 5V8H16C17.1046 8 18 8.89543 18 10C18 11.1046 17.1046 12 16 12H10V14C10 15.6569 11.3431 17 13 17H16C17.1046 17 18 17.8954 18 19C18 20.1046 17.1046 21 16 21H13C9.13401 21 6 17.866 6 14V5C6 3.89543 6.89543 3 8 3Z\" fill=\"currentColor\"></path>\n </svg>\n </a>\n </li>\n <view class=\"social-item\"></view>\n <navigator class=\"social-link\" href=\"/\"></navigator>\n <view width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M6 12C6 15.3137 8.68629 18 12 18C14.6124 18 16.8349 16.3304 17.6586 14H12V10H21.8047V14H21.8C20.8734 18.5645 16.8379 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C15.445 2 18.4831 3.742 20.2815 6.39318L17.0039 8.68815C15.9296 7.06812 14.0895 6 12 6C8.68629 6 6 8.68629 6 12Z\" fill=\"currentColor\"></path>\n </svg>\n </a>\n </li>\n <view class=\"social-item\"></view>\n <navigator class=\"social-link\" href=\"/\"></navigator>\n <view width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 7C9.23858 7 7 9.23858 7 12C7 14.7614 9.23858 17 12 17C14.7614 17 17 14.7614 17 12C17 9.23858 14.7614 7 12 7ZM9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12Z\" fill=\"currentColor\"></path>\n <path d=\"M18 5C17.4477 5 17 5.44772 17 6C17 6.55228 17.4477 7 18 7C18.5523 7 19 6.55228 19 6C19 5.44772 18.5523 5 18 5Z\" fill=\"currentColor\"></path>\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 1C2.79086 1 1 2.79086 1 5V19C1 21.2091 2.79086 23 5 23H19C21.2091 23 23 21.2091 23 19V5C23 2.79086 21.2091 1 19 1H5ZM19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3Z\" fill=\"currentColor\"></path>\n </svg>\n </a>\n </li>\n</ul>", "script": "export default {\n name: 'GalaxyDullDonkey56',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by HauNTH - Source: https://www.youtube.com/@OnlineTutorialsYT - Tags: social, social media, social lincks */\n.social {\n margin: 0;\n list-style: none;\n padding-left: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n}\n\n.social .social-item {\n margin: 0 60rpx;\n width: 80rpx;\n height: 80rpx;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.social .social-item .social-link {\n position: relative;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #fff;\n text-align: center;\n transform: perspective(2000rpx) rotate(-30deg) skew(25deg)\n translate(0, 0);\n transition: all 0.4s ease;\n}\n\n.social .social-item .social-link::before {\n content: \"\";\n position: absolute;\n top: 10rpx;\n left: -20rpx;\n height: 100%;\n width: 20rpx;\n background: #b1b1b1;\n transition: all 0.4s ease;\n transform: rotate(0deg) skewY(-45deg);\n}\n\n.social .social-item .social-link::after {\n content: \"\";\n position: absolute;\n top: 80rpx;\n left: -10rpx;\n height: 20rpx;\n width: 100%;\n background: #b1b1b1;\n transition: all 0.4s ease;\n transform: rotate(0deg) skewX(-45deg);\n}\n\n.social .social-item .social-link:hover {\n transform: perspective(2000rpx) rotate(-30deg) skew(25deg) translate(10rpx, -10rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: -40rpx 40rpx 20rpx rgba(0, 0, 0, 0.5);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.social .social-item:nth-child(1) a {\n color: #3b5999;\n}\n\n.social .social-item:nth-child(1):hover a {\n background: #3b5999;\n}\n\n.social .social-item:nth-child(1):hover a::before {\n background: #3b5999;\n}\n\n.social .social-item:nth-child(1):hover a::after {\n background: #3b5999;\n}\n\n.social .social-item:nth-child(2) a {\n color: #55acee;\n}\n\n.social .social-item:nth-child(2):hover a {\n background: #55acee;\n}\n\n.social .social-item:nth-child(2):hover a::before {\n background: #55acee;\n}\n\n.social .social-item:nth-child(2):hover a::after {\n background: #55acee;\n}\n\n.social .social-item:nth-child(3) a {\n color: #dd4b39;\n}\n\n.social .social-item:nth-child(3):hover a {\n background: #dd4b39;\n}\n\n.social .social-item:nth-child(3):hover a::before {\n background: #dd4b39;\n}\n\n.social .social-item:nth-child(3):hover a::after {\n background: #dd4b39;\n}\n\n.social .social-item:nth-child(4) a {\n color: #e4405f;\n}\n\n.social .social-item:nth-child(4):hover a {\n background: #e4405f;\n}\n\n.social .social-item:nth-child(4):hover a::before {\n background: #e4405f;\n}\n\n.social .social-item:nth-child(4):hover a::after {\n background: #e4405f;\n}\n\n.social .social-item .social-link:hover {\n color: #ffffff;\n}\n\n\n", "component_name": "GalaxyDullDonkey56" }, "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 属性" ], "alternatives": [] }, "mp-alipay": { "supported": true, "issues": [ "不支持 box-shadow 属性" ], "alternatives": [] }, "app-plus": { "supported": true, "issues": [], "alternatives": [] } }, "performance": { "complexity": "high", "bundle_size": 5093, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:33.314Z", "updated_at": "2025-07-31T07:55:33.314Z" }