UNPKG

galaxy-uniapp-mcp-server

Version:

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

119 lines 14.4 kB
{ "id": "0xnihilism_quiet-dog-6", "name": "quiet-dog-6", "category": "buttons", "author": "0xnihilism", "description": "quiet-dog-6 组件 (button, button hover effect, brutalism, template, minimalism, openai, animation, interactive)", "tags": [ "button", "button hover effect", "brutalism", "template", "minimalism", "openai", "animation", "interactive" ], "original": { "html": "<div class=\"button-container\">\n <a href=\"/\" class=\"brutalist-button openai\">\n <div class=\"openai-logo\">\n <svg class=\"openai-icon\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.8956zm16.0993 3.8558L12.5907 8.3829 14.6108 7.2144a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.3927-.6813zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" fill=\"#10A37F\"></path>\n </svg>\n </div>\n <div class=\"button-text\">\n <span>Powered By</span>\n <span>GPT-Omni</span>\n </div>\n </a>\n</div>", "css": "/* From Uiverse.io by 0xnihilism - Tags: button, button hover effect , brutalism, template, minimalism, openai */\n.button-container {\n display: flex;\n justify-content: center;\n gap: 20px; /* Adjust this value to increase or decrease space between buttons */\n padding: 20px;\n}\n\n.brutalist-button {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n border: 3px solid #000000;\n border-radius: 12px;\n padding: 0;\n text-decoration: none;\n color: #000000;\n font-weight: bold;\n position: relative;\n box-shadow: 4px 4px 0px #000000;\n overflow: hidden;\n transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);\n height: 130px;\n width: 130px;\n cursor: pointer;\n}\n\n.brutalist-button.openai {\n background-color: #356854;\n}\n\n.brutalist-button::before {\n content: \"\";\n position: absolute;\n left: 50%;\n bottom: -150%;\n width: 300%;\n height: 300%;\n border-radius: 50%;\n transform: translateX(-50%) scale(0);\n transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);\n z-index: 1;\n}\n\n.brutalist-button.openai::before {\n background-color: #316b58;\n}\n\n.brutalist-button.claude::before {\n background-color: #e3d19c;\n}\n\n.brutalist-button:hover::before {\n transform: translateX(-50%) scale(1);\n}\n\n.brutalist-button:hover {\n transform: translate(-4px, -4px);\n box-shadow: 8px 8px 0px #000000;\n}\n\n.brutalist-button:active {\n transform: translate(2px, 2px);\n box-shadow: 2px 2px 0px #000000;\n}\n\n.openai-logo {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 2;\n width: 90px;\n height: 90px;\n border-radius: 50%;\n transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);\n}\n\n.openai-logo {\n align-items: center;\n justify-content: center;\n background-color: #0f1715; /* OpenAI's green color */\n border-radius: 50%; /* This creates the circular background */\n}\n\n.openai-icon {\n width: 54px;\n height: 54px;\n fill: #ffffff; /* White color for the SVG */\n transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);\n}\n\n@keyframes spin {\n 0% {\n transform: translate(-50%, -50%) rotate(0deg);\n }\n 100% {\n transform: translate(-50%, -50%) rotate(360deg);\n }\n}\n\n.brutalist-button:hover .openai-logo {\n animation: spin 5s linear infinite;\n width: 50px;\n height: 50px;\n top: 28%;\n}\n\n.brutalist-button:hover .openai-icon {\n transform: scale(0.6);\n}\n\n.button-text {\n display: flex;\n flex-direction: column;\n align-items: center;\n line-height: 1.3;\n transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);\n text-align: center;\n opacity: 0;\n transform: translateY(20px);\n z-index: 2;\n position: absolute;\n bottom: 18px;\n left: 0;\n right: 0;\n}\n\n.button-text span:first-child {\n font-size: 13px;\n font-weight: 500;\n margin-bottom: 2px;\n}\n\n.button-text span:last-child {\n font-size: 16px;\n font-weight: 800;\n text-transform: uppercase;\n letter-spacing: 0.8px;\n color: #ffffff;\n}\n\n.brutalist-button:hover .button-text {\n opacity: 1;\n transform: translateY(0);\n}\n\n.brutalist-button.openai:hover .button-text {\n color: #d3d3d3;\n}\n\n.brutalist-button.openai:hover .button-text span:last-child {\n color: #d6cbbf;\n}\n\n@media (hover: hover) and (pointer: fine) {\n .brutalist-button:hover {\n transform: translate(-4px, -4px);\n box-shadow: 8px 8px 0px #000000;\n }\n}", "file_path": "/mnt/persist/workspace/Buttons/0xnihilism_quiet-dog-6.html" }, "uniapp": { "template": "<view class=\"button-container\"></view>\n <navigator href=\"/\" class=\"brutalist-button openai\"></navigator>\n <view class=\"openai-logo\"></view>\n <view class=\"openai-icon\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.8956zm16.0993 3.8558L12.5907 8.3829 14.6108 7.2144a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.3927-.6813zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" fill=\"#10A37F\"></path>\n </svg>\n </div>\n <view class=\"button-text\"></view>\n <text>Powered By</text>\n <text>GPT-Omni</text>\n </div>\n </a>\n</div>", "script": "export default {\n name: 'GalaxyQuietDog6',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by 0xnihilism - Tags: button, button hover effect , brutalism, template, minimalism, openai */\n.button-container {\n display: flex;\n justify-content: center;\n gap: 40rpx; /* Adjust this value to increase or decrease space between buttons */\n padding: 40rpx;\n}\n\n.brutalist-button {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n border: 6rpx solid #000000;\n border-radius: 24rpx;\n padding: 0;\n text-decoration: none;\n color: #000000;\n font-weight: bold;\n position: relative;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 8rpx 8rpx 0rpx #000000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n overflow: hidden;\n transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);\n height: 260rpx;\n width: 260rpx;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.brutalist-button.openai {\n background-color: #356854;\n}\n\n.brutalist-button::before {\n content: \"\";\n position: absolute;\n left: 50%;\n bottom: -150%;\n width: 300%;\n height: 300%;\n border-radius: 50%;\n transform: translateX(-50%) scale(0);\n transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);\n z-index: 1;\n}\n\n.brutalist-button.openai::before {\n background-color: #316b58;\n}\n\n.brutalist-button.claude::before {\n background-color: #e3d19c;\n}\n\n.brutalist-button:hover::before {\n transform: translateX(-50%) scale(1);\n}\n\n.brutalist-button:hover {\n transform: translate(-8rpx, -8rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 16rpx 16rpx 0rpx #000000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.brutalist-button:active {\n transform: translate(4rpx, 4rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 4rpx 4rpx 0rpx #000000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.openai-logo {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 2;\n width: 180rpx;\n height: 180rpx;\n border-radius: 50%;\n transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.openai-logo {\n align-items: center;\n justify-content: center;\n background-color: #0f1715; /* OpenAI's green color */\n border-radius: 50%; /* This creates the circular background */\n}\n\n.openai-icon {\n width: 108rpx;\n height: 108rpx;\n fill: #ffffff; /* White color for the SVG */\n transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);\n}\n\n@keyframes spin {\n 0% {\n transform: translate(-50%, -50%) rotate(0deg);\n }\n 100% {\n transform: translate(-50%, -50%) rotate(360deg);\n }\n}\n\n.brutalist-button:hover .openai-logo {\n animation: spin 5s linear infinite;\n width: 100rpx;\n height: 100rpx;\n top: 28%;\n}\n\n.brutalist-button:hover .openai-icon {\n transform: scale(0.6);\n}\n\n.button-text {\n display: flex;\n flex-direction: column;\n align-items: center;\n line-height: 1.3;\n transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);\n text-align: center;\n opacity: 0;\n transform: translateY(40rpx);\n z-index: 2;\n position: absolute;\n bottom: 36rpx;\n left: 0;\n right: 0;\n}\n\n.button-text span:first-child {\n font-size: 26rpx;\n font-weight: 500;\n margin-bottom: 4rpx;\n}\n\n.button-text span:last-child {\n font-size: 32rpx;\n font-weight: 800;\n text-transform: uppercase;\n letter-spacing: 1.6rpx;\n color: #ffffff;\n}\n\n.brutalist-button:hover .button-text {\n opacity: 1;\n transform: translateY(0);\n}\n\n.brutalist-button.openai:hover .button-text {\n color: #d3d3d3;\n}\n\n.brutalist-button.openai:hover .button-text span:last-child {\n color: #d6cbbf;\n}\n\n@media (hover: hover) and (pointer: fine) {\n .brutalist-button:hover {\n transform: translate(-8rpx, -8rpx);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 16rpx 16rpx 0rpx #000000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n }\n}\n\n", "component_name": "GalaxyQuietDog6" }, "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": "high", "bundle_size": 5272, "render_cost": "high", "memory_usage": "high" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.392Z", "updated_at": "2025-07-31T07:55:32.392Z" }