galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
119 lines • 8.82 kB
JSON
{
"id": "joe-herbert_quick-jellyfish-81",
"name": "quick-jellyfish-81",
"category": "buttons",
"author": "joe-herbert",
"description": "quick-jellyfish-81 组件 (animation, button, hover, challenge, gradient, interactive)",
"tags": [
"animation",
"button",
"hover",
"challenge",
"gradient",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <div class=\"button-inner-wrap\">\n <div class=\"button-content\">\n <svg id=\"svg1\" version=\"1.1\" fill=\"none\" viewBox=\"0 0 17.191999 17.915001\" height=\"17.915001\" width=\"17.191999\">\n <path id=\"path1\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"1.5\" stroke=\"#000000\" d=\"M 9.3223611,8.9119975 H 3.5673455 m -0.17238,0.7972 -1.3313244,3.0014005 c -0.8349111,2.493962 0.031033,4.403741 3.26073,2.9505 l 8.8532949,-4.5605 c 1.64001,-0.785228 1.659708,-3.5011752 0,-4.3772505 l -8.8707749,-4.56832 c -2.6423685,-1.18905255 -4.1290723,0.3343707 -3.26268,2.94464 l 1.3527044,3.09163 c 0.0935,0.2817 0.14026,0.4226 0.15871,0.5666 0.01638,0.1279 0.01621,0.2573 -4.9e-4,0.3851 -0.01883,0.144 -0.06594,0.2847 -0.16017,0.5662 z\"></path>\n </svg>\n\n <span>Send Message</span>\n </div>\n </div>\n</button>",
"css": "/* From Uiverse.io by joe-herbert - Tags: animation, button, hover, challenge */\n.button {\n cursor: pointer;\n padding: 20px 15px;\n font-weight: 600;\n font-size: 17px;\n font-family: sans-serif;\n border-radius: 15px;\n position: relative;\n background-clip: padding-box;\n border: solid 3px transparent;\n width: 185px;\n height: 65px;\n box-shadow: 5px 5px 20px -5px #aaa;\n transition: transform 0.3s;\n}\n.button span {\n transition: opacity 0.3s 0.3s;\n margin-left: 5px;\n}\n.button:before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1;\n margin: -3px;\n border-radius: inherit;\n background: linear-gradient(to bottom, #ccc, #666);\n}\n.button:after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: linear-gradient(to bottom, #eee, #ddd);\n border-radius: 15px;\n}\n.button-content {\n position: absolute;\n top: 50%;\n left: 0;\n right: 0;\n z-index: 1;\n transform: translateY(-50%);\n}\n.button-content:before {\n content: \"\";\n position: absolute;\n z-index: -1;\n top: calc(-50% - 2.5px);\n right: 5px;\n bottom: 5px;\n left: 5px;\n background: linear-gradient(to bottom, #dfdfdf, #efefef);\n border-radius: 500px;\n height: 50px;\n transition: opacity 0.3s 0.3s;\n filter: blur(1px);\n}\n.button svg {\n position: relative;\n left: 0;\n width: 20px;\n transform: rotate(-45deg);\n transition: left 0.3s 0s, transform 0.3s 0s;\n}\n\n.button:hover .button-content:before,\n.button:hover span {\n opacity: 0;\n transition: opacity 0.3s;\n}\n.button:hover svg {\n transition: left 0.6s 0.3s, transform 0.6s 0.3s;\n left: calc(50% - 17.5px);\n transform: translate(-50%, 2px) rotate(270deg) scale(1.5);\n}\n.button:active {\n transform: scale(0.9);\n}\n.button:active svg {\n animation: spin 0.4s ease-in-out 0.3s 1;\n}\n\n@keyframes spin {\n from {\n transform: translate(-50%, 2px) rotate(270deg) scale(1.5);\n }\n to {\n transform: translate(-50%, 2px) rotate(630deg) scale(1.5);\n }\n}",
"file_path": "/mnt/persist/workspace/Buttons/joe-herbert_quick-jellyfish-81.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <view class=\"button-inner-wrap\"></view>\n <view class=\"button-content\"></view>\n <view id=\"svg1\" version=\"1.1\" fill=\"none\" viewBox=\"0 0 17.191999 17.915001\" height=\"17.915001\" width=\"17.191999\"></view>\n <path id=\"path1\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke-width=\"1.5\" stroke=\"#000000\" d=\"M 9.3223611,8.9119975 H 3.5673455 m -0.17238,0.7972 -1.3313244,3.0014005 c -0.8349111,2.493962 0.031033,4.403741 3.26073,2.9505 l 8.8532949,-4.5605 c 1.64001,-0.785228 1.659708,-3.5011752 0,-4.3772505 l -8.8707749,-4.56832 c -2.6423685,-1.18905255 -4.1290723,0.3343707 -3.26268,2.94464 l 1.3527044,3.09163 c 0.0935,0.2817 0.14026,0.4226 0.15871,0.5666 0.01638,0.1279 0.01621,0.2573 -4.9e-4,0.3851 -0.01883,0.144 -0.06594,0.2847 -0.16017,0.5662 z\"></path>\n </svg>\n\n <text>Send Message</text>\n </div>\n </div>\n</button>",
"script": "export default {\n name: 'GalaxyQuickJellyfish81',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by joe-herbert - Tags: animation, button, hover, challenge */\n.button {\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n padding: 40rpx 30rpx;\n font-weight: 600;\n font-size: 34rpx;\n font-family: sans-serif;\n border-radius: 30rpx;\n position: relative;\n background-clip: padding-box;\n border: solid 6rpx transparent;\n width: 370rpx;\n height: 130rpx;\n /* #ifdef H5 */\n /* #ifdef H5 */\n box-shadow: 10rpx 10rpx 40rpx -10rpx #aaa;\n /* #endif */\n /* #ifdef MP */\n border: 1rpx solid rgba(0,0,0,0.1);\n /* #endif */\n /* #endif */\n transition: transform 0.3s;\n}\n.button span {\n transition: opacity 0.3s 0.3s;\n margin-left: 10rpx;\n}\n.button:before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1;\n margin: -6rpx;\n border-radius: inherit;\n background: linear-gradient(to bottom, #ccc, #666);\n}\n.button:after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: linear-gradient(to bottom, #eee, #ddd);\n border-radius: 30rpx;\n}\n.button-content {\n position: absolute;\n top: 50%;\n left: 0;\n right: 0;\n z-index: 1;\n transform: translateY(-50%);\n}\n.button-content:before {\n content: \"\";\n position: absolute;\n z-index: -1;\n top: calc(-50% - 5rpx);\n right: 10rpx;\n bottom: 10rpx;\n left: 10rpx;\n background: linear-gradient(to bottom, #dfdfdf, #efefef);\n border-radius: 1000rpx;\n height: 100rpx;\n transition: opacity 0.3s 0.3s;\n \n}\n.button svg {\n position: relative;\n left: 0;\n width: 40rpx;\n transform: rotate(-45deg);\n transition: left 0.3s 0s, transform 0.3s 0s;\n}\n\n.button:hover .button-content:before,\n.button:hover span {\n opacity: 0;\n transition: opacity 0.3s;\n}\n.button:hover svg {\n transition: left 0.6s 0.3s, transform 0.6s 0.3s;\n left: calc(50% - 35rpx);\n transform: translate(-50%, 4rpx) rotate(270deg) scale(1.5);\n}\n.button:active {\n transform: scale(0.9);\n}\n.button:active svg {\n animation: spin 0.4s ease-in-out 0.3s 1;\n}\n\n@keyframes spin {\n from {\n transform: translate(-50%, 4rpx) rotate(270deg) scale(1.5);\n }\n to {\n transform: translate(-50%, 4rpx) rotate(630deg) scale(1.5);\n }\n}\n\n",
"component_name": "GalaxyQuickJellyfish81"
},
"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 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [
"不支持 box-shadow 属性",
"不支持 filter 属性",
"不支持 cursor 属性"
],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 2843,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:37.017Z",
"updated_at": "2025-07-31T07:55:37.017Z"
}