galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
121 lines • 14.4 kB
JSON
{
"id": "0xnihilism_pretty-fireant-33",
"name": "pretty-fireant-33",
"category": "buttons",
"author": "0xnihilism",
"description": "pretty-fireant-33 组件 (button, button hover effect, brutalism, minimalism, openai, animation, gradient, interactive)",
"tags": [
"button",
"button hover effect",
"brutalism",
"minimalism",
"openai",
"animation",
"gradient",
"interactive"
],
"original": {
"html": "<div class=\"button-container\">\n <a href=\"/\" class=\"brutalist-button openai button-1\">\n <div class=\"openai-logo\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" class=\"openai-icon\">\n <path fill=\"#10A37F\" 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\"></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, minimalism, openai */\n.button-container {\n display: flex;\n justify-content: center;\n gap: 20px;\n}\n\n/* Common styles for both buttons */\n.brutalist-button {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 142px;\n height: 142px;\n color: #e5dede;\n font-weight: bold;\n text-decoration: none;\n position: relative;\n cursor: pointer;\n overflow: hidden;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n}\n\n/* Styles for the first button */\n.button-1 {\n background-color: #063525;\n border: 3px solid #42c498;\n border-radius: 12px;\n box-shadow: 4px 4px 1px #000000;\n}\n\n.button-1:hover {\n background-color: #1a5c46;\n border-color: #030504;\n transform: translate(-6px, -6px) rotate(1deg);\n box-shadow: 10px 10px 0 #000000, 15px 15px 20px rgba(64, 164, 122, 0.2);\n}\n\n.button-1::before,\n.button-1::after {\n content: \"\";\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(\n 90deg,\n transparent,\n rgba(255, 255, 255, 0.1),\n transparent\n );\n transition: 0.6s;\n}\n\n.button-1::before {\n left: -100%;\n}\n.button-1::after {\n left: 100%;\n}\n\n.button-1:hover::before {\n animation: swipeRight 1.5s infinite;\n}\n.button-1:hover::after {\n animation: swipeLeft 1.5s infinite;\n}\n\n@keyframes swipeRight {\n 100% {\n transform: translateX(200%) skew(-45deg);\n }\n}\n\n@keyframes swipeLeft {\n 100% {\n transform: translateX(-200%) skew(-45deg);\n }\n}\n\n/* Hover effects */\n.brutalist-button:hover .openai-logo {\n transform: translateY(-10px);\n}\n\n.brutalist-button:hover .openai-icon {\n width: 40px;\n height: 40px;\n}\n\n.bruta.brutalist-button:hover .openai-text {\n opacity: 1;\n max-height: 60px;\n margin-top: 8px;\n}\n\n/* Styles for the OpenAI logo and text */\n.openai-logo {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n z-index: 3;\n}\n\n.openai-icon {\n width: 64px;\n height: 64px;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n}\n\n.openai-text {\n font-size: 24px;\n letter-spacing: 0.5px;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n opacity: 0;\n max-height: 0;\n overflow: hidden;\n}\n\n.button-text {\n display: flex;\n flex-direction: column;\n align-items: center;\n line-height: 1.2;\n text-align: center;\n opacity: 0;\n max-height: 0;\n overflow: hidden;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n z-index: 3;\n}\n\n.button-text span:first-child {\n font-size: 12px;\n font-weight: normal;\n}\n\n.button-text span:last-child {\n font-size: 16px;\n}\n\n/* Hover effects */\n.brutalist-button:hover .openai-logo {\n transform: translateY(-10px);\n}\n\n.brutalist-button:hover .openai-icon {\n width: 40px;\n height: 40px;\n}\n\n.brutalist-button:hover .button-text,\n.brutalist-button:hover .openai-text {\n opacity: 1;\n max-height: 60px;\n margin-top: 8px;\n}\n\n/* Animation for the OpenAI logo */\n@keyframes spin-and-zoom {\n 0% {\n transform: rotate(0deg) scale(1);\n }\n 50% {\n transform: rotate(180deg) scale(1.1);\n }\n 100% {\n transform: rotate(360deg) scale(1);\n }\n}\n\n.brutalist-button:hover .openai-icon {\n animation: spin-and-zoom 4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;\n}\n\n.brutalist-button:hover .openai-text {\n text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);\n}\n\n.brutalist-button:active .openai-icon,\n.brutalist-button:active .openai-text,\n.brutalist-button:active .button-text {\n transform: scale(0.95);\n}",
"file_path": "/mnt/persist/workspace/Buttons/0xnihilism_pretty-fireant-33.html"
},
"uniapp": {
"template": "<view class=\"button-container\"></view>\n <navigator href=\"/\" class=\"brutalist-button openai button-1\"></navigator>\n <view class=\"openai-logo\"></view>\n <view xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" class=\"openai-icon\"></view>\n <path fill=\"#10A37F\" 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\"></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: 'GalaxyPrettyFireant33',\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, minimalism, openai */\n.button-container {\n display: flex;\n justify-content: center;\n gap: 40rpx;\n}\n\n/* Common styles for both buttons */\n.brutalist-button {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 284rpx;\n height: 284rpx;\n color: #e5dede;\n font-weight: bold;\n text-decoration: none;\n position: relative;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n overflow: hidden;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n}\n\n/* Styles for the first button */\n.button-1 {\n background-color: #063525;\n border: 6rpx solid #42c498;\n border-radius: 24rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 8rpx 8rpx 2rpx #000000;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button-1:hover {\n background-color: #1a5c46;\n border-color: #030504;\n transform: translate(-12rpx, -12rpx) rotate(1deg);\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 20rpx 20rpx 0 #000000, 30rpx 30rpx 40rpx rgba(64, 164, 122, 0.2);\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n}\n\n.button-1::before,\n.button-1::after {\n content: \"\";\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(\n 90deg,\n transparent,\n rgba(255, 255, 255, 0.1),\n transparent\n );\n transition: 0.6s;\n}\n\n.button-1::before {\n left: -100%;\n}\n.button-1::after {\n left: 100%;\n}\n\n.button-1:hover::before {\n animation: swipeRight 1.5s infinite;\n}\n.button-1:hover::after {\n animation: swipeLeft 1.5s infinite;\n}\n\n@keyframes swipeRight {\n 100% {\n transform: translateX(200%) skew(-45deg);\n }\n}\n\n@keyframes swipeLeft {\n 100% {\n transform: translateX(-200%) skew(-45deg);\n }\n}\n\n/* Hover effects */\n.brutalist-button:hover .openai-logo {\n transform: translateY(-20rpx);\n}\n\n.brutalist-button:hover .openai-icon {\n width: 80rpx;\n height: 80rpx;\n}\n\n.bruta.brutalist-button:hover .openai-text {\n opacity: 1;\n max-height: 120rpx;\n margin-top: 16rpx;\n}\n\n/* Styles for the OpenAI logo and text */\n.openai-logo {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n z-index: 3;\n}\n\n.openai-icon {\n width: 128rpx;\n height: 128rpx;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n}\n\n.openai-text {\n font-size: 48rpx;\n letter-spacing: 1rpx;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n opacity: 0;\n max-height: 0;\n overflow: hidden;\n}\n\n.button-text {\n display: flex;\n flex-direction: column;\n align-items: center;\n line-height: 1.2;\n text-align: center;\n opacity: 0;\n max-height: 0;\n overflow: hidden;\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n z-index: 3;\n}\n\n.button-text span:first-child {\n font-size: 24rpx;\n font-weight: normal;\n}\n\n.button-text span:last-child {\n font-size: 32rpx;\n}\n\n/* Hover effects */\n.brutalist-button:hover .openai-logo {\n transform: translateY(-20rpx);\n}\n\n.brutalist-button:hover .openai-icon {\n width: 80rpx;\n height: 80rpx;\n}\n\n.brutalist-button:hover .button-text,\n.brutalist-button:hover .openai-text {\n opacity: 1;\n max-height: 120rpx;\n margin-top: 16rpx;\n}\n\n/* Animation for the OpenAI logo */\n@keyframes spin-and-zoom {\n 0% {\n transform: rotate(0deg) scale(1);\n }\n 50% {\n transform: rotate(180deg) scale(1.1);\n }\n 100% {\n transform: rotate(360deg) scale(1);\n }\n}\n\n.brutalist-button:hover .openai-icon {\n animation: spin-and-zoom 4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;\n}\n\n.brutalist-button:hover .openai-text {\n /* #ifdef H5 */\n text-shadow: 4rpx 4rpx 8rpx rgba(0, 0, 0, 0.3);\n /* #endif */\n}\n\n.brutalist-button:active .openai-icon,\n.brutalist-button:active .openai-text,\n.brutalist-button:active .button-text {\n transform: scale(0.95);\n}\n\n",
"component_name": "GalaxyPrettyFireant33"
},
"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 属性",
"不支持 text-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 text-shadow 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "high",
"bundle_size": 5420,
"render_cost": "high",
"memory_usage": "high"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.382Z",
"updated_at": "2025-07-31T07:55:32.382Z"
}